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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b9933
sub esp, 0x44
mov eax, dword [esp + 0x5c]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x38], eax
cmp eax, 0x17
jne 0x5b9722
mov edx, dword [esp + 0x58]
mov ebx, dword [edx + 4]
jmp 0x5b974a
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.004c3d20
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
test ebx, ebx
je 0x5b9758
cmp eax, 0x17
mov ebx, 0
jmp 0x5b97b6
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.004c4ac0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
mov ebp, dword [esp + 0x34]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x38]
cmp eax, 0x17
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ebx
jne 0x5b97c1
mov ebp, dword [edx + 4]
jmp 0x5b97e9
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c3d20
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
cmp ebx, ebp
jge 0x5b991f
mov eax, ebx
sar ebx, 0x1f
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xa
call fcn.004b3620
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], 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 + 0x34]
mov dword [esp + 0xc], esi
call fcn.004c2ae0
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.004c2c90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], 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, [0x657e9c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
lea esi, [0x657e98]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 1
call fcn.00453b90
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 + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
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.005b4f00
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5b97a0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x44
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
call fcn.0046aa70
jmp fcn.005b96f0