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

Disassembly:
sub esp, 0x144
mov eax, dword [esp + 0x14c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
xor edi, edi
push eax
push esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], 1
call fcn.00419530
lea ebx, [esp + 0xe0]
lea ecx, [esi + 0xec]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x168]
add esp, 8
lea ebp, [esp + 0x124]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x28]
lea eax, [esi + 0x24]
push ebp
push eax
push edx
call fcn.00441d70
lea eax, [esp + 0x54]
push eax
push esi
push ebp
call fcn.00441b70
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xd0]
lea eax, [esi + 0x48]
push ecx
push eax
push edx
call fcn.00441d70
lea eax, [esp + 0xdc]
lea ecx, [esp + 0xdc]
push eax
lea eax, [esi + 0xc]
push eax
push ecx
call fcn.00441b70
lea edx, [esp + 0xcc]
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0xec]
push eax
push ecx
call fcn.00441ba0
lea edx, [esp + 0xd8]
lea eax, [esp + 0xd8]
push edx
push 0x40000000
push eax
call fcn.00441bd0
add esp, 0x48
lea ecx, [esp + 0x48]
lea edx, [esp + 0x9c]
lea eax, [esp + 0x48]
push ecx
push edx
push eax
call fcn.00441ba0
lea ecx, [esp + 0xc4]
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.0042e800
add esp, 0x14
cmp eax, 0xffffffff
je 0x41a47f
mov ecx, dword [esp + 0x24]
mov dl, 1
shl dl, cl
mov cl, byte [esi + 0xe4]
or cl, dl
cmp eax, 0xfffffffe
mov byte [esi + 0xe4], cl
jne 0x41a351
mov eax, dword [0x787ad4]
mov dword [esp + 0x30], 0xc439b47b
mov dword [edi], eax
mov ecx, dword [0x787ad0]
mov dword [esp + 0x34], 0xc3c28b85
mov dword [esp + 0x38], 0xc44e0666
mov dword [esp + 0x3c], 0xc3b3b5c3
mov dword [edi + 4], ecx
jmp 0x41a3e2
cmp eax, 0xfffffffd
jne 0x41a388
mov edx, dword [0x787b08]
mov dword [esp + 0x30], 0xc44bd333
mov dword [edi], edx
mov eax, dword [0x787b0c]
mov dword [esp + 0x34], 0xc3b1f852
mov dword [esp + 0x38], 0xc43b9b85
mov dword [esp + 0x3c], 0xc3cbfeb8
mov dword [edi + 4], eax
jmp 0x41a3e2
mov ecx, dword [0x783a58]
mov edx, dword [0x783624]
shl eax, 4
movsx ebx, word [eax + ecx]
fld dword [edx + ebx*8]
fstp dword [esp + 0x30]
movsx ebx, word [eax + ecx]
fld dword [edx + ebx*8 + 4]
fstp dword [esp + 0x34]
movsx ebx, word [eax + ecx + 2]
fld dword [edx + ebx*8]
fstp dword [esp + 0x38]
movsx ebx, word [eax + ecx + 2]
fld dword [edx + ebx*8 + 4]
fstp dword [esp + 0x3c]
fld dword [eax + ecx + 8]
fchs
fstp dword [edi]
mov ecx, dword [0x783a58]
mov ebx, dword [esp + 0x10]
fld dword [eax + ecx + 0xc]
fchs
fstp dword [edi + 4]
push edi
push edi
mov dword [edi + 8], 0
call fcn.00441ae0
lea edx, [esp + 0x20]
lea eax, [esp + 0xa4]
push edx
push eax
push edi
call fcn.00441c40
fld dword [esp + 0x2c]
fcomp dword [0x47f344]
add esp, 0x14
fnstsw ax
and eax, 0x4100
je 0x41a47f
lea ecx, [esp + 0x48]
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.00441b70
lea ecx, [esp + 0x44]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
call fcn.004438e0
mov ecx, dword [esp + 0x38]
mov edx, dword [edi]
mov dword [ebx - 0x10], edx
mov edx, dword [ebp]
fstp dword [esp + ecx*4 + 0xc0]
mov ecx, dword [edi + 4]
mov dword [ebx - 8], edx
mov edx, dword [esp + 0x38]
mov dword [ebx - 0xc], ecx
mov ecx, dword [ebp + 4]
add esp, 0x18
mov dword [ebx], 0x3d4ccccd
mov dword [ebx - 4], ecx
inc edx
add ebx, 0x18
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc eax
add ecx, 0xc
add ebp, 0xc
cmp eax, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jl 0x41a24b
mov ebx, dword [esp + 0x20]
cmp ebx, 2
jle 0x41a52d
fld dword [0x47f4ac]
xor ecx, ecx
test ebx, ebx
jle 0x41a4da
fcom dword [esp + ecx*4 + 0xa8]
fnstsw ax
and eax, 0x4100
jne 0x41a4d5
fstp st(0)
fld dword [esp + ecx*4 + 0xa8]
mov dword [esp + 0x1c], ecx
inc ecx
cmp ecx, ebx
jl 0x41a4b8
fstp st(0)
fld dword [0x47f4ac]
xor ecx, ecx
test ebx, ebx
jle 0x41a545
mov edx, dword [esp + 0x1c]
cmp ecx, edx
je 0x41a524
fcom dword [esp + ecx*4 + 0xa8]
fnstsw ax
and eax, 0x4100
jne 0x41a524
fld dword [esp + ecx*4 + 0xa8]
fcomp dword [esp + edx*4 + 0xa8]
fnstsw ax
and eax, 0x100
jne 0x41a524
fstp st(0)
fld dword [esp + ecx*4 + 0xa8]
mov dword [esp + 0x2c], ecx
inc ecx
cmp ecx, ebx
jl 0x41a4e8
fstp st(0)
jmp 0x41a54b
jne 0x41a547
mov dword [esp + 0x1c], 0
mov ecx, 1
mov edx, dword [esp + 0x1c]
jmp 0x41a676
fstp st(0)
mov edx, dword [esp + 0x1c]
cmp ebx, 2
jle 0x41a561
mov dword [esp + 0x20], 2
mov ebx, dword [esp + 0x20]
jmp 0x41a672
test ebx, ebx
jne 0x41a572
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x144
ret
cmp ebx, 1
jne 0x41a669
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
lea ecx, [esp + 0x10]
push ebx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xd8]
push ecx
push edx
push esi
mov dword [esp + 0x8c], eax
call fcn.00419bd0
fld dword [esp + 0x20]
fcomp dword [0x4c7ef4]
add esp, 0x10
fnstsw ax
and eax, 0x4100
jne 0x41a5e8
mov eax, dword [esp + 0x10]
mov dword [0x4c7ef4], eax
fld dword [esp + 0x10]
fmul dword [esp + 0x70]
lea edi, [esi + 0x6c]
mov dword [esp + 0x5c], 0
push edi
push ecx
fstp dword [esp + 0x5c]
fld dword [esp + 0x18]
fmul dword [esp + 0x7c]
lea ecx, [esp + 0x5c]
fstp dword [esp + 0x60]
fld dword [esi + 0xdc]
fmul dword [0x47f458]
fstp dword [esp]
push ecx
push edi
call fcn.00443660
push edi
lea edx, [esp + 0x84]
push 0x3f000000
push edx
push edi
call fcn.00443660
lea eax, [esp + 0x60]
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.004438c0
lea edx, [esp + 0x40]
lea eax, [esp + 0x7c]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.00443770
add esp, 0x34
jmp 0x41a874
cmp ebx, 2
jne 0x41a890
mov ecx, dword [esp + 0x2c]
lea eax, [edx + edx*2]
lea edx, [esp + 0x10]
shl eax, 3
push 2
push edx
fld dword [esp + eax + 0xe0]
fstp dword [esp + 0x88]
fld dword [esp + eax + 0xd0]
fstp dword [esp + 0x78]
fld dword [esp + eax + 0xd4]
fstp dword [esp + 0x7c]
fld dword [esp + eax + 0xd8]
fstp dword [esp + 0x80]
fld dword [esp + eax + 0xdc]
lea eax, [ecx + ecx*2]
fstp dword [esp + 0x84]
shl eax, 3
fld dword [esp + eax + 0xe0]
fstp dword [esp + 0xa0]
fld dword [esp + eax + 0xd0]
fstp dword [esp + 0x90]
fld dword [esp + eax + 0xd4]
fstp dword [esp + 0x94]
fld dword [esp + eax + 0xd8]
fstp dword [esp + 0x98]
fld dword [esp + eax + 0xdc]
lea eax, [esp + 0x74]
fstp dword [esp + 0x9c]
push eax
push esi
call fcn.00419bd0
fld dword [esp + 0x20]
fcomp dword [0x4c7ef4]
add esp, 0x10
fnstsw ax
and eax, 0x4100
jne 0x41a73a
mov ecx, dword [esp + 0x10]
mov dword [0x4c7ef4], ecx
fld dword [esp + 0x14]
fcomp dword [0x4c7ef4]
fnstsw ax
and eax, 0x4100
jne 0x41a757
mov edx, dword [esp + 0x14]
mov dword [0x4c7ef4], edx
fld dword [esp + 0x10]
fmul dword [esp + 0x70]
lea edi, [esi + 0x6c]
lea eax, [esp + 0x54]
push edi
push ecx
fstp dword [esp + 0x5c]
fld dword [esp + 0x18]
fmul dword [esp + 0x7c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
fstp dword [esp + 0x60]
fld dword [esp + 0x1c]
fmul dword [esp + 0x90]
fstp dword [esp + 0x68]
fld dword [esp + 0x1c]
fmul dword [esp + 0x94]
fstp dword [esp + 0x6c]
fld dword [esi + 0xdc]
fmul dword [0x47f458]
fstp dword [esp]
push eax
push edi
call fcn.00443660
fld dword [esi + 0xdc]
add esp, 0x10
fmul dword [0x47f458]
push edi
push ecx
lea ecx, [esp + 0x68]
fstp dword [esp]
push ecx
push edi
call fcn.00443660
push edi
lea edx, [esp + 0x84]
push 0x3f000000
push edx
push edi
call fcn.00443660
push edi
lea eax, [esp + 0xac]
push 0x3f000000
push eax
push edi
call fcn.00443660
lea ecx, [esp + 0x70]
lea edx, [esp + 0xa8]
push ecx
push edx
call fcn.004438c0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x8c]
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
call fcn.00443770
fld dword [esi + 0xd4]
fmul dword [0x47f458]
add esp, 0x44
lea eax, [esp + 0x40]
fmul dword [esp + 0x18]
push eax
fadd dword [esi + 0x80]
fstp dword [esi + 0x80]
lea ecx, [esp + 0x94]
push ecx
call fcn.004438c0
lea edx, [esp + 0x20]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.00443770
add esp, 0x14
fld dword [esi + 0xd4]
fmul dword [0x47f458]
fmul dword [esp + 0x18]
fadd dword [esi + 0x80]
fstp dword [esi + 0x80]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x144
ret