Function at 0x50e430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc8
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x44]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [esp + 0x7c], eax
cmp dword [esi + 0x120], ebx
push edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], ebx
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
je 0x50e487
fld dword [esi + 0x164]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jnp 0x50e492
mov eax, dword [esi + 0x16c]
or eax, 4
jmp 0x50e49b
mov eax, dword [esi + 0x16c]
and eax, 0xfffffffb
mov dword [esi + 0x16c], eax
mov ecx, dword [0x68008c]
mov edx, dword [ecx + 0x1b78]
lea eax, [ecx + 0x1b78]
add ecx, 0x1b7c
mov dword [ecx], edx
mov edx, dword [esp + 0xe4]
push ebp
mov ebp, dword [esp + 0xdc]
cmp ebp, ebx
mov dword [eax], edx
mov eax, dword [ecx]
mov dword [esp + 0x88], eax
je 0x50e4e6
push ebx
push ebx
mov ecx, ebp
call fcn.004d19e0
mov dword [esp + 0x6c], eax
mov dword [esi + 0xb4], ebx
mov ecx, dword [0x680098]
call fcn.004be5c0
fstp dword [esp + 0x50]
mov ecx, dword [0x680098]
call fcn.004be550
fmul dword [esp + 0x50]
push ecx
lea edi, [esi + 0x160]
fstp dword [esp + 0x48]
mov ecx, esi
fld dword [esi + 0x13c]
mov dword [esp + 0x4c], 0
fmul dword [0x5da2d4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
fmul dword [esp + 0x48]
fstp dword [esp]
push edi
call fcn.0050e300
fld dword [esp + 0x44]
fmul dword [edi]
mov ecx, dword [esi + 0x16c]
test ch, 0x10
fld dword [esp + 0x44]
fmul dword [edi + 4]
mov dword [esp + 0x4c], ebx
fld dword [esp + 0x44]
fmul dword [edi + 8]
fstp dword [esp + 0x78]
jne 0x50e8f5
test cl, 1
je 0x50e597
fld dword [esi + 0x118]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e8f5
fld dword [esi + 0x88]
lea edx, [esi + 0x7c]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
mov eax, dword [edx + 4]
fmul st(1)
mov edx, dword [edx + 8]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x1c]
mov dword [esp + 0x24], edx
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e625
fld dword [esp + 0x20]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e625
fld dword [esp + 0x24]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e625
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
mov dword [esp + 0x14], edx
jmp 0x50e661
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fsqrt
fdivr dword [0x5f53f4]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x24]
fld dword [esp + 0x10]
fadd dword [esi + 0x50]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fadd dword [esi + 0x54]
fstp dword [esp + 0x20]
fadd dword [esi + 0x58]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e6c3
fld dword [esp + 0x20]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e6c3
fld dword [esp + 0x24]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e6c3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
jmp 0x50e70f
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fsqrt
fdivr dword [0x5f53f4]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
mov eax, dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fstp st(0)
fld dword [esi + 0x68]
mov edi, dword [esp + 0x10]
fld st(0)
mov dword [esp + 0x30], eax
fmul dword [esi + 0x5c]
mov dword [esp + 0x34], edx
fld st(1)
mov dword [esp + 0x2c], edi
fmul dword [esi + 0x60]
fstp dword [esp + 0x20]
fxch st(1)
fmul dword [esi + 0x64]
fstp dword [esp + 0x24]
fadd dword [esp + 0x10]
fld dword [esp + 0x20]
fadd dword [esp + 0x30]
fld dword [esp + 0x24]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fxch st(1)
fadd dword [esi + 0x6c]
fstp dword [esp + 0x2c]
fadd dword [esi + 0x70]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fadd dword [esi + 0x74]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e7b9
fld dword [esp + 0x30]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e7b9
fld dword [esp + 0x34]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50e7b9
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jmp 0x50e7fd
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fsqrt
fdivr dword [0x5f53f4]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x24]
fstp st(0)
mov eax, dword [esp + 0x20]
fld dword [esi + 0x8c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x28], eax
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
fcomp dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], edx
fnstsw ax
test ah, 0x41
jne 0x50e841
mov edx, dword [esi + 0x8c]
jmp 0x50e853
mov eax, dword [esi + 0x88]
mov edx, eax
mov dword [esp + 0x50], eax
and edx, 0x7fffffff
mov dword [esp + 0x48], edx
fld dword [esp + 0x48]
fmul dword [esp + 0x44]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fld dword [esp + 0x20]
mov dword [esp + 0x38], eax
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
mov edx, dword [esp + 0x14]
fmul st(1)
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], 0
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fstp st(0)
mov dword [esp + 0x40], eax
fld dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fadd dword [esi + 0x130]
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], 0
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fadd dword [esi + 0x134]
fld dword [esp + 0x40]
fadd dword [esi + 0x138]
mov dword [esi + 0x130], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x134], eax
fstp dword [esp + 0x40]
mov dword [esi + 0x138], edx
jmp 0x50e94b
fld dword [esp + 0x44]
mov dword [esp + 0x4c], 1
fmul dword [esi + 0x114]
fld st(0)
fmul dword [esi + 0x108]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
fld st(0)
fmul dword [esi + 0x10c]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fmul dword [esi + 0x110]
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x18]
fld dword [esi + 0x118]
mov eax, dword [esp + 0x18]
fmul dword [esp + 0x44]
mov dword [esp + 0x40], eax
fld dword [esp + 0x48]
and ecx, 0xffffefff
fmul dword [esp + 0x44]
mov dword [esi + 0x16c], ecx
fstp dword [esi + 0x90]
mov ecx, dword [0x680098]
fld dword [esp + 0x38]
fadd st(3)
fstp dword [esp + 0x38]
fadd st(1)
fstp dword [esp + 0x3c]
fstp st(0)
fstp st(0)
fld dword [esp + 0x40]
fadd dword [esp + 0x78]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
fld st(0)
fadd st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fadd st(1)
fadd st(2)
fsqrt
fstp dword [esp + 0x28]
fstp st(0)
fstp st(0)
call fcn.004be5c0
fmul dword [0x5da70c]
xor edx, edx
fld dword [esp + 0x28]
fcomp dword [0x5da70c]
fnstsw ax
test ah, 5
jp 0x50e9e4
cmp dword [esi + 0x120], ebx
jne 0x50e9e4
mov edx, 1
mov eax, dword [esp + 0x38]
fld dword [esp + 0x28]
lea ecx, [esi + 0x148]
fcomp st(1)
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
fnstsw ax
test ah, 0x41
jne 0x50ea17
mov dword [esi + 0x140], 2
jmp 0x50ea1d
dec dword [esi + 0x140]
mov ecx, dword [esi + 0x16c]
test ch, 8
jne 0x50eb24
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
je 0x50eb26
cmp edx, ebx
jne 0x50eb26
test cl, 0x20
jne 0x50eb26
cmp dword [esi + 0x140], ebx
jg 0x50eb26
fld dword [esi + 0x118]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jnp 0x50eaa6
fld dword [esi + 0x48]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
fsubr dword [esi + 0x128]
mov edi, 1
fst dword [esp + 0x48]
fstp dword [esi + 0x12c]
je 0x50eaaa
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xe4]
push ecx
push edx
call eax
add esp, 8
jmp 0x50eaaa
mov edi, dword [esp + 0x54]
mov dword [esi + 0x118], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x120], 1
mov eax, dword [0x680098]
mov ecx, dword [eax + 0x10]
fild dword [eax + 0x10]
test ecx, ecx
jge 0x50eae1
fadd dword [0x5da2fc]
mov dword [esp + 0x10], 0
fstp dword [esi + 0x11c]
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x108]
mov dword [edx], eax
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov dword [esi + 0x114], ebx
mov dword [edx + 8], eax
jmp 0x50f3bc
fstp st(0)
mov edx, dword [esi + 0x94]
xor eax, eax
mov ecx, 0x33
mov edi, 0x680668
rep stosd dword es:[edi], eax
cmp dword [esi], ebx
mov dword [esp + 0x5c], edx
jle 0x50eba1
mov edi, dword [esi]
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x8c]
lea eax, [esi + 0xc]
sub edx, esi
fld dword [eax - 8]
mov ebx, ecx
fadd dword [esi + 0x44]
add ecx, 0x10
add eax, 0x10
dec edi
fstp dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
fld dword [eax - 0x14]
mov dword [ebx], ebp
fadd dword [esi + 0x48]
fstp dword [esp + 0x14]
fld dword [eax - 0x10]
mov ebp, dword [esp + 0x14]
fadd dword [esi + 0x4c]
mov dword [ebx + 4], ebp
fstp dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
mov dword [ebx + 8], ebp
mov ebx, dword [eax - 0xc]
mov dword [edx + eax - 0x10], ebx
jne 0x50eb57
mov edx, dword [esp + 0x5c]
xor ebx, ebx
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 8]
test ah, 1
mov eax, dword [esi]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ebx
je 0x50ec0f
cmp eax, 1
jne 0x50ebe6
mov ecx, dword [esi + 0x170]
lea eax, [esp + 0x5c]
push eax
push ecx
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [0x68008c]
push edx
call fcn.004eaf30
jmp 0x50ec3f
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0x170]
push ecx
push ebx
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x68008c]
push eax
lea eax, [esp + 0xa0]
push eax
push edx
call fcn.004eaea0
jmp 0x50ec3f
cmp eax, 1
lea ecx, [esp + 0x38]
push ebx
push ecx
mov ecx, dword [0x68008c]
jne 0x50ec30
lea eax, [esp + 0x94]
push eax
push edx
call fcn.004e45e0
jmp 0x50ec3f
push eax
lea eax, [esp + 0x98]
push eax
push edx
call fcn.004e44b0
fld dword [esi + 4]
mov ebp, eax
fadd dword [esi + 0x44]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
fld dword [esi + 8]
fadd dword [esi + 0x48]
fld dword [esi + 0xc]
fadd dword [esi + 0x4c]
fstp dword [esp + 0x78]
fld dword [esp + 0x8c]
fsub st(2)
fstp dword [esp + 0x1c]
fld dword [esp + 0x90]
fsub st(1)
fstp dword [esp + 0x20]
fstp st(0)
fstp st(0)
fld dword [esp + 0x94]
fsub dword [esp + 0x78]
jne 0x50ecf6
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
fxch st(1)
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x3c]
faddp st(1)
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x50ecf8
fld dword [esi + 0x44]
mov ebp, dword [esi + 0x94]
fadd dword [esi + 4]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fld dword [esi + 8]
mov dword [esp + 0x8c], ecx
fadd dword [esi + 0x48]
fstp dword [esp + 0x14]
fld dword [esi + 0xc]
mov edx, dword [esp + 0x14]
fadd dword [esi + 0x4c]
mov dword [esp + 0x90], edx
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], eax
jmp 0x50ecf8
fstp st(0)
cmp ebp, dword [esi + 0x94]
je 0x50ed12
mov dword [esi + 0x94], ebp
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x9c], ebx
fld dword [esp + 0x90]
mov dword [esp + 0x4c], 0xffffffff
fsub dword [esi + 8]
mov dword [esp + 0x28], 0
fstp dword [esp + 0x74]
fld dword [esi + 4]
fld dword [esi + 0xc]
fld dword [esp + 0x8c]
fsub st(2)
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fld dword [esp + 0x90]
mov dword [esp + 0xcc], ecx
fstp dword [esp + 0x14]
fld dword [esp + 0x94]
mov edx, dword [esp + 0x14]
fsub st(1)
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0xd4], edx
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x50]
fstp st(0)
mov dword [esp + 0xd8], eax
fstp st(0)
push edx
lea eax, [esp + 0xd4]
push eax
mov ecx, esi
call fcn.0050e130
test eax, eax
jne 0x50eda5
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x4c]
cmp edi, ebx
jl 0x50edc1
mov ecx, dword [0x68010c]
push edi
call fcn.00547360
mov dword [esi + 0x144], eax
jmp 0x50edc7
mov dword [esi + 0x144], ebx
fld dword [esp + 0x74]
mov ecx, dword [0x680098]
fsub dword [esp + 0x28]
fstp dword [esp + 0x4c]
call fcn.004be5c0
fmul dword [0x5da844]
mov al, byte [0x68068c]
test al, al
fstp dword [esp + 0x64]
jns 0x50ee70
mov edx, dword [0x680704]
movzx eax, word [edx + 2]
mov ecx, dword [0x68010c]
push eax
call fcn.00547360
mov ecx, dword [eax + 0x18]
mov edx, dword [0x680708]
mov eax, dword [0x68070c]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x680710]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
push edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x680700]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [0x6806fc]
call fcn.004d28b0
mov ecx, dword [0x680704]
mov eax, dword [0x6806fc]
lea edx, [esp + 0x10]
push edx
movzx edx, word [ecx + 2]
push eax
push edx
lea ecx, [esi + 0xb4]
call fcn.0050d910
mov dword [esp + 0x54], 2
test byte [esi + 0x16c], 1
je 0x50f289
fld dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
fcomp dword [esp + 0x64]
mov dword [esi + 0x124], eax
fnstsw ax
test ah, 0x41
jne 0x50f10a
fld dword [esi + 0x164]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50f10a
test byte [esp + 0x68], 2
jne 0x50f10a
fld dword [esi + 0x118]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50ef0d
mov edx, dword [esp + 0x2c]
fld dword [esi + 0x48]
mov eax, dword [esp + 0x30]
lea ecx, [esi + 0x108]
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
fstp dword [esi + 0x128]
mov dword [ecx + 8], edx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x114], eax
jmp 0x50f06c
cmp dword [0x6806fc], ebx
je 0x50f074
mov ecx, dword [0x680704]
movzx edx, word [ecx + 2]
mov ecx, dword [0x68010c]
push edx
call fcn.00547360
mov ecx, dword [eax + 0x14]
test ch, 0x20
jne 0x50f06c
mov ecx, 0x680668
call fcn.004e2c60
fld dword [esi + 0x44]
fsub dword [eax]
lea ecx, [esi + 0x108]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld dword [esi + 0x48]
fsub dword [eax + 4]
fld dword [esi + 0x4c]
fsub dword [eax + 8]
mov eax, dword [esi + 0x16c]
or eax, 0x1000
mov dword [esi + 0x16c], eax
fstp dword [esp + 0x18]
mov eax, ecx
fadd dword [0x5e0e0c]
mov dword [eax], edx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
fld dword [ecx]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50efd6
fld dword [ecx + 4]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50efd6
fld dword [ecx + 8]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50efd6
mov dword [esi + 0x114], ebx
mov edi, ecx
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
jmp 0x50f026
fld dword [ecx + 8]
fld dword [ecx + 4]
fld dword [ecx]
fld st(2)
fmulp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fld st(0)
fmul st(1)
faddp st(3)
fxch st(2)
fsqrt
fstp st(2)
fstp st(0)
fst dword [esi + 0x114]
fdivr dword [0x5f53f4]
fld st(0)
fmul dword [ecx]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld st(0)
fmul dword [ecx + 4]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fmul dword [ecx + 8]
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x18]
fld dword [esi + 0x13c]
mov dword [ecx], edx
fmul dword [0x5f04ec]
mov dword [ecx + 4], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x14]
mov dword [ecx + 8], edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], ecx
mov dword [esi + 0x168], edx
cmp dword [0x6806fc], ebx
jne 0x50f0ca
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
fld dword [esp + 0x28]
fcomp dword [0x5f04e8]
fnstsw ax
test ah, 0x41
je 0x50f0ca
fld dword [esi + 0x118]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jnp 0x50f0ca
mov ecx, dword [0x680098]
mov edx, dword [ecx + 0x10]
fild dword [ecx + 0x10]
test edx, edx
jge 0x50f0bf
fadd dword [0x5da2fc]
mov dword [esi + 0x164], ebx
jmp 0x50f2e3
fld dword [esi + 0x118]
fcom dword [0x60477c]
fnstsw ax
test ah, 0x41
jne 0x50f0e5
fstp st(0)
fld dword [0x60477c]
fld dword [esi + 0x13c]
mov dword [esi + 0x120], ebx
fmul dword [0x5da2d4]
fmul dword [esp + 0x44]
fsubr st(1)
fstp dword [esi + 0x118]
fstp st(0)
jmp 0x50f2f9
cmp edi, ebx
jl 0x50f162
mov ecx, dword [esi + 0xb4]
mov dword [esi + ecx*4 + 0xb8], edi
mov edx, dword [esi + 0xb4]
lea eax, [esi + 0xb4]
mov dword [eax + edx*4 + 0x44], ebx
mov ecx, dword [eax]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4 + 0x14]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
mov dword [edx], ecx
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov dword [edx + 8], ecx
inc dword [eax]
fld dword [esi + 0x118]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jnp 0x50f1c3
mov eax, dword [esi + 0x16c]
test ah, 8
je 0x50f18b
and eax, 0xfffff7ff
mov dword [esi + 0x16c], eax
fld dword [esi + 0x48]
mov eax, dword [esp + 0xe0]
cmp eax, ebx
fsubr dword [esi + 0x128]
mov dword [esp + 0x54], 1
fst dword [esp + 0x48]
fstp dword [esi + 0x12c]
je 0x50f1c3
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xe4]
push edx
push ecx
call eax
add esp, 8
mov dword [esi + 0x118], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x120], 1
mov edx, dword [0x680098]
mov eax, dword [edx + 0x10]
fild dword [edx + 0x10]
test eax, eax
jge 0x50f1f5
fadd dword [0x5da2fc]
fstp dword [esi + 0x11c]
mov dword [esp + 0x10], 0
fld dword [esi + 0x164]
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x108]
fcomp dword [0x60477c]
mov dword [ecx], edx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
fnstsw ax
mov dword [esp + 0x18], 0
test ah, 0x44
mov edx, dword [esp + 0x18]
mov dword [esi + 0x114], ebx
mov dword [ecx + 8], edx
jp 0x50f2f9
fld dword [esp + 0x28]
mov dword [esp + 0x10], 0
fadd dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x130]
mov dword [eax], ecx
fsub dword [esp + 0x90]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x50f2f9
mov edx, dword [0x680098]
mov eax, dword [edx + 0x10]
fild dword [edx + 0x10]
test eax, eax
jge 0x50f29f
fadd dword [0x5da2fc]
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x108]
mov dword [ecx], edx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x114], ebx
mov dword [ecx + 8], edx
fstp dword [esi + 0x11c]
mov dword [esi + 0x118], ebx
mov dword [esi + 0x120], 1
fld dword [esp + 0x8c]
mov eax, dword [esp + 0x54]
cmp eax, 2
fsub dword [esi + 4]
fstp dword [esp + 0x8c]
fld dword [esp + 0x90]
fsub dword [esi + 8]
fstp dword [esp + 0x90]
fld dword [esp + 0x94]
fsub dword [esi + 0xc]
fstp dword [esp + 0x94]
jne 0x50f37a
fld dword [esp + 0x8c]
fsub dword [esi + 0x44]
fld dword [esp + 0x94]
fsub dword [esi + 0x4c]
fld dword [esp + 0x50]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x50f364
mov dword [esp + 0x58], 0x3f800000
jmp 0x50f376
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fdiv dword [esp + 0x50]
fstp dword [esp + 0x58]
fstp st(0)
fstp st(0)
mov eax, dword [esi + 0x16c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x54]
or eax, 0x400
mov dword [esi + 0x16c], eax
lea eax, [esi + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], edx
mov dword [esi + 0x94], ebp
mov ebp, dword [esp + 0xdc]
mov dword [eax + 8], ecx
cmp ebp, ebx
je 0x50f3cd
mov edx, dword [esp + 0x6c]
push ebx
push edx
mov ecx, ebp
call fcn.004d19e0
mov ecx, dword [0x68008c]
mov edx, dword [ecx + 0x1b78]
lea eax, [ecx + 0x1b78]
mov dword [ecx + 0x1b7c], edx
mov ecx, dword [esp + 0x88]
mov dword [eax], ecx
mov ecx, dword [esi + 0x16c]
and ecx, 0xffffffdf
cmp edi, 2
mov dword [esi + 0x16c], ecx
pop ebp
jne 0x50f42d
mov ecx, dword [esp + 0xe8]
cmp ecx, ebx
je 0x50f42d
fld dword [esp + 0x54]
fcomp dword [0x5f53f4]
fnstsw ax
test ah, 0x41
jne 0x50f427
mov dword [esp + 0x54], 0x3f800000
mov edx, dword [esp + 0x54]
mov dword [ecx], edx
fld dword [esi + 0x44]
add esi, 0x154
fsub dword [esp + 0x78]
fstp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
fld dword [esi - 0x10c]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x10]
fld dword [esi - 0x108]
mov ecx, dword [esp + 0x10]
fsub dword [esp + 0x80]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, edi
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
pop edi
mov dword [esi + 8], edx
pop esi
pop ebx
add esp, 0xc8
ret 0x14