Guest User

Untitled

a guest
Jul 31st, 2021
20
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sub_76D4F0 proc near ; CODE XREF: sub_777A60+1F↓p
  2. .text:0076D4F0
  3. .text:0076D4F0 var_B70= qword ptr -0B70h
  4. .text:0076D4F0 var_B68= qword ptr -0B68h
  5. .text:0076D4F0 var_B58= dword ptr -0B58h
  6. .text:0076D4F0 var_B54= dword ptr -0B54h
  7. .text:0076D4F0 var_B50= qword ptr -0B50h
  8. .text:0076D4F0 var_B48= qword ptr -0B48h
  9. .text:0076D4F0 var_B40= dword ptr -0B40h
  10. .text:0076D4F0 var_B3C= dword ptr -0B3Ch
  11. .text:0076D4F0 var_B38= dword ptr -0B38h
  12. .text:0076D4F0 var_738= byte ptr -738h
  13. .text:0076D4F0 var_72C= dword ptr -72Ch
  14. .text:0076D4F0 var_608= word ptr -608h
  15. .text:0076D4F0 var_408= word ptr -408h
  16. .text:0076D4F0 var_208= word ptr -208h
  17. .text:0076D4F0 var_4= dword ptr -4
  18. .text:0076D4F0 arg_0= dword ptr 8
  19. .text:0076D4F0
  20. .text:0076D4F0 push ebp
  21. .text:0076D4F1 mov ebp, esp
  22. .text:0076D4F3 and esp, 0FFFFFFF8h
  23. .text:0076D4F6 sub esp, 0B58h
  24. .text:0076D4FC mov eax, dword_857A00
  25. .text:0076D501 push ebx
  26. .text:0076D502 push esi
  27. .text:0076D503 lea edx, [esp+0B60h+var_738]
  28. .text:0076D50A mov [esp+0B60h+var_4], eax
  29. .text:0076D511 mov eax, [ebp+arg_0]
  30. .text:0076D514 mov ecx, [eax]
  31. .text:0076D516 push edx
  32. .text:0076D517 push eax
  33. .text:0076D518 call dword ptr [ecx+1Ch]
  34. .text:0076D51B test [esp+0B60h+var_72C], 20000h
  35. .text:0076D526 jz loc_76D88A
  36. .text:0076D52C mov eax, dword_19BA9E8
  37. .text:0076D531 fld dword ptr [eax+28h]
  38. .text:0076D534 fadd ds:flt_8064CC
  39. .text:0076D53A fstp dword ptr [esp+0B60h+var_B50]
  40. .text:0076D53E fld dword ptr [eax+2Ch]
  41. .text:0076D541 fadd ds:flt_8064CC
  42. .text:0076D547 fstp dword ptr [esp+0B60h+var_B48]
  43. .text:0076D54B fld dword ptr [eax+30h]
  44. .text:0076D54E fadd ds:flt_8064CC
  45. .text:0076D554 fstp dword ptr [esp+0B60h+var_B50+4]
  46. .text:0076D558 fld dword ptr [esp+0B60h+var_B50]
  47. .text:0076D55C fmul ds:flt_806870
  48. .text:0076D562 fld ds:flt_808164
  49. .text:0076D568 fsub ds:flt_805738
  50. .text:0076D56E fdiv ds:flt_80689C
  51. .text:0076D574 fmulp st(1), st
  52. .text:0076D576 fadd ds:flt_805738
  53. .text:0076D57C fstp dword ptr [esp+0B60h+var_B50]
  54. .text:0076D580 fld dword ptr [esp+0B60h+var_B48]
  55. .text:0076D584 fmul ds:flt_806870
  56. .text:0076D58A fmul ds:flt_806754
  57. .text:0076D590 fadd ds:flt_8064E8
  58. .text:0076D596 fstp dword ptr [esp+0B60h+var_B48]
  59. .text:0076D59A fld dword ptr [esp+0B60h+var_B50+4]
  60. .text:0076D59E fmul ds:flt_806870
  61. .text:0076D5A4 fmul ds:flt_806754
  62. .text:0076D5AA fadd ds:flt_8064E8
  63. .text:0076D5B0 fstp dword ptr [esp+0B60h+var_B50+4]
  64. .text:0076D5B4 cmp dword ptr [esp+0B60h+var_B50+4], 3F800000h
  65. .text:0076D5BC jnz short loc_76D5C6
  66. .text:0076D5BE mov dword ptr [esp+0B60h+var_B50+4], 3F8147AEh
  67. .text:0076D5C6
  68. .text:0076D5C6 loc_76D5C6: ; CODE XREF: sub_76D4F0+CC↑j
  69. .text:0076D5C6 xor ebx, ebx
  70. .text:0076D5C8 xor eax, eax
  71. .text:0076D5CA mov [esp+0B60h+var_B54], eax
  72. .text:0076D5CE mov edi, edi
  73. .text:0076D5D0
  74. .text:0076D5D0 loc_76D5D0: ; CODE XREF: sub_76D4F0+F2↓j
  75. .text:0076D5D0 fild [esp+0B60h+var_B54]
  76. .text:0076D5D4 inc eax
  77. .text:0076D5D5 cmp eax, 100h
  78. .text:0076D5DA mov [esp+0B60h+var_B54], eax
  79. .text:0076D5DE fstp [esp+eax*4+0B60h+var_B3C]
  80. .text:0076D5E2 jl short loc_76D5D0
  81. .text:0076D5E4 fld ds:flt_8064CC
  82. .text:0076D5EA xor esi, esi
  83. .text:0076D5EC fdiv dword ptr [esp+0B60h+var_B50]
  84. .text:0076D5F0 fstp [esp+0B60h+var_B54]
  85. .text:0076D5F4 fld [esp+0B60h+var_B54]
  86. .text:0076D5F8 fstp qword ptr [esp+20h]
  87. .text:0076D5FC lea esp, [esp+0]
  88. .text:0076D600
  89. .text:0076D600 loc_76D600: ; CODE XREF: sub_76D4F0+191↓j
  90. .text:0076D600 fld [esp+esi*4+0B60h+var_B38]
  91. .text:0076D604 sub esp, 10h
  92. .text:0076D607 fmul ds:flt_80BD34
  93. .text:0076D60D fstp [esp+0B70h+var_B54]
  94. .text:0076D611 fld qword ptr [esp+30h]
  95. .text:0076D615 fstp [esp+0B70h+var_B68] ; double
  96. .text:0076D619 fld [esp+0B70h+var_B54]
  97. .text:0076D61D fstp [esp+0B70h+var_B70] ; double
  98. .text:0076D620 call pow
  99. .text:0076D625 fstp dword ptr [esp+0B70h+var_B50]
  100. .text:0076D629 add esp, 10h
  101. .text:0076D62C fld dword ptr [esp+0B60h+var_B50]
  102. .text:0076D630 fcomp ds:flt_805738
  103. .text:0076D636 fnstsw ax
  104. .text:0076D638 test ah, 5
  105. .text:0076D63B jp short loc_76D643
  106. .text:0076D63D mov dword ptr [esp+0B60h+var_B50], ebx
  107. .text:0076D641 jmp short loc_76D65C
  108. .text:0076D643 ; ---------------------------------------------------------------------------
  109. .text:0076D643
  110. .text:0076D643 loc_76D643: ; CODE XREF: sub_76D4F0+14B↑j
  111. .text:0076D643 fld dword ptr [esp+0B60h+var_B50]
  112. .text:0076D647 fcomp ds:flt_8064CC
  113. .text:0076D64D fnstsw ax
  114. .text:0076D64F test ah, 41h
  115. .text:0076D652 jnz short loc_76D65C
  116. .text:0076D654 mov dword ptr [esp+0B60h+var_B50], 3F800000h
  117. .text:0076D65C
  118. .text:0076D65C loc_76D65C: ; CODE XREF: sub_76D4F0+151↑j
  119. .text:0076D65C ; sub_76D4F0+162↑j
  120. .text:0076D65C fld dword ptr [esp+0B60h+var_B50]
  121. .text:0076D660 fmul ds:flt_80BA3C
  122. .text:0076D666 call __ftol2
  123. .text:0076D66B movzx eax, ax
  124. .text:0076D66E mov [esp+0B60h+var_B54], eax
  125. .text:0076D672 inc esi
  126. .text:0076D673 cmp esi, 100h
  127. .text:0076D679 fild [esp+0B60h+var_B54]
  128. .text:0076D67D fstp [esp+esi*4+0B60h+var_B3C]
  129. .text:0076D681 jl loc_76D600
  130. .text:0076D687 fld flt_84DFB0
  131. .text:0076D68D xor esi, esi
  132. .text:0076D68F fmul dword ptr [esp+0B60h+var_B48]
  133. .text:0076D693 fstp [esp+0B60h+var_B54]
  134. .text:0076D697 fld [esp+0B60h+var_B54]
  135. .text:0076D69B fstp [esp+0B60h+var_B48]
  136. .text:0076D69F nop
  137. .text:0076D6A0
  138. .text:0076D6A0 loc_76D6A0: ; CODE XREF: sub_76D4F0+2AF↓j
  139. .text:0076D6A0 fld [esp+0B60h+var_B48]
  140. .text:0076D6A4 sub esp, 8
  141. .text:0076D6A7 fstp [esp+0B68h+var_B68] ; double
  142. .text:0076D6AA call tan
  143. .text:0076D6AF fadd ds:dbl_806680
  144. .text:0076D6B5 add esp, 8
  145. .text:0076D6B8 fmul ds:dbl_80C1B8
  146. .text:0076D6BE call __ftol2
  147. .text:0076D6C3 mov [esp+0B60h+var_B54], eax
  148. .text:0076D6C7 fild [esp+0B60h+var_B54]
  149. .text:0076D6CB fstp [esp+0B60h+var_B54]
  150. .text:0076D6CF fld [esp+esi*4+0B60h+var_B38]
  151. .text:0076D6D3 fcomp [esp+0B60h+var_B54]
  152. .text:0076D6D7 fnstsw ax
  153. .text:0076D6D9 test ah, 5
  154. .text:0076D6DC jp short loc_76D74C
  155. .text:0076D6DE fld [esp+0B60h+var_B48]
  156. .text:0076D6E2 sub esp, 8
  157. .text:0076D6E5 fstp [esp+0B68h+var_B68] ; double
  158. .text:0076D6E8 call tan
  159. .text:0076D6ED fmul ds:dbl_80C1B8
  160. .text:0076D6F3 add esp, 8
  161. .text:0076D6F6 fsubr ds:dbl_80C1B8
  162. .text:0076D6FC call __ftol2
  163. .text:0076D701 mov [esp+0B60h+var_B54], eax
  164. .text:0076D705 fild [esp+0B60h+var_B54]
  165. .text:0076D709 fstp [esp+0B60h+var_B54]
  166. .text:0076D70D fld [esp+esi*4+0B60h+var_B38]
  167. .text:0076D711 fcomp [esp+0B60h+var_B54]
  168. .text:0076D715 fnstsw ax
  169. .text:0076D717 test ah, 41h
  170. .text:0076D71A jnz short loc_76D74C
  171. .text:0076D71C fld [esp+esi*4+0B60h+var_B38]
  172. .text:0076D720 sub esp, 8
  173. .text:0076D723 fsub ds:flt_807780
  174. .text:0076D729 fstp qword ptr [esp+28h]
  175. .text:0076D72D fld [esp+0B68h+var_B48]
  176. .text:0076D731 fstp [esp+0B68h+var_B68] ; double
  177. .text:0076D734 call tan
  178. .text:0076D739 fdivr qword ptr [esp+28h]
  179. .text:0076D73D add esp, 8
  180. .text:0076D740 fadd ds:dbl_80C1B8
  181. .text:0076D746 fstp [esp+esi*4+0B60h+var_B38]
  182. .text:0076D74A jmp short loc_76D798
  183. .text:0076D74C ; ---------------------------------------------------------------------------
RAW Paste Data