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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, esi
mov ebx, 3
mov eax, dword [0x416710]
push eax
push edi
call fcn.00411990
add esp, 8
add edi, 0xd8
dec ebx
jne 0x40cb56
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], 3
mov ebx, edi
mov ecx, dword [0x416710]
push ecx
push ebx
call fcn.00411d00
mov eax, dword [esp + 0x18]
add esp, 8
add ebx, 0xd8
dec eax
mov dword [esp + 0x10], eax
jne 0x40cb7b
mov edx, dword [ebp + 0x10]
lea eax, [edi + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 3
lea ecx, [edx + 0x48]
lea edx, [esi + 0x78]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
jmp 0x40cbc4
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
sub esi, edi
sub ebx, edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x34], ebx
mov ebx, dword [ebp + 0x10]
sub edi, ebx
mov dword [esp + 0x10], 3
fld qword [esi + eax]
fsub qword [eax]
mov ebx, dword [esp + 0x34]
add eax, 8
add ecx, 8
add edx, 8
fstp qword [ebx + eax - 8]
fld qword [ecx + edi - 8]
fsub qword [eax + 0x10]
dec dword [esp + 0x10]
fstp qword [ecx - 8]
fld qword [edx - 0x20]
fsub qword [eax + 0x28]
fstp qword [ecx + 0x10]
fld qword [edx - 8]
fsub qword [eax + 0x40]
fstp qword [ecx + 0x28]
fld qword [edx + 0x10]
fsub qword [eax + 0x58]
fstp qword [ecx + 0x40]
fld qword [edx + 0x28]
fsub qword [eax + 0x70]
fstp qword [ecx + 0x58]
jne 0x40cbdf
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
add edx, 0xd8
add ecx, 0xd8
add eax, 0xd8
dec esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], esi
jne 0x40cbbe
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x30], 3
lea edi, [eax + 0xa0]
sub eax, ecx
lea esi, [ecx + 0x98]
mov dword [esp + 0x34], eax
jmp 0x40cc8a
mov eax, dword [esp + 0x34]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi]
fld qword [eax + esi]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 8]
fstp qword [esp + 0x40]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi - 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [edi - 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x24], edx
mov edx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
call fcn.0040cf80
mov eax, dword [esp + 0x60]
add esp, 0x30
fstp qword [ebx]
add esi, 0xd8
add edi, 0xd8
add ebx, 8
dec eax
mov dword [esp + 0x30], eax
jne 0x40cc86
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret