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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x6988eb
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
fld dword [esi + 0x18]
push edi
fsub dword [0x703c14]
fst dword [esi + 0x18]
fcomp dword [0x6a75fc]
fnstsw ax
test ah, 0x41
jp 0x42f6bd
cmp dword [esi + 0x10], 1
mov dword [esi + 0x18], 0
jge 0x42f97d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov eax, dword [esi + 0x38]
fild dword [esi + 0x40]
cmp eax, 0x57
mov dword [esp + 0x18], 0x41700000
mov dword [esp + 0x14], 0x40f00000
jne 0x42f6ec
fld st(0)
mov dword [esp + 0x18], 0x41a00000
mov dword [esp + 0x14], 0x41200000
faddp st(1)
fmul dword [0x703c14]
fld st(0)
call fcn.005b8b18
mov ebx, eax
mov dword [esp + 0x10], ebx
fisub dword [esp + 0x10]
fadd dword [esi + 0x34]
fcom dword [0x6a8210]
fst dword [esi + 0x34]
fnstsw ax
test ah, 0x41
jne 0x42f739
call fcn.005b8b18
fld dword [esi + 0x34]
add ebx, eax
mov dword [esp + 0x10], ebx
call fcn.005b8b18
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fsubr dword [esi + 0x34]
fstp dword [esi + 0x34]
jmp 0x42f73b
fstp st(0)
cmp ebx, 0x32
jle 0x42f74c
mov dword [esp + 0x10], 0x32
mov ebx, dword [esp + 0x10]
test ebx, ebx
mov dword [esp + 0x1c], 0
jle 0x42f97d
lea esp, [esp]
push 0x38
call fcn.005b8072
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x74], 0
je 0x42f7a9
fld dword [esi + 0x30]
mov edx, dword [esi + 0x38]
fchs
lea ecx, [esp + 0x54]
fld dword [esi + 0x2c]
push ecx
fchs
push edx
fld dword [esi + 0x28]
mov ecx, eax
fchs
fstp dword [esp + 0x5c]
fstp dword [esp + 0x60]
fstp dword [esp + 0x64]
call fcn.0042f3e0
mov edi, eax
jmp 0x42f7ab
xor edi, edi
test edi, edi
mov dword [esp + 0x74], 0xffffffff
je 0x42f6a8
lea eax, [esi + 0x1c]
mov edx, dword [eax]
lea ebp, [edi + 0x20]
mov ecx, ebp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
call fcn.005b91d1
and eax, 0x80000001
jns 0x42f7e4
dec eax
or eax, 0xfffffffe
inc eax
je 0x42f7fc
call fcn.005b91d1
cdq
idiv dword [esi + 0x3c]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fadd dword [ebp]
jmp 0x42f810
call fcn.005b91d1
cdq
idiv dword [esi + 0x3c]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fsubr dword [ebp]
fstp dword [ebp]
call fcn.005b91d1
and eax, 0x80000001
jns 0x42f824
dec eax
or eax, 0xfffffffe
inc eax
je 0x42f83c
call fcn.005b91d1
cdq
idiv dword [esi + 0x3c]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fadd dword [edi + 0x28]
jmp 0x42f850
call fcn.005b91d1
cdq
idiv dword [esi + 0x3c]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fsubr dword [edi + 0x28]
fstp dword [edi + 0x28]
mov dword [esp + 0x38], 0
fld dword [esp + 0x18]
mov eax, dword [esp + 0x38]
fadd dword [edi + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0x3f800000
mov edx, dword [esp + 0x34]
fstp dword [edi + 0x24]
mov dword [esp + 0x28], edx
fld dword [esp + 0x2c]
mov dword [esp + 0x30], 0
fmul dword [esi + 0x2c]
mov ecx, dword [esp + 0x30]
fld dword [esp + 0x28]
mov dword [esp + 0x24], ecx
fmul dword [esi + 0x30]
fsubp st(1)
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
fld dword [esp + 0x24]
mov dword [esp + 0x48], ecx
fmul dword [esi + 0x30]
fld dword [esp + 0x2c]
fmul dword [esi + 0x28]
fsubp st(1)
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fld dword [esp + 0x28]
mov dword [esp + 0x4c], edx
fmul dword [esi + 0x28]
fld dword [esp + 0x24]
fmul dword [esi + 0x2c]
fsubp st(1)
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
fld dword [esp + 0x48]
mov dword [esp + 0x50], eax
fmul dword [esp + 0x14]
fst dword [esp + 0x60]
fld dword [esp + 0x4c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x64]
fld dword [esp + 0x50]
fmul dword [esp + 0x14]
fld st(0)
fld dword [ebp]
fsub dword [esp + 0x60]
fstp dword [ebp]
fld dword [ebp + 4]
fsub dword [esp + 0x64]
fstp dword [ebp + 4]
fld dword [ebp + 8]
fsub st(1)
fstp dword [ebp + 8]
fstp st(0)
fxch st(1)
fstp dword [edi + 0x2c]
fstp dword [edi + 0x34]
fld dword [esp + 0x18]
fchs
fstp dword [edi + 0x30]
mov eax, dword [esi + 0x10]
cmp eax, 0x32
jge 0x42f96c
mov ebp, dword [esi + 0xc]
mov edx, dword [ebp + 4]
mov dword [esp + 0x20], edi
lea edi, [esi + 8]
lea ecx, [esp + 0x20]
push ecx
push edx
push ebp
mov ecx, edi
call fcn.0055c560
push 1
mov ecx, edi
mov ebx, eax
call fcn.0042f340
mov dword [ebp + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, ebx
mov dword [esp + 0x1c], eax
jl 0x42f760
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esi + 0x14], ecx
je 0x42fadf
xor ebx, ebx
nop
mov ecx, dword [esi + 0x14]
mov edi, dword [ecx + 8]
cmp edi, ebx
je 0x42facc
mov ecx, edi
call fcn.0042f180
test eax, eax
jne 0x42f9f0
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 8]
cmp ecx, ebx
je 0x42f9bf
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x14]
mov dword [ecx + 8], ebx
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0xc]
mov edi, dword [eax]
je 0x42f9e8
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push eax
mov dword [edx + 4], ecx
call fcn.005b806d
mov eax, dword [esi + 0x10]
add esp, 4
dec eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
jmp 0x42facc
cmp dword [edi + 8], ebx
jne 0x42facc
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov al, byte [0x7072a9]
test al, al
mov dword [esp + 0x1c], edx
je 0x42fa24
mov ecx, edx
mov edx, dword [esp + 0x18]
push ecx
push edx
mov ecx, 0x843edc
call fcn.00590cf0
jmp 0x42fa38
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, 0x7072ac
call fcn.0058ebe0
fcom dword [edi + 0x24]
fnstsw ax
test ah, 0x41
jne 0x42faca
mov edx, dword [edi + 0x20]
fadd dword [0x6a8210]
mov eax, dword [edi + 0x28]
push 5
lea ecx, [esp + 0x64]
fstp dword [esp + 0x50]
push ecx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push 1
push ecx
mov ecx, 0x7072a0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x80], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xbf800000
call fcn.0044eef0
push 0x3f000000
mov ecx, 0x21f68d0
mov dword [edi + 8], 1
call fcn.0053f010
jmp 0x42facc
fstp st(0)
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
mov ecx, eax
mov dword [esi + 0x14], eax
cmp ecx, dword [esi + 0xc]
jne 0x42f990
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret