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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002b690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x1003497c]
mov ecx, dword [ebp + 0xc]
push ebx
xor eax, ebp
push esi
push edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], edi
call fcn.005b7b48
push eax
mov dword [esp + 0x78], 0
call fcn.005bb008
mov esi, dword [esp + 0x3c]
add esp, 4
test esi, esi
mov ebx, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x74], 0xffffffff
je 0x5bc56e
push 0
lea ecx, [esp + 0x30]
call fcn.005cde8b
mov eax, dword [esi + 4]
test eax, eax
jbe 0x5bc54c
cmp eax, 0xffffffff
jae 0x5bc54c
dec eax
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
xor eax, eax
test ecx, ecx
setne al
lea ecx, [esp + 0x2c]
dec eax
and esi, eax
call fcn.005cdeae
test esi, esi
je 0x5bc56e
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
call fcn.005bc178
mov al, byte [edi]
cmp al, 0x2b
mov ecx, 1
mov dword [esp + 0x74], ecx
je 0x5bc5b0
cmp al, 0x2d
je 0x5bc5b0
cmp al, 0x30
jne 0x5bc5a6
mov al, byte [edi + 1]
cmp al, 0x78
je 0x5bc59c
cmp al, 0x58
jne 0x5bc5a6
mov dword [esp + 0x18], 2
jmp 0x5bc5b4
mov dword [esp + 0x18], 0
jmp 0x5bc5b4
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
cmp ecx, 0x10
mov ebx, dword [esp + 0x4c]
mov eax, ebx
jae 0x5bc5c7
lea eax, [esp + 0x4c]
cmp byte [eax], 0x7f
je 0x5bc63a
cmp ecx, 0x10
mov eax, ebx
jae 0x5bc5d7
lea eax, [esp + 0x4c]
cmp byte [eax], 0
jle 0x5bc63a
cmp ecx, 0x10
jae 0x5bc5e5
lea ebx, [esp + 0x4c]
mov al, byte [ebx]
cmp al, 0x7f
mov esi, dword [ebp + 0x24]
je 0x5bc63a
test al, al
jle 0x5bc63a
mov edx, dword [esp + 0x18]
movsx eax, al
mov ecx, esi
sub ecx, edx
cmp eax, ecx
jae 0x5bc63a
mov edx, dword [ebp + 0x24]
sub esi, eax
mov eax, dword [esp + 0x14]
sub edx, esi
add edi, esi
inc edx
push edx
lea ecx, [eax + esi + 1]
push edi
push ecx
call fcn.005cebc8
mov ecx, dword [ebp + 0x24]
add esp, 0xc
mov byte [edi], 0x2c
mov al, byte [ebx + 1]
inc ecx
test al, al
mov dword [ebp + 0x24], ecx
jle 0x5bc630
inc ebx
mov al, byte [ebx]
cmp al, 0x7f
mov edi, dword [esp + 0x14]
jne 0x5bc5ee
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x5bc650
mov ecx, dword [ebp + 0x24]
cmp esi, ecx
jbe 0x5bc650
sub esi, ecx
jmp 0x5bc652
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x5bc744
mov edx, dword [ebp + 0x10]
cmp eax, 0x100
mov eax, dword [ebp + 0x14]
je 0x5bc69b
test esi, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jbe 0x5bc68c
mov ecx, dword [ebp + 0x1c]
push ecx
lea ecx, [esp + 0x20]
call fcn.005baf88
dec esi
jne 0x5bc67c
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor esi, esi
jmp 0x5bc74a
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
test eax, eax
mov ebx, edi
mov dword [esp + 0x24], edx
jbe 0x5bc6fe
mov ecx, dword [esp + 0x30]
add ecx, 8
mov dword [esp + 0x40], ecx
mov edi, eax
mov dl, byte [ebx]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x18], dl
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.005ce920
mov ecx, dword [esp + 0x40]
add esp, 0x14
push ecx
lea ecx, [esp + 0x28]
call fcn.005baf88
inc ebx
dec edi
jne 0x5bc6ba
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x24]
add edi, eax
sub ecx, eax
test esi, esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
mov dword [ebp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jbe 0x5bc738
lea esp, [esp]
mov ecx, dword [ebp + 0x1c]
push ecx
lea ecx, [esp + 0x20]
call fcn.005baf88
dec esi
jne 0x5bc728
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor esi, esi
jmp 0x5bc74a
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [esp + 0x38]
push ecx
push ebx
push edi
push edx
push eax
call fcn.005bc7e8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x50]
add esp, 0x1c
test esi, esi
mov dword [edx + 0x18], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jbe 0x5bc79d
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [esp + 0x28]
call fcn.005baf88
dec esi
jne 0x5bc78d
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x60], 0x10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi], ecx
mov dword [esi + 4], edx
jb 0x5bc7c2
mov eax, dword [esp + 0x4c]
push eax
call fcn.005cf115
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x64]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cf775
mov esp, ebp
pop ebp
ret