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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bd1e9
sub esp, 0x44
mov eax, dword [esp + 0x5c]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x34], eax
cmp eax, 0x17
jne 0x5bcfd4
mov edx, dword [esp + 0x58]
mov ebx, dword [edx + 4]
jmp 0x5bcffc
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004bcca0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
test ebx, ebx
je 0x5bd00a
cmp eax, 0x17
mov ebx, 0
jmp 0x5bd068
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
call fcn.004bd9d0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
mov ebp, dword [esp + 0x30]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x34]
cmp eax, 0x17
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], ebx
jne 0x5bd073
mov ebp, dword [edx + 4]
jmp 0x5bd09b
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004bcca0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x30]
cmp ebx, ebp
jge 0x5bd1d5
mov eax, ebx
sar ebx, 0x1f
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], 0xa
call fcn.004abcf0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], esi
call fcn.004bc420
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004bc5d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov dword [esp], 0
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
lea ebp, [0x661160]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
lea esi, [0x661164]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 1
call fcn.0044dd50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x1c], ebx
call fcn.005b8580
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x5bd052
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x44
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
call fcn.00462320
jmp fcn.005bcfa0