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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x540bc7
cmp dword [ebp - 0x1c], 1
jne 0x540bc1
mov eax, dword [ebp + 0x48]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
fstp qword [ebp - 0x30]
mov eax, dword [ebp + 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x40]
fld qword [eax]
fstp qword [ebp - 0x40]
mov eax, dword [ebp + 0x60]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0xc]
fld qword [eax]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x34]
fld qword [eax]
mov eax, dword [ebp + 0x5c]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x5c]
mov ebx, dword [eax]
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
fld qword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x58]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], edi
fstp qword [esp + 0x94]
fld qword [ebp - 0x30]
fstp qword [esp + 0x8c]
mov esi, dword [ebp - 0x34]
mov dword [esp + 0x88], esi
mov edi, dword [ebp - 0x38]
mov dword [esp + 0x84], edi
fld qword [ebp - 0x40]
fstp qword [esp + 0x7c]
fxch st(5)
mov esi, dword [ebp - 0x44]
mov dword [esp + 0x78], esi
mov edi, dword [ebp - 0x48]
mov dword [esp + 0x74], edi
fstp qword [esp + 0x6c]
fxch st(3)
mov esi, dword [ebp - 0x4c]
mov dword [esp + 0x68], esi
mov edi, dword [ebp - 0x50]
mov dword [esp + 0x64], edi
fstp qword [esp + 0x5c]
fxch st(1)
mov esi, dword [ebp - 0x54]
mov dword [esp + 0x58], esi
mov edi, dword [ebp - 0x58]
mov dword [esp + 0x54], edi
mov esi, dword [ebp - 0x5c]
mov dword [esp + 0x50], esi
fstp qword [esp + 0x48]
mov edi, dword [ebp - 0x60]
mov dword [esp + 0x44], edi
mov esi, dword [ebp - 0x64]
mov dword [esp + 0x40], esi
mov edi, dword [ebp - 0x68]
mov dword [esp + 0x3c], edi
mov esi, dword [ebp - 0x6c]
mov dword [esp + 0x38], esi
fstp qword [esp + 0x30]
mov edi, dword [ebp - 0x70]
mov dword [esp + 0x2c], edi
fstp qword [esp + 0x24]
mov esi, dword [ebp - 0x74]
mov dword [esp + 0x20], esi
fstp qword [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
fstp qword [esp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0057ab33
mov edx, dword [ebp + 0x54]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x540bc2
nop
jmp 0x540a04
nop
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret