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

Disassembly:
sub esp, 0x1b4
fld qword [0x5040a0]
push ebx
mov ebx, dword [0x5040e8]
fdiv qword [ebx + 0x1d78]
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x6c], ebp
fild dword [ebx + 0x1dd8]
fmul st(1)
fstp dword [esp + 0x20]
fild dword [ebx + 0x1de4]
fmul st(1)
fstp dword [esp + 0x5c]
fild dword [ebx + 0x1ddc]
fmul st(1)
fstp dword [esp + 0x30]
fild dword [ebx + 0x1de0]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [ebx + 0x1dd4]
fstp dword [esp + 0x64]
fld qword [ebx + 0x12888]
call fcn.004dc850
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
mov eax, dword [ebx + 0x12764]
cmp eax, 1
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fld qword [0x4fda60]
fmul st(1)
fdiv qword [0x4fd928]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x4c]
fstp dword [esp + 0x44]
fld dword [ebx + 0x11f18]
fstp dword [esp + 0x10]
fild dword [ebx + 0x1db8]
fmul st(2)
fstp dword [esp + 0xa4]
fild dword [ebx + 0x1db4]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x68]
fld st(0)
fdiv dword [ebx + 0x1dec]
fstp dword [esp + 0x2c]
fdiv dword [ebx + 0x1de8]
fstp dword [esp + 0x48]
fld dword [ebx + 0x11f10]
fstp dword [esp + 0x28]
fld dword [ebx + 0x11f14]
fstp dword [esp + 0x24]
jg 0x415bf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b4
jmp fcn.00416dc0
cmp eax, 2
jne 0x415bfd
mov dword [esp + 0x6c], 1
mov esi, dword [ebx + 0x12474]
cmp esi, dword [ebx + 0x12478]
jg 0x415c37
lea edi, [ebx + esi*4 + 0x12274]
mov eax, dword [edi]
cmp eax, ebp
je 0x415c2b
cmp dword [eax + 0x1b0], ebp
je 0x415c2b
push 1
push eax
call fcn.00441820
add esp, 8
inc esi
add edi, 4
cmp esi, dword [ebx + 0x12478]
jle 0x415c12
mov eax, dword [ebx + 0x12474]
cmp eax, dword [ebx + 0x12478]
jg 0x415f8e
lea ecx, [ebx + eax*4 + 0x12274]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x12478]
sub ecx, eax
inc ecx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x60]
mov ebp, dword [edx]
test ebp, ebp
je 0x415f7e
cmp dword [ebp + 0x1b0], 0
je 0x415f7e
cmp dword [ebp + 0x290], 0
je 0x415edf
cmp dword [esp + 0x40], 0
je 0x415db0
cmp dword [ebp + 0x1e8], 0xffffffff
lea esi, [ebp + 0x1f8]
mov ecx, 0xa
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
jne 0x415cbd
mov eax, dword [ebp + 0x29c]
mov dword [esp + 0x1c], eax
jmp 0x415cc7
mov ecx, dword [ebp + 0x2a0]
mov dword [esp + 0x1c], ecx
mov edx, dword [ebp]
fld qword [0x5040a0]
fdiv qword [edx + 0x90]
sub esp, 8
fimul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fadd qword [0x4fd830]
fstp qword [esp]
call sub.MSVCR90.dll_floor
fstp dword [esp + 0x24]
add esp, 8
fld dword [esp + 0x1c]
call fcn.004dc850
mov esi, dword [esp + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
add esi, 0x1f8
cmp dword [eax + 0x1e8], 0xffffffff
mov ecx, 0xa
lea edi, [esp + 0x198]
rep movsd dword es:[edi], dword [esi]
jne 0x415d3a
mov ecx, eax
mov edx, dword [ecx + 0x29c]
mov dword [esp + 0x1c], edx
jmp 0x415d48
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x2a0]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
sub esp, 8
fsubr qword [esp + 0x178]
fstp qword [esp + 0x78]
fld qword [0x5040a0]
fdiv qword [eax + 0x90]
fimul dword [esp + 0x24]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fadd qword [0x4fd830]
fstp qword [esp]
call sub.MSVCR90.dll_floor
fstp dword [esp + 0x58]
add esp, 8
fld dword [esp + 0x50]
call fcn.004dc850
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fsubr qword [esp + 0x198]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
jne 0x415db4
mov dword [esp + 0x40], ebp
cmp dword [esp + 0x3c], 0
je 0x415edb
cmp dword [ebp + 0x1e8], 1
lea esi, [ebp + 0x1f8]
mov ecx, 0xa
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
jne 0x415de8
mov ecx, dword [ebp + 0x29c]
mov dword [esp + 0x1c], ecx
jmp 0x415df2
mov edx, dword [ebp + 0x2a0]
mov dword [esp + 0x1c], edx
mov eax, dword [ebp]
fld qword [0x5040a0]
fdiv qword [eax + 0x90]
sub esp, 8
fimul dword [esp + 0x24]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fadd qword [0x4fd830]
fstp qword [esp]
call sub.MSVCR90.dll_floor
fstp dword [esp + 0x58]
add esp, 8
fld dword [esp + 0x50]
call fcn.004dc850
mov esi, dword [esp + 0x3c]
add esi, 0x1f8
mov ecx, 0xa
lea edi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + 0x1e8], 1
mov dword [esp + 0x50], eax
jne 0x415e65
mov edx, ecx
mov eax, dword [edx + 0x29c]
mov dword [esp + 0x1c], eax
jmp 0x415e73
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x2a0]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
sub esp, 8
fadd qword [esp + 0xb0]
fstp qword [esp + 0x78]
fld qword [0x5040a0]
fdiv qword [ecx + 0x90]
fimul dword [esp + 0x24]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fadd qword [0x4fd830]
fstp qword [esp]
call sub.MSVCR90.dll_floor
fstp dword [esp + 0x58]
add esp, 8
fld dword [esp + 0x50]
call fcn.004dc850
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fadd qword [esp + 0x120]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 5
jp 0x415edf
mov dword [esp + 0x3c], ebp
cmp dword [ebp + 0x294], 0
je 0x415f7e
cmp dword [esp + 0x38], 0
je 0x415f34
lea esi, [ebp + 0x1f8]
mov ecx, 0xa
lea edi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
add esi, 0x1f8
mov ecx, 0xa
lea edi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0xd8]
fcomp qword [esp + 0x100]
fnstsw ax
test ah, 0x41
jne 0x415f38
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x415f7a
lea esi, [ebp + 0x1f8]
mov ecx, 0xa
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x1f8]
mov ecx, 0xa
lea edi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x150]
fcomp qword [esp + 0x84]
fnstsw ax
test ah, 5
jp 0x415f7e
mov dword [esp + 0x14], ebp
add dword [esp + 0x60], 4
sub dword [esp + 0x34], 1
jne 0x415c61
cmp dword [esp + 0x38], 0
fld qword [0x5040a0]
fld st(0)
fdiv qword [ebx + 0x1d78]
fst qword [esp + 0x50]
fld dword [esp + 0x48]
fld qword [0x4fd830]
fmul st(1)
fst qword [esp + 0x70]
fild dword [ebx + 0x1dac]
fmul st(3)
fsub st(1)
fstp dword [esp + 0x60]
fild dword [ebx + 0x1db0]
fmulp st(3)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x64]
je 0x4167d0
cmp dword [esp + 0x14], 0
je 0x4167d0
cmp dword [esp + 0x40], 0
je 0x4167d0
cmp dword [esp + 0x3c], 0
je 0x4167d0
fldz
mov ebp, dword [esp + 0x38]
fcom st(1)
add ebp, 0x1f8
mov ecx, 0xa
lea edi, [esp + 0x7c]
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
fnstsw ax
test ah, 0x41
jp 0x416042
fstp st(0)
fstp st(1)
fld dword [esp + 0x5c]
fadd qword [esp + 0x84]
fstp dword [esp + 0x5c]
fmul dword [esp + 0x5c]
fstp dword [ebx + 0x11f18]
jmp 0x416125
mov esi, dword [esp + 0x14]
fstp st(1)
fld dword [esp + 0x30]
add esi, 0x1f8
fsubr qword [esp + 0x84]
mov ecx, 0xa
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x5c]
fld dword [esp + 0x18]
fadd qword [esp + 0x84]
fstp dword [esp + 0x18]
fld dword [esp + 0x5c]
fld dword [esp + 0x18]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x416119
fld qword [ebx + 0x12890]
call fcn.004dc850
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fxch st(1)
fsubrp st(2)
fdivrp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41611f
fld qword [ebx + 0x12888]
call fcn.004dc850
mov dword [esp + 0x18], eax
fidivr dword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4160ee
fxch st(1)
fstp dword [ebx + 0x11f18]
fstp dword [esp + 0x14]
jmp 0x4160f2
fstp st(0)
fstp st(0)
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41610d
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x2c]
jmp 0x416125
fstp st(0)
fld dword [esp + 0x14]
fstp dword [esp + 0x2c]
jmp 0x416125
fstp st(2)
fstp st(0)
jmp 0x416121
fstp st(1)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x1e8], 0xffffffff
jne 0x41613e
mov edx, dword [eax + 0x29c]
mov dword [esp + 0x34], edx
jmp 0x416148
mov ecx, dword [eax + 0x2a0]
mov dword [esp + 0x34], ecx
mov edx, dword [eax]
fdiv qword [edx + 0x90]
sub esp, 8
fimul dword [esp + 0x3c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [0x4fd830]
fstp qword [esp]
call sub.MSVCR90.dll_floor
fstp dword [esp + 0x20]
add esp, 8
fld dword [esp + 0x18]
call fcn.004dc850
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x1e8], 1
fstp dword [esp + 0x18]
jne 0x4161a2
mov eax, dword [eax + 0x29c]
mov dword [esp + 0x34], eax
jmp 0x4161ac
mov ecx, dword [eax + 0x2a0]
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x40]
fld dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
add esi, 0x1f8
mov ecx, 0xa
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
fsubr qword [esp + 0x7c]
fstp dword [esp + 0x5c]
fld qword [0x5040a0]
fdiv qword [edx + 0x90]
lea esi, [eax + 0x1f8]
sub esp, 8
mov ecx, 0xa
lea edi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
fimul dword [esp + 0x3c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [0x4fd830]
fstp qword [esp]
call sub.MSVCR90.dll_floor
fstp dword [esp + 0x20]
add esp, 8
fld dword [esp + 0x18]
call fcn.004dc850
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fadd qword [esp + 0x7c]
fstp dword [esp + 0x38]
fld dword [esp + 0x24]
fld st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fld dword [esp + 0x2c]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x41627f
faddp st(2)
fld qword [0x4fd830]
fmul st(2), st(0)
fxch st(2)
fstp dword [esp + 0x14]
fld st(0)
fmulp st(2)
fld dword [esp + 0x14]
fld st(0)
fsub st(3)
fstp dword [esp + 0x28]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fld dword [esp + 0x24]
jmp 0x416283
fxch st(1)
fxch st(2)
fld dword [esp + 0x38]
fld st(0)
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fld dword [esp + 0x20]
fld st(0)
fadd st(1)
faddp st(3)
fxch st(2)
fcom st(6)
fnstsw ax
test ah, 5
jp 0x41633f
fstp st(0)
fldz
fstp dword [esp + 0x2c]
fld st(3)
fsub st(5)
fcomp st(6)
fnstsw ax
test ah, 0x41
jne 0x4162f7
fxch st(3)
faddp st(4)
fld qword [0x4fd830]
fmul st(4), st(0)
fxch st(4)
fstp dword [esp + 0x14]
fld st(4)
fmulp st(4)
fld dword [esp + 0x14]
fld st(0)
fsub st(5)
fstp dword [esp + 0x28]
faddp st(4)
fxch st(3)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x28]
fxch st(4)
fxch st(1)
fxch st(3)
fld st(0)
fsub st(2)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x41630c
fsub st(5)
fstp dword [esp + 0x2c]
jmp 0x41630e
fstp st(0)
fld st(2)
fadd st(2)
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x416323
fsub st(4)
fstp dword [esp + 0x2c]
jmp 0x416325
fstp st(0)
fld dword [esp + 0x2c]
fld st(0)
faddp st(6)
fxch st(5)
fstp dword [esp + 0x28]
fxch st(4)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x24]
jmp 0x41638c
fstp st(5)
fstp st(3)
fld st(2)
fadd st(2)
fmul qword [0x4fd830]
fstp dword [esp + 0x14]
fld dword [esp + 0x48]
fcomp st(4)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x41636e
fld st(1)
fsub st(3)
fstp dword [esp + 0x28]
fld st(0)
fadd st(3)
jmp 0x416382
fld dword [esp + 0x14]
fld st(0)
fld qword [esp + 0x70]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0x24]
fxch st(1)
fxch st(2)
fxch st(1)
fld dword [esp + 0x28]
fld dword [esp + 0x60]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x416455
fld st(0)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fstp dword [esp + 0x28]
fadd st(1)
fld dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x24]
fld st(0)
faddp st(2)
fxch st(1)
fcomp st(3)
fnstsw ax
test ah, 0x41
jne 0x4163dc
fstp st(1)
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x4163de
fstp st(2)
fld st(0)
fadd st(2)
fld dword [esp + 0x60]
fld st(0)
fsubp st(2)
fxch st(1)
fcomp st(6)
fnstsw ax
test ah, 5
jp 0x416407
fstp st(1)
fld st(1)
fsubrp st(1)
fsubr st(4)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x416409
fstp st(0)
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x416420
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
jmp 0x416422
fstp st(0)
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x416443
fstp st(1)
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fld dword [esp + 0x38]
jmp 0x416461
fld dword [esp + 0x28]
fld dword [esp + 0x38]
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
jmp 0x416461
fstp st(0)
fld dword [esp + 0x24]
fld dword [esp + 0x1c]
fxch st(3)
fxch st(3)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x41652c
fstp st(2)
fld dword [esp + 0x1c]
fld st(0)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x24]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
fsubp st(2)
fld st(4)
fsub st(4)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4164af
fstp st(0)
fld st(0)
fsub st(3)
fadd st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x1c]
fld st(2)
fsub st(2)
fsubp st(1)
fcomp st(5)
fnstsw ax
test ah, 5
jp 0x4164d8
fstp st(0)
fld dword [esp + 0x1c]
fsub st(1)
fsubp st(4)
fxch st(3)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x4164dc
fstp st(4)
fxch st(3)
fldz
fcom st(1)
fnstsw ax
test ah, 5
jp 0x416518
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fxch st(3)
fld dword [esp + 0x60]
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x41651c
fstp st(4)
fxch st(3)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fld dword [esp + 0x38]
jmp 0x416536
fstp st(1)
jmp 0x4164f5
fstp st(0)
fld dword [esp + 0x24]
fld dword [esp + 0x38]
fxch st(2)
fxch st(5)
jmp 0x416534
fstp st(5)
fldz
fxch st(5)
fxch st(1)
fxch st(2)
fxch st(2)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x41654f
fstp dword [ebx + 0x11f10]
fstp dword [ebx + 0x11f14]
jmp 0x416553
fstp st(1)
fstp st(0)
fxch st(3)
fcom dword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x4165dc
fld dword [ebx + 0x11f14]
fld dword [ebx + 0x11f10]
fcompp
fnstsw ax
test ah, 5
jp 0x4165dc
fild dword [ebx + 0x8754]
mov ecx, 0xa
fld dword [ebx + 0x11f20]
mov esi, ebp
fmul qword [esp + 0x50]
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x20]
fsub dword [esp + 0x20]
fld qword [ebx + 0x12888]
call fcn.004dc850
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fld dword [ebx + 0x11f14]
fsub dword [ebx + 0x11f10]
fdivp st(1)
fstp dword [esp + 0x20]
fdiv dword [esp + 0x20]
fld dword [esp + 0x30]
fsubr qword [esp + 0x84]
fstp dword [esp + 0x20]
fadd dword [esp + 0x20]
fstp dword [ebx + 0x11f18]
fld dword [ebx + 0x11f08]
fsubp st(3)
fld st(1)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x18]
fld dword [ebx + 0x11f0c]
fsubrp st(3)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [ebx + 0x11f10]
fsub dword [ebx + 0x11f08]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
fld dword [0x4fd88c]
test ah, 5
jp 0x416629
fstp st(1)
fst dword [esp + 0x2c]
jmp 0x416644
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x41663c
fld1
fstp dword [esp + 0x2c]
jmp 0x416644
fxch st(1)
fst dword [esp + 0x2c]
fxch st(1)
fld dword [ebx + 0x11f08]
fld qword [str.ffffff]
fmul st(1), st(0)
fld dword [ebx + 0x11f10]
fld qword [0x4fd898]
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fsub dword [ebx + 0x11f08]
fld dword [esp + 0x2c]
fmul dword [esp + 0x4c]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [ebx + 0x11f14]
fsub dword [ebx + 0x11f0c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcom st(4)
fnstsw ax
test ah, 5
jp 0x41669f
fstp st(0)
fxch st(2)
fstp dword [esp + 0x2c]
jmp 0x4166bc
fstp st(3)
fxch st(2)
fcomp st(3)
fnstsw ax
test ah, 0x41
jne 0x4166b4
fld1
fstp dword [esp + 0x2c]
jmp 0x4166bc
fxch st(2)
fst dword [esp + 0x2c]
fxch st(2)
fmul dword [ebx + 0x11f14]
mov edx, dword [esp + 0x40]
fld dword [ebx + 0x11f0c]
add edx, 0x248
fmulp st(2)
mov ecx, 0xa
mov esi, edx
lea edi, [esp + 0x7c]
faddp st(1)
rep movsd dword es:[edi], dword [esi]
fsub dword [ebx + 0x11f0c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x44]
faddp st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x4c]
fcom qword [esp + 0x7c]
fnstsw ax
test ah, 0x41
jne 0x416757
fcom st(1)
fnstsw ax
test ah, 5
jp 0x416757
fxch st(1)
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x416755
fstp st(1)
mov ecx, 0xa
mov esi, edx
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x7c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x44]
fcom st(1)
fnstsw ax
fld dword [esp + 0x4c]
test ah, 5
jp 0x41675d
fcom st(1)
fnstsw ax
test ah, 5
jp 0x41675d
fstp st(1)
fst dword [esp + 0x44]
jmp 0x416757
fxch st(1)
fld dword [esp + 0x44]
fxch st(1)
mov edx, dword [esp + 0x3c]
fxch st(1)
add edx, 0x248
mov ecx, 0xa
mov esi, edx
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
fcom qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x4167ec
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4167ec
fxch st(2)
fcom dword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x4167ea
fstp st(2)
mov ecx, 0xa
mov esi, edx
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x7c]
fstp dword [esp + 0x44]
fcom st(1)
fnstsw ax
fld dword [esp + 0x44]
test ah, 0x41
jne 0x4167ec
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4167ec
fstp st(1)
fst dword [esp + 0x4c]
fld dword [esp + 0x4c]
jmp 0x4167ee
fstp st(0)
fstp st(0)
fstp st(0)
fldz
fst dword [esp + 0x4c]
fst dword [esp + 0x44]
fld dword [esp + 0x4c]
fld dword [esp + 0x44]
jmp 0x4167ec
fxch st(2)
fxch st(1)
cmp dword [ebx + 0x12754], 0
fld dword [esp + 0x64]
je 0x416849
fcom st(3)
fnstsw ax
test ah, 1
jne 0x416849
fld dword [ebx + 0x11f18]
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fxch st(1)
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x4f18e4]
fnstsw ax
test ah, 0x41
jne 0x416847
fmul qword [0x4fda58]
fld dword [ebx + 0x11f18]
fmul qword [str.333333]
faddp st(1)
fstp dword [ebx + 0x11f18]
jmp 0x416849
fstp st(0)
cmp dword [ebx + 0x11eb0], 0
jne 0x416d22
fld dword [ebx + 0x11f08]
fld dword [ebx + 0x11f10]
fcompp
fnstsw ax
fld dword [ebx + 0x11f08]
test ah, 5
jp 0x4168aa
fadd st(2)
fstp dword [esp + 0x10]
fld dword [ebx + 0x11f10]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x41689e
fstp st(0)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
jmp 0x4168ee
fstp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
jmp 0x4168ee
fld dword [ebx + 0x11f10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4168f4
fld dword [ebx + 0x11f08]
fadd st(2)
fstp dword [esp + 0x10]
fld dword [ebx + 0x11f10]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x4168e4
fstp st(0)
jmp 0x4168e6
fstp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [ebx + 0x11f08]
fld dword [ebx + 0x11f0c]
fld dword [ebx + 0x11f14]
fcompp
fnstsw ax
fld dword [ebx + 0x11f0c]
test ah, 0x41
jne 0x416948
fadd st(3)
fstp dword [esp + 0x10]
fld dword [ebx + 0x11f14]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x41693c
fstp st(0)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
jmp 0x41698c
fstp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
jmp 0x41698c
fld dword [ebx + 0x11f14]
fcompp
fnstsw ax
test ah, 5
jp 0x416992
fld dword [ebx + 0x11f0c]
fadd st(3)
fstp dword [esp + 0x10]
fld dword [ebx + 0x11f14]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x416982
fstp st(0)
jmp 0x416984
fstp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [ebx + 0x11f0c]
cmp dword [esp + 0x6c], 0
je 0x4169b1
fld dword [ebx + 0x11f10]
fstp dword [ebx + 0x11f08]
fld dword [ebx + 0x11f14]
fstp dword [ebx + 0x11f0c]
fld dword [ebx + 0x11f08]
fsub dword [ebx + 0x11f10]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fxch st(2)
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4169ea
fld dword [ebx + 0x11f10]
fstp dword [ebx + 0x11f08]
fld dword [ebx + 0x11f0c]
fsub dword [ebx + 0x11f14]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fxch st(2)
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x416a23
fld dword [ebx + 0x11f14]
fstp dword [ebx + 0x11f0c]
fld dword [ebx + 0x11f0c]
fsub dword [ebx + 0x11f08]
fld dword [esp + 0x48]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x416a84
fld dword [ebx + 0x11f0c]
fld dword [ebx + 0x11f14]
fcompp
fnstsw ax
test ah, 1
jne 0x416a61
fsubr dword [ebx + 0x11f0c]
fstp dword [ebx + 0x11f08]
jmp 0x416a86
fld dword [ebx + 0x11f08]
fld dword [ebx + 0x11f10]
fcompp
fnstsw ax
test ah, 0x41
jp 0x416a84
fadd dword [ebx + 0x11f08]
fstp dword [ebx + 0x11f0c]
jmp 0x416a86
fstp st(0)
fld dword [ebx + 0x11f08]
fld dword [esp + 0x60]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x416aa3
fstp dword [ebx + 0x11f08]
jmp 0x416aa5
fstp st(0)
fld dword [ebx + 0x11f0c]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x416ac2
fstp dword [ebx + 0x11f0c]
jmp 0x416ac4
fstp st(0)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x416c7c
fld dword [ebx + 0x11f04]
fld dword [ebx + 0x11f18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x416bac
fld qword [ebx + 0x12888]
call fcn.004dc850
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld qword [0x4fd830]
fmul st(1)
fld qword [0x4fd928]
fdiv st(1), st(0)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld st(0)
fadd dword [ebx + 0x11f04]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [ebx + 0x11f04]
fld dword [ebx + 0x11f18]
fxch st(4)
fmul qword [0x4fd908]
fdivrp st(3)
fxch st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fsubp st(3)
fxch st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x416b7c
fsubr dword [ebx + 0x11f18]
fmulp st(2)
fxch st(1)
fdiv qword [0x4fd910]
fadd dword [ebx + 0x11f04]
fstp dword [ebx + 0x11f04]
jmp 0x416b80
fstp st(0)
fstp st(1)
fld dword [ebx + 0x11f04]
fld dword [ebx + 0x11f18]
fsubrp st(2)
fcompp
fnstsw ax
test ah, 1
jne 0x416ce3
fld dword [ebx + 0x11f18]
fstp dword [ebx + 0x11f04]
jmp 0x416ce3
fld dword [ebx + 0x11f04]
fld dword [ebx + 0x11f18]
fcompp
fnstsw ax
test ah, 5
jp 0x416ce1
fld qword [ebx + 0x12888]
call fcn.004dc850
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld qword [0x4fd830]
fmul st(1)
fld qword [0x4fd928]
fdiv st(1), st(0)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [ebx + 0x11f04]
fld dword [esp + 0x48]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [ebx + 0x11f04]
fxch st(3)
fmul qword [0x4fd908]
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [ebx + 0x11f18]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x416c53
fld dword [ebx + 0x11f18]
fsubr st(2)
fmulp st(3)
fxch st(2)
fdiv qword [0x4fd910]
fsubp st(1)
fstp dword [ebx + 0x11f04]
jmp 0x416c57
fstp st(1)
fstp st(1)
fld dword [ebx + 0x11f04]
fld dword [ebx + 0x11f18]
faddp st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x416ce3
fld dword [ebx + 0x11f18]
fstp dword [ebx + 0x11f04]
jmp 0x416ce3
fstp st(0)
sub esp, 8
fld1
fstp dword [esp + 4]
fld dword [0x4fd888]
fstp dword [esp]
fld qword [ebx + 0x12888]
call fcn.004dc850
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
sub esp, 0xc
fmul qword [0x4fd908]
fdiv qword [0x4fd928]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 8]
fld dword [ebx + 0x11f18]
fstp dword [esp + 4]
fld dword [ebx + 0x11f04]
fstp dword [esp]
call fcn.004617d0
fstp dword [ebx + 0x11f04]
add esp, 0x14
jmp 0x416ce3
fstp st(0)
fld dword [ebx + 0x11f04]
fld dword [esp + 0xa4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x416d03
fstp dword [ebx + 0x11f04]
jmp 0x416d05
fstp st(0)
fld dword [ebx + 0x11f04]
fld dword [esp + 0x68]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x416d28
fstp dword [ebx + 0x11f04]
jmp 0x416d2a
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [ebx + 0x11f08]
fadd dword [ebx + 0x11f0c]
fmul qword [0x4fd830]
fstp dword [ebx + 0x11f00]
fld qword [ebx + 0x12888]
call fcn.004dc850
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
fld dword [ebx + 0x11f0c]
fsub dword [ebx + 0x11f08]
fdivp st(1)
fstp dword [ebx + 0x11f34]
call fcn.00416dc0
mov esi, dword [ebx + 0x12474]
cmp esi, dword [ebx + 0x12478]
jg 0x416da9
lea edi, [ebx + esi*4 + 0x12274]
mov eax, dword [edi]
test eax, eax
je 0x416d9d
cmp dword [eax + 0x1b0], 0
je 0x416d9d
push 1
push eax
call fcn.00441820
add esp, 8
inc esi
add edi, 4
cmp esi, dword [ebx + 0x12478]
jle 0x416d83
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b4
ret