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

Disassembly:
push ebx
push esi
push edi
push ebp
fld dword [0x6830c8]
fld dword [0x6830c8]
add esp, 0xffffff80
mov eax, dword [esp + 0x94]
mov ebp, dword [eax + 0x10]
mov edx, dword [esp + 0x98]
fstp dword [esp]
fld dword [0x6830c8]
fstp dword [esp + 4]
fld dword [0x6830c8]
fstp dword [esp + 8]
fld dword [0x6830c8]
fstp dword [esp + 0xc]
fld dword [0x6830c8]
fstp dword [esp + 0x10]
fld dword [0x6830c8]
fstp dword [esp + 0x14]
fld dword [0x6830c8]
fstp dword [esp + 0x18]
fld dword [0x6830c8]
lea edi, [esp + 0x3c]
mov dword [esp + 0x74], 0
lea esi, [esp + 0x74]
mov dword [esp + 0x78], 0
fstp dword [esp + 0x1c]
fld dword [0x6830c8]
mov dword [esp + 0x7c], 0
add ebp, 0x10
fstp dword [esp + 0x20]
movsd dword es:[edi], dword [esi]
xor bl, bl
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
cmp dword [edx], 0
je 0x402f48
lea esi, [edx + 4]
mov eax, dword [esi]
cmp dword [eax + 0x14], 0
je 0x402f40
mov edi, dword [eax + 0x18]
mov ecx, edi
movzx eax, word [ecx + 0x2e]
and eax, 0x10
je 0x402f40
fadd dword [edi + 0x18]
add esi, 4
cmp dword [esi], 0
jne 0x402f27
fld dword [0x6830cc]
fsub st(1)
lea esi, [edx + 4]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov edi, esi
fstp st(0)
mov dword [esp + 0x24], eax
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x402fb0
mov eax, dword [edx + 4]
and eax, 2
je 0x402fb0
mov edx, dword [ecx + 0x18]
movzx eax, word [edx + 0x2e]
and eax, 0x40
je 0x402fb0
lea eax, [esp + 0x58]
push dword [esp + 0x24]
push eax
call fcn.00402400
fld dword [esp]
fadd dword [esp + 0x58]
fstp dword [esp]
fld dword [esp + 4]
fadd dword [esp + 0x5c]
fstp dword [esp + 4]
fld dword [esp + 8]
fadd dword [esp + 0x60]
fstp dword [esp + 8]
add edi, 4
cmp dword [edi], 0
jne 0x402f63
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 0
je 0x4032b0
lea eax, [esp + 0x58]
lea edx, [esp + 0x64]
push dword [esp + 0x28]
push edx
push eax
call fcn.00402770
fldz
fldz
fld dword [esp + 0x48]
fadd dword [esp + 0x64]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fadd dword [esp + 0x68]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd dword [esp + 0x70]
fstp dword [esp + 0x54]
mov ecx, dword [esi]
mov edi, dword [ecx + 0x14]
mov edx, dword [edi + 4]
and edx, 2
je 0x4030ba
fld dword [esp + 0x3c]
fadd dword [esp + 0x58]
fstp dword [esp + 0x3c]
fld dword [esp + 0x5c]
fstp st(2)
fld dword [esp + 0x40]
fadd st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x60]
fstp st(1)
fld dword [esp + 0x44]
fadd st(1)
fstp dword [esp + 0x44]
mov edi, dword [ecx + 0x18]
movzx edx, word [edi + 0x2e]
and edx, 0x40
je 0x4030ba
fld dword [esp + 0xc]
fadd dword [esp + 0x58]
or bl, al
test al, al
fstp dword [esp + 0xc]
fld dword [esp + 0x10]
fadd st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd st(1)
fstp dword [esp + 0x14]
je 0x4030ba
fcompp
lea eax, [esp + 0x58]
push dword [esp + 0x28]
push eax
call fcn.00402360
fld dword [esp + 0x18]
fadd dword [esp + 0x58]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [esp + 0x60]
fstp dword [esp + 0x20]
fldz
fldz
add dword [esi], 0x1c
add esi, 4
cmp dword [esi], 0
jne 0x4032a6
mov eax, dword [esp + 0x94]
movsx eax, byte [eax]
and eax, 2
jne 0x4032c0
mov dword [ebp + 0x28], 0x3f800000
fld dword [ebp + 0x28]
fstp dword [ebp + 0x14]
fld dword [ebp + 0x14]
fstp dword [ebp]
mov dword [ebp + 0x10], 0
fld dword [ebp + 0x10]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [ebp + 4]
mov dword [ebp + 0x24], 0
fld dword [ebp + 0x24]
fstp dword [ebp + 0x20]
fld dword [ebp + 0x20]
fstp dword [ebp + 0x18]
mov dword [ebp + 0x38], 0
fld dword [ebp + 0x38]
fstp dword [ebp + 0x34]
fld dword [ebp + 0x34]
fstp dword [ebp + 0x30]
mov eax, dword [ebp + 0xc]
or eax, 0x20003
mov dword [ebp + 0xc], eax
fld dword [esp + 0x4c]
fstp st(2)
fld st(1)
fmul st(0)
fld dword [esp + 0x48]
fmul st(0)
faddp st(1)
fld dword [esp + 0x50]
fstp st(3)
fld st(2)
fmul st(0)
faddp st(1)
fld dword [esp + 0x54]
fstp st(3)
fld st(2)
fmul st(0)
faddp st(1)
fst st(1)
fstp st(2)
fld dword [0x6830c8]
fcomp st(2)
fnstsw ax
and ah, 0x44
cmp ah, 0x40
jne 0x403180
mov dword [esp + 0x54], 0x3f800000
jmp 0x4031c0
fld st(0)
fsqrt
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp st(2)
fld dword [0x6830cc]
fdiv st(2)
fstp st(2)
fld dword [esp + 0x48]
fmul st(2)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul st(2)
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmul st(2)
fstp dword [esp + 0x54]
fcompp
lea ecx, [esp + 0x48]
push ebp
call fcn.004dfd30
mov eax, dword [esp + 0x94]
movsx eax, byte [eax]
and eax, 4
jne 0x403297
fld dword [esp + 0xc]
fsub dword [esp]
mov eax, dword [section..bss]
test bl, bl
mov ecx, dword [eax + 0xc]
fstp dword [ecx]
fld dword [esp + 0x10]
fsub dword [esp + 4]
fstp dword [ecx + 4]
fld dword [esp + 0x14]
fsub dword [esp + 8]
fstp dword [ecx + 8]
je 0x40322e
mov eax, dword [section..bss]
mov edi, dword [eax + 0xc]
fld dword [edi]
fadd dword [esp + 0x18]
fstp dword [edi]
fld dword [edi + 4]
fadd dword [esp + 0x1c]
fstp dword [edi + 4]
fld dword [edi + 8]
fadd dword [esp + 0x20]
fstp dword [edi + 8]
fld dword [esp + 0x3c]
fsub dword [esp + 0xc]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fsub dword [esp + 0x10]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fsub dword [esp + 0x14]
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fstp dword [ebp + 0x30]
fld dword [esp + 0x40]
fstp dword [ebp + 0x34]
fld dword [esp + 0x44]
fstp dword [ebp + 0x38]
mov eax, dword [esp + 0x94]
fld dword [ebp + 0x30]
fadd dword [eax + 4]
fstp dword [ebp + 0x30]
mov eax, dword [esp + 0x94]
fld dword [ebp + 0x34]
fadd dword [eax + 8]
fstp dword [ebp + 0x34]
mov eax, dword [esp + 0x94]
fld dword [ebp + 0x38]
fadd dword [eax + 0xc]
fstp dword [ebp + 0x38]
push ebp
call fcn.006437b0
pop ecx
sub esp, 0xffffff80
pop ebp
pop edi
pop esi
pop ebx
ret
fcompp
jmp 0x402fc0
fldz
fldz
jmp 0x4030ba
fcompp
jmp 0x4031cc