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

Disassembly:
sub esp, 0x68
mov ecx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
mov esi, dword [ebx + 4]
push edi
mov edi, dword [ebx]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
push eax
push 0
push ecx
mov dword [esp + 0x20], edi
call fcn.00430f10
add esp, 0xc
test esi, esi
jle 0x41d65e
add ebx, 0x8010
mov dword [esp + 0x10], esi
lea ecx, [ecx]
test byte [ebx + 0x24], 1
jne 0x41d651
mov edx, dword [esp + 0x7c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov ecx, edi
add ecx, ecx
fld dword [edx + ecx*8 + 0x10]
mov eax, esi
shl eax, 4
fsub dword [eax + edx + 0x10]
add eax, edx
fstp dword [esp + 0x30]
fld dword [edx + ecx*8 + 0x14]
fsub dword [eax + 0x14]
fstp dword [esp + 0x34]
fld dword [edx + ecx*8 + 0x18]
mov ecx, ebp
fsub dword [eax + 0x18]
add ecx, ecx
fstp dword [esp + 0x38]
fld dword [edx + ecx*8 + 0x10]
fsub dword [eax + 0x10]
fstp dword [esp + 0x24]
fld dword [edx + ecx*8 + 0x14]
fsub dword [eax + 0x14]
fstp dword [esp + 0x28]
fld dword [edx + ecx*8 + 0x18]
mov ecx, dword [esp + 0x24]
fsub dword [eax + 0x18]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
sub esp, 0xc
fstp dword [esp + 0x3c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
call fcn.0041abe0
fld dword [0x442664]
add esp, 0x18
lea eax, [esp + 0x1c]
fstp dword [esp]
push eax
call fcn.0041aac0
mov edx, dword [esp + 0x88]
lea ecx, [esi + esi*2]
mov esi, dword [esp + 0x20]
lea ecx, [edx + ecx*4]
push ecx
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x28]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + 8], esi
mov esi, dword [ecx]
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
lea eax, [esp + 0x6c]
push eax
call fcn.0041acd0
mov esi, dword [eax]
mov dword [esp + 0x58], esi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x34]
mov dword [ecx + 8], eax
lea ecx, [edi + edi*2]
mov edi, dword [esp + 0x38]
add esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [edx + ecx*4]
lea ecx, [edx + ecx*4]
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + 8]
mov dword [eax + 8], edi
lea eax, [esp + 0x78]
push eax
call fcn.0041acd0
mov edi, dword [eax]
mov dword [esp + 0x64], edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x64]
mov dword [ecx], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
add esp, 0x10
mov eax, esp
mov dword [eax], esi
lea ecx, [ebp + ebp*2]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], edx
mov edx, dword [ecx]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
lea eax, [esp + 0x84]
push eax
call fcn.0041acd0
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x30]
mov dword [ecx], edx
mov dword [ecx + 4], esi
add esp, 0x1c
mov dword [ecx + 8], eax
add ebx, 0x40
dec dword [esp + 0x10]
jne 0x41d480
test edi, edi
jle 0x41d685
mov esi, dword [esp + 0x80]
lea esp, [esp]
fld1
push ecx
fstp dword [esp]
push esi
call fcn.0041aac0
add esp, 8
add esi, 0xc
dec edi
jne 0x41d670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret