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

Disassembly:
sub esp, 0x60
xor ecx, ecx
mov dword [esp + 8], ecx
push esi
mov dword [esp + 8], ecx
push edi
mov esi, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ax, word [esi + 0x120]
mov dword [esp + 0x34], ecx
test ax, ax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
je 0x404b82
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
lea edx, [esi + 0x108]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
lea ecx, [esi + 0xf0]
jmp 0x404a7d
fstp dword [esp + 0x28]
fld dword [ecx]
fadd dword [esp + 0x14]
fld dword [ecx + 4]
fadd dword [esp + 0x18]
fld dword [ecx + 8]
fadd dword [esp + 0x1c]
fld dword [ecx + 8]
fmul dword [edx + 4]
fxch st(3)
fstp dword [esp + 0x14]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [ecx + 4]
fmul dword [edx + 8]
fld dword [edx + 8]
fmul dword [ecx]
fxch st(1)
fsubp st(2)
fld dword [ecx + 8]
fmul dword [edx]
fxch st(2)
fadd dword [esp + 0x20]
fld dword [ecx + 4]
fmul dword [edx]
fxch st(1)
fstp dword [esp + 0x20]
fld dword [edx + 4]
fmul dword [ecx]
fxch st(3)
fsubp st(2)
mov ax, word [esi + 0x120]
add ecx, 0xc
fxch st(1)
fadd dword [esp + 0x24]
add edx, 0xc
dec ax
fstp dword [esp + 0x24]
fsubrp st(1)
mov word [esi + 0x120], ax
fadd dword [esp + 0x28]
jne 0x404a79
fstp dword [esp + 0x28]
call fcn.00441ac0
push esi
call fcn.00441870
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
push ecx
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00404ea0
add esp, 0x10
call fcn.00441aa0
fld dword [esp + 8]
fdiv dword [esi + 0x74]
fstp dword [esp + 8]
fld dword [esp + 0xc]
fdiv dword [esi + 0x74]
fstp dword [esp + 0xc]
fld dword [esp + 0x10]
fdiv dword [esi + 0x74]
fstp dword [esp + 0x10]
fld dword [esi + 0x78]
fmul dword [esi + 0x74]
fld dword [esi + 0x7c]
fmul dword [esi + 0x74]
fxch st(1)
fdivr dword [esp + 0x20]
fstp dword [esp + 0x2c]
fdivr dword [esp + 0x24]
fstp dword [esp + 0x30]
fld dword [esi + 0x80]
fmul dword [esi + 0x74]
fdivr dword [esp + 0x28]
fstp dword [esp + 0x34]
fld dword [esp + 0xc]
fsub dword [0x44d144]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
fld dword [ecx + 0x17c]
fadd dword [esp + 8]
fxch st(1)
fstp dword [ecx + 0x270]
fstp dword [ecx + 0x17c]
fld dword [ecx + 0x270]
fadd dword [ecx + 0x180]
fld dword [ecx + 0x184]
fadd dword [esp + 0x10]
fld dword [ecx + 0x17c]
fadd dword [ecx + 0x8c]
fxch st(2)
fstp dword [ecx + 0x180]
fstp dword [ecx + 0x184]
fstp dword [ecx + 0x8c]
fld dword [ecx + 0x180]
fadd dword [ecx + 0x90]
fld dword [ecx + 0x184]
fadd dword [ecx + 0x94]
fxch st(1)
fstp dword [ecx + 0x90]
fstp dword [ecx + 0x94]
lea edi, [esi + 0x60]
mov dword [ecx + 0x26c], eax
mov dword [ecx + 0x274], edx
fld dword [edi]
fadd dword [esp + 0x2c]
fld dword [esi + 0x64]
fadd dword [esp + 0x30]
fld dword [esi + 0x68]
fadd dword [esp + 0x34]
fxch st(2)
fstp dword [edi]
fstp dword [esi + 0x64]
fstp dword [esi + 0x68]
call fcn.00441ac0
push esi
call fcn.00441870
lea ecx, [esp + 0x3c]
add esp, 4
push ecx
push edi
call fcn.00404c90
lea eax, [esp + 0x40]
add esp, 8
push eax
call fcn.004418d0
add esp, 4
push esi
call fcn.004417f0
add esp, 4
add esi, 0x30
call fcn.00441f30
push esi
call fcn.004417f0
add esp, 4
call fcn.00441aa0
pop edi
pop esi
add esp, 0x60
ret