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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ba2d1
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.005ba2e0
mov eax, dword [esp + 4]
test eax, eax
jg 0x5ba283
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
lea ebp, [0x767fc0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040a800
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.005b4e60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x5ba1b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
jmp 0x5b9e2a
mov eax, ebp
test eax, eax
jle 0x5b9de2
lea ebp, [eax - 1]
cmp ebp, ecx
jae 0x5ba2c3
movzx esi, byte [eax + edx - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5b9dc3
test eax, eax
jl 0x5ba2bc
mov ebp, dword [esp + 0x34]
cmp eax, ebp
ja 0x5ba2bc
mov dword [esp + 0x48], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.005ba550
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5b9ea5
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
call fcn.005b8a80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test ebx, ebx
je 0x5ba193
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0x3a
call fcn.00402340
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5ba11a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov ebx, eax
jmp 0x5b9dc5
mov edx, dword [esp + 0x48]
inc edx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x30]
jmp 0x5b9eb5
inc edx
cmp edx, ebp
jge 0x5b9ed3
jae 0x5ba2b5
movzx esi, byte [ebx + edx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5b9eb4
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x5b9eb4
cmp edx, ebp
ja 0x5ba2ae
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x34]
sub eax, edx
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, ebx
mov dword [esp + 4], eax
sub ebp, edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.0043be60
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
lea edx, [0x767fc0]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], esi
call fcn.0040e670
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test edx, edx
je 0x5ba06a
lea ebx, [eax + 1]
cmp ebx, ecx
jg 0x5ba030
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
lea ebp, [edx + eax*8 + 4]
mov esi, dword [esp + 0x24]
mov dword [ebp], esi
mov ebp, dword [0xa8f2d0]
lea edi, [edx + eax*8]
test ebp, ebp
jne 0x5ba022
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
lea eax, [0x767fc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.0040ed50
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x5ba017
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x5b9ff6
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x5b9e24
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x64]
call fcn.0044c9e0
jmp 0x5b9fd7
mov eax, dword [esp + 0x4c]
call fcn.0044c9e0
jmp 0x5b9f8f
mov dword [esp + 0x20], eax
lea ebp, [0x730dc0]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00438b40
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x20]
jmp 0x5b9f61
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x5b9f56
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x68]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x50], ecx
mov ebp, dword [0xa8f2d0]
test ebp, ebp
jne 0x5ba10f
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
lea eax, [0x767fc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.0040ed50
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x5ba104
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov ebx, dword [esp + 0x28]
lea eax, [ebx - 1]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
jmp 0x5b9fe3
mov eax, dword [esp + 0x68]
call fcn.0044c9e0
jmp 0x5ba0f0
mov eax, dword [esp + 0x4c]
call fcn.0044c9e0
jmp 0x5ba0a8
mov dword [esp], 0
lea eax, [0x79e3f6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.0043bce0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x7ff260]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00407850
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
test eax, eax
jbe 0x5ba2ca
movzx eax, byte [ecx]
cmp al, 0x20
jne 0x5ba275
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.005b86e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ecx, ecx
je 0x5ba204
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov dword [esp], 0
lea eax, [0x7a2046]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0043bce0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x7ff260]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00407850
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
cmp al, 9
je 0x5ba1c4
jmp 0x5b9db5
mov dword [esp + 0x3c], eax
lea ecx, [0x730dc0]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00438a70
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
jmp 0x5b9d5a
call fcn.004267e0
ud2
call fcn.004266e0
ud2
call fcn.004267e0
ud2
call fcn.004266e0
ud2
call fcn.004266e0
ud2
call fcn.0044b280
jmp fcn.005b9d20