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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x44f8a4]
push esi
push 0
push 0x43f220
mov ecx, dword [eax]
push 0x2001
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x40e3b6
push ebx
push edi
mov dword [0x43f214], esp
mov dword [0x43f218], ebp
mov edi, dword [0x43f220]
mov esi, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
nop
fld dword [esi]
fsub dword [0x539f64]
fld dword [esi + 4]
fsub dword [0x539f68]
fld dword [esi + 8]
fsub dword [0x539f6c]
fld st(2)
fmul dword [0x539f58]
fld st(2)
fmul dword [0x539f5c]
fld st(2)
fmul dword [0x539f60]
fxch st(1)
faddp st(2)
fld st(4)
fmul dword [0x539f40]
fld st(4)
fmul dword [0x539f44]
fld st(4)
fmul dword [0x539f48]
fxch st(3)
faddp st(4)
fxch st(6)
fmul dword [0x539f4c]
fxch st(1)
faddp st(6)
fxch st(4)
fmul dword [0x539f50]
fld st(2)
fxch st(4)
fmul dword [0x539f54]
fxch st(1)
faddp st(5)
fxch st(1)
faddp st(5)
fxch st(1)
fstp dword [0x43f200]
faddp st(2)
fld dword [0x539f78]
mov eax, dword [0x43f200]
mov ebx, dword [0x43f1e0]
cmp eax, ebx
jge 0x40e248
fcompp
fcompp
add esi, 0x18
dec ebp
jne 0x40e19e
jmp 0x40e35e
fld dword [0x539fac]
fdivrp st(2)
mov ecx, dword [0x43f21c]
xor edx, edx
mov dword [edi + 8], eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], edx
mov dword [edi + 0x48], eax
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], edx
mov dword [edi + 0x68], eax
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], edx
mov eax, dword [0x43f204]
mov ebx, dword [0x43f20c]
mov ecx, dword [0x43f208]
mov edx, dword [0x43f210]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], edx
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], edx
fmul st(3), st(0)
fmulp st(2)
fst dword [0x43f1e8]
fmul st(2), st(0)
fmul st(1), st(0)
fmul dword [0x43f1fc]
fxch st(2)
fadd dword [0x539fa4]
fxch st(1)
fadd dword [0x539fa8]
fxch st(1)
fst dword [0x43f1ec]
fadd st(2)
fxch st(1)
fst dword [0x43f1f0]
faddp st(2)
fstp dword [0x43f1f4]
fstp dword [0x43f1f8]
mov eax, dword [0x43f1e8]
xor esp, esp
mov dword [edi + 0xc], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x6c], eax
mov eax, dword [0x43f1ec]
mov ebx, dword [0x43f1f0]
mov ecx, dword [0x43f1f4]
mov edx, dword [0x43f1f8]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], edx
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
add eax, eax
adc esp, esp
add ebx, ebx
adc esp, esp
mov eax, dword [0x43f224]
mov ebx, dword [0x43f228]
sub eax, ecx
adc esp, esp
sub ebx, edx
adc esp, esp
jne 0x40e354
add edi, 0x80
nop
add esi, 0x18
dec ebp
jne 0x40e19e
sub edi, dword [0x43f220]
mov esp, dword [0x43f214]
shr edi, 5
mov ebp, dword [0x43f218]
mov dword [0x43f220], edi
mov eax, dword [0x44f8a4]
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [0x43f220]
pop edi
test eax, eax
pop ebx
je 0x40e3b6
mov ecx, dword [0x44f854]
lea esi, [eax + eax*2]
shr esi, 1
mov edx, dword [ecx]
push 0
push esi
push 0x43f22c
push eax
mov eax, dword [0x44f8a4]
push 0
push eax
push 4
push ecx
call dword [edx + 0x80]
pop esi
pop ebp
ret