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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xd4
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0xec]
mov ebx, dword [esp + 0xe8]
mov esi, dword [0x6077f8]
mov edx, dword [0x6077fc]
mov ecx, dword [0x6077f8]
mov eax, dword [0x6077fc]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov byte [esp + 0x83], 0
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x9c], eax
cmp eax, 0x7fffffff
ja 0x54c91f
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x607800]
mov eax, dword [0x607804]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, 1
xor ecx, ecx
cmp dword [edx + 4], 0
cmove eax, ecx
cmp eax, 1
je 0x54c99c
jmp 0x54ca0b
mov eax, dword [esp + 0x20]
mov edx, dword [0x6077f8]
mov ecx, dword [0x6077fc]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 1
jmp 0x54cb03
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x30]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x74]
cmp eax, ecx
sete al
mov byte [esp + 0x1f], al
and al, 1
mov byte [esp + 0xb7], al
jmp 0x54ca31
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00545b70
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
jmp 0x54ca80
mov al, byte [esp + 0x1f]
movzx ecx, al
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.005445c0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.00545b10
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xb8], eax
mov edx, dword [esp + 0x60]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x54cad9
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 0
jmp 0x54cb01
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 1
jmp 0x54cb03
mov eax, dword [esp + 0x24]
add esp, 0xd4
pop esi
pop edi
pop ebx
ret