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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0xc0]
push eax
push edi
push esi
mov dword [esp + 0x1c], 0
call fcn.0045e6d0
add esp, 0xc
test eax, eax
jne 0x415d65
mov ebx, edi
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0xc0]
push ecx
push edi
push esi
call fcn.0045e6d0
add esp, 0xc
test eax, eax
jne 0x415d68
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
lea edx, [esp + 0xe0]
push edx
push ebx
push edi
call fcn.0045e6d0
add esp, 0xc
test eax, eax
jne 0x415dc6
lea ecx, [esp + 0xc0]
mov eax, esi
mov esi, edi
push ecx
push eax
push esi
mov dword [esp + 0x20], eax
mov edi, eax
call fcn.0045e6d0
add esp, 0xc
test eax, eax
jne 0x415da5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xe0]
push edx
push ebx
push eax
call fcn.0045e6d0
add esp, 0xc
test eax, eax
jne 0x415dc6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x10]
add edi, 0x30
add ebx, 0x30
mov dword [esp + 0x18], edi
mov edx, dword [ecx]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x1c], ebx
mov eax, dword [ecx + 4]
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x64], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x68], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esi + 0x30]
mov ecx, eax
mov dword [esp + 0x14], eax
mov esi, 1
mov edx, dword [ecx]
mov dword [esp + 0x70], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x74], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x78], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x7c], ecx
jmp 0x415e27
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
cmp esi, 2
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov edx, dword [ecx]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], eax
je 0x415e8a
cmp esi, 4
jne 0x415e9e
push 0xbff00000
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.00418af0
add esp, 0xc
cmp esi, 3
je 0x415ea8
cmp esi, 4
jne 0x415ebc
push 0xbff00000
lea edx, [esp + 0x34]
push 0
push edx
call fcn.00418af0
add esp, 0xc
fld qword [esp + 0x20]
fadd qword [esp + 0x40]
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xa4], ecx
fmul qword [0x550f68]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa8], edx
push ecx
mov dword [esp + 0xb0], eax
fstp qword [esp + 0xb4]
fld qword [esp + 0x2c]
fadd qword [esp + 0x4c]
fmul qword [0x550f68]
fstp qword [esp + 0xbc]
call fcn.004189e0
fstp st(0)
fld qword [esp + 0x34]
fadd qword [esp + 0x24]
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x88], eax
fmul qword [0x550f68]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xf0]
lea eax, [esp + 0x94]
mov dword [esp + 0x8c], ecx
push eax
mov dword [esp + 0x94], edx
fstp qword [esp + 0x98]
fld qword [esp + 0x40]
fadd qword [esp + 0x30]
fmul qword [0x550f68]
fstp qword [esp + 0xa0]
call fcn.004189e0
lea ecx, [esp + 0x58]
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0xac]
push edx
push eax
fstp st(0)
call fcn.0045eaa0
add esp, 0x14
test eax, eax
je 0x416006
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 8], edx
lea edx, [esp + 0x50]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.00418ba0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x1c]
fstp qword [edi]
add esp, 8
inc eax
add ebx, 0x10
add edi, 8
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x416014
inc esi
cmp esi, 4
jle 0x415e23
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret