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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61fb80
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.00519cc0
fld qword [eax]
mov ebx, dword [ebp + 0xc]
fstp qword [esp + 0x4c]
fld qword [eax + 8]
lea ecx, [esp + 0x7c]
push ecx
fstp qword [esp + 0x58]
mov ecx, ebx
call fcn.00519cc0
fld qword [eax]
fstp qword [esp + 0x2c]
lea edx, [esp + 0x4c]
fld qword [eax + 8]
push edx
lea ecx, [esp + 0x20]
fstp qword [esp + 0x38]
call fcn.005eb290
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
call fcn.005eb290
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ecx
push eax
lea ecx, [esp + 0xc4]
mov dword [esp + 0x78], edx
call fcn.005165c0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x78], ecx
xor edi, edi
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xe0], edi
mov dword [esp + 0x80], edx
call fcn.005165c0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0xd8], 1
cmp ecx, dword [esp + 0x1c]
jne 0x54e84b
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x20]
jne 0x54e84b
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd8], 0
call fcn.005166b0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xd8], 0xffffffff
call fcn.005166b0
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [esp + 0x2c]
lea eax, [esp + 0x3c]
fstp qword [esp + 0x3c]
push eax
fld qword [esp + 0x38]
lea ecx, [esp + 0x60]
fstp qword [esp + 0x48]
push ecx
fld qword [esp + 0x54]
lea edx, [esp + 0x24]
push edx
fstp qword [esp + 0x68]
fld qword [esp + 0x60]
push ebx
push esi
fstp qword [esp + 0x78]
mov dword [esp + 0x28], edi
call fcn.0054e440
mov edi, eax
add esp, 0x14
sub edi, 1
js 0x54e969
mov ebx, dword [ebp + 0x10]
jmp 0x54e8a0
mov eax, dword [esp + edi*8 + 0x1c]
mov ecx, dword [esp + edi*8 + 0x20]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x5c]
push edx
fst qword [esp + 0x40]
lea eax, [esp + 0x80]
fild dword [esp + 0x1c]
push eax
mov ecx, esi
fst qword [esp + 0x4c]
fld qword [esp + 0x54]
fstp qword [esp + 0x64]
fld qword [esp + 0x5c]
fstp qword [esp + 0x6c]
fxch st(1)
fstp qword [esp + 0x84]
fstp qword [esp + 0x8c]
call fcn.00519830
test eax, eax
je 0x54e956
fld qword [esp + 0x2c]
lea ecx, [esp + 0x8c]
fstp qword [esp + 0x8c]
push ecx
fld qword [esp + 0x38]
mov ecx, dword [ebp + 0xc]
fstp qword [esp + 0x98]
lea edx, [esp + 0xb0]
fld qword [esp + 0x40]
push edx
fstp qword [esp + 0xb4]
fld qword [esp + 0x4c]
fstp qword [esp + 0xbc]
call fcn.00519830
test eax, eax
je 0x54e956
mov ecx, dword [esp + edi*8 + 0x1c]
inc dword [esp + 0x14]
mov eax, ebx
mov dword [eax], ecx
mov ecx, dword [esp + edi*8 + 0x20]
add ebx, 8
mov dword [eax + 4], ecx
sub edi, 1
jns 0x54e8a0
cmp dword [esp + 0x14], 0
jne 0x54e98f
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0xc]
cmp edx, dword [esi + 0xc]
jne 0x54e98f
mov eax, dword [ebx + 0x10]
cmp eax, dword [esi + 0x10]
jne 0x54e98f
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov esi, dword [esi + 0x10]
mov dword [esp + 0x14], 1
mov dword [eax + 4], esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd8], 0
call fcn.005166b0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xd8], 0xffffffff
call fcn.005166b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret