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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e9f48
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x5bd092
lea eax, [esi + 0x364]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esi + 0x354]
push ecx
call dword [0x610994]
test eax, eax
je 0x5bd092
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x5bd092
mov edx, dword [esi]
mov eax, dword [edx + 0x168]
mov ecx, esi
call eax
test al, al
je 0x5bce96
or dword [esi + 0x3bc], 1
jmp 0x5bce9d
and dword [esi + 0x3bc], 0xfffffffe
mov edx, dword [esi]
mov eax, dword [edx + 0x118]
mov ecx, esi
call eax
test al, al
jne 0x5bceb6
or dword [esi + 0x3bc], 4
jmp 0x5bcebd
and dword [esi + 0x3bc], 0xfffffffb
mov ecx, dword [esi + 0x3a4]
mov eax, dword [esi + 0x3a0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
cmp eax, ebx
mov dword [esp + 0x80], ebx
je 0x5bcf30
mov edx, ecx
mov ecx, dword [esi + 0x364]
push edx
mov edx, dword [esi + 0x368]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x36c]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x370]
push edi
mov dword [eax + 8], ecx
lea edi, [esp + 0x74]
mov dword [eax + 0xc], edx
call fcn.005e4870
mov edi, dword [ebp + 8]
add esp, 0x1c
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
push edi
mov ecx, esi
call edx
cmp byte [esi + 0x3ca], bl
jne 0x5bcf5f
cmp dword [esi + 0x3dc], ebx
jne 0x5bcf5f
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
push edi
mov ecx, esi
call edx
jmp 0x5bd04c
mov ecx, dword [esi + 0x3dc]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x40]
push eax
push 0x18
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], ebx
call dword [0x6100b4]
cmp dword [esi + 0x3cc], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edi, [esi + 0x3cc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x5bcfec
cmp dword [esi + 0x3d4], ebx
jne 0x5bcfec
cmp dword [esi + 0x3d0], ebx
jne 0x5bcfec
cmp dword [esi + 0x3d8], ebx
jne 0x5bcfec
mov dword [edi], ebx
mov edx, ebx
mov dword [edi + 4], edx
mov edx, eax
mov dword [edi + 8], edx
mov edx, ecx
mov dword [edi + 0xc], edx
mov edx, dword [esi + 0x3dc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edx
push eax
lea edx, [esp + 0x14]
mov byte [esp + 0x30], bl
mov dword [esp + 0x2c], ecx
call fcn.005b6d20
movzx ecx, byte [esi + 0x3e0]
mov edx, dword [ebp + 8]
add esp, 4
push ebx
push 0xff
push ecx
lea ecx, [esi + 0x364]
push ecx
push ecx
push eax
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x4c]
call fcn.005b4fd0
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push eax
call dword [0x6100e8]
mov edi, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
push edi
mov ecx, esi
call eax
cmp byte [esi + 0x3c9], bl
je 0x5bd06e
mov edx, dword [esi]
mov eax, dword [edx + 0xac]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
push ebx
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb4]
push edi
mov ecx, esi
call eax
lea eax, [esp + 0x58]
call fcn.005e47c0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8