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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x64]
fld dword [ebx]
push edi
fmul qword [0x490160]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x24]
fld dword [ebx + 0xc]
mov eax, dword [esp + 0x24]
fmul qword [0x490160]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fistp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov eax, dword [edx + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x6c]
mov edi, dword [ecx + 0xc]
dec edi
cmp edi, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edi
jl 0x43cc3c
push ebp
push esi
jmp 0x43ca08
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x14]
mov eax, dword [ecx]
fld qword [0x490038]
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
mov esi, dword [esp + 0x68]
mov ebp, dword [esi + 4]
fadd st(1)
imul ebp, edi
fild dword [esp + 0x14]
faddp st(2)
fld dword [ebx + 0x10]
fmul st(2)
fld dword [ebx + 0xc]
add ebp, eax
fmul st(2)
mov eax, dword [esi + 0x10]
lea ebp, [eax + ebp*4]
faddp st(1)
fadd dword [ebx + 0x14]
fstp dword [esp + 0x40]
fld dword [ebx + 4]
fmulp st(2)
fmul dword [ebx]
faddp st(1)
fadd dword [ebx + 8]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fmul qword [0x490160]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fistp dword [esp + 0x34]
fld dword [esp + 0x40]
mov edi, dword [esp + 0x34]
fmul qword [0x490160]
add edi, 0xffff8001
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fistp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov esi, dword [ecx + 8]
sub esi, dword [ecx]
add eax, 0xffff8001
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
push eax
sub ebp, 4
mov dword [esp + 0x20], edx
call fcn.0040ed00
add esp, 4
test esi, esi
je 0x43cc22
jmp 0x43cacd
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov eax, edi
mov edx, edi
add edi, dword [esp + 0x48]
dec esi
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x18]
add dword [esp + 0x18], edi
mov edi, dword [esp + 0x20]
mov ecx, esi
sar edx, 8
sar esi, 8
sar eax, 0x10
dec edi
add ebp, 4
sar ecx, 0x10
and edx, 0xff
and esi, 0xff
cmp eax, edi
jae 0x43cb42
mov edi, dword [esp + 0x24]
dec edi
cmp ecx, edi
jae 0x43cb42
push esi
push edx
mov edx, dword [esp + 0x24]
imul ecx, edx
lea esi, [edx*4]
mov edx, dword [esp + 0x44]
add ecx, eax
push esi
lea eax, [edx + ecx*4]
push eax
push ebp
call fcn.0043b8c0
add esp, 0x14
jmp 0x43cc13
lea edi, [eax + 1]
mov dword [esp + 0x54], edi
cmp edi, dword [esp + 0x20]
ja 0x43cc13
lea edi, [ecx + 1]
mov dword [esp + 0x5c], edi
cmp edi, dword [esp + 0x24]
ja 0x43cc13
mov ebx, dword [esp + 0x3c]
mov edi, ecx
imul edi, dword [esp + 0x1c]
add edi, eax
lea ebx, [ebx + edi*4]
mov edi, dword [esp + 0x1c]
lea edi, [ebx + edi*4]
mov dword [esp + 0x28], edi
lea edi, [ebx + 4]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x28]
add edi, 4
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x20]
dec edi
mov dword [esp + 0x10], 0
cmp eax, edi
jbe 0x43cbac
lea ebx, [esp + 0x10]
mov eax, ebx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x54], edi
jbe 0x43cbbe
lea eax, [esp + 0x10]
mov dword [esp + 0x40], eax
mov edi, eax
jmp 0x43cbc2
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
dec eax
cmp ecx, eax
jbe 0x43cbd3
lea ebx, [esp + 0x10]
mov ecx, ebx
jmp 0x43cbd7
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x5c], eax
jbe 0x43cbe5
lea eax, [esp + 0x10]
mov edi, eax
jmp 0x43cbe9
mov eax, dword [esp + 0x28]
push esi
push edx
mov edx, dword [eax]
mov eax, dword [ebx]
push edx
push eax
mov eax, dword [edi]
lea edx, [esp + 0x70]
push edx
mov edx, dword [ecx]
call fcn.0043b560
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x8c]
push ebp
call fcn.00416730
add esp, 0x18
cmp dword [esp + 0x44], 0
jne 0x43cac5
mov ebx, dword [esp + 0x70]
emms
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
dec eax
cmp eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
jge 0x43ca00
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x54
ret 0x14