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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b65bd
sub esp, 0x54
mov eax, dword [esp + 0x58]
movzx ecx, word [eax]
test cx, 0x80
jne 0x5b5ebc
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x60]
cmp ecx, 2
jl 0x5b5e77
mov edx, dword [esp + 0x5c]
movzx ebx, byte [edx]
cmp bl, 0x5c
jne 0x5b5e77
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x5b5edf
cmp bl, 0x50
jne 0x5b5e77
cmp bl, 0x50
jne 0x5b6597
mov ebx, 0xffffffff
mov dword [esp + 0x28], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.005b7d40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
test ecx, ecx
jne 0x5b655a
cmp eax, 0x7b
je 0x5b6360
mov eax, dword [esp + 0x60]
mov ecx, eax
sub eax, ebx
cmp eax, ecx
ja 0x5b65b6
cmp eax, 2
jb 0x5b65af
lea ecx, [eax - 2]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
mov esi, dword [esp + 0x5c]
add ecx, esi
test edx, edx
je 0x5b6357
movzx edi, byte [ecx]
xchg edi, eax
cmp al, 0x5e
xchg edi, eax
jne 0x5b634e
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec edx
mov dword [esp + 0x30], edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], edi
cmp edx, 3
jne 0x5b623b
movzx esi, word [ecx]
cmp si, 0x6e41
jne 0x5b623b
movzx esi, byte [ecx + 2]
xchg esi, eax
cmp al, 0x79
xchg esi, eax
jne 0x5b623b
mov ecx, dword [0x86a8bc]
mov edx, ecx
test ecx, ecx
je 0x5b6192
mov eax, dword [esp + 0x58]
movzx esi, word [eax]
test si, 1
jne 0x5b607f
test edi, edi
jle 0x5b6051
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005b7580
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005b7760
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x5b6018
test edx, edx
je 0x5b5fe8
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x28]
mov ebx, dword [eax + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.005b7580
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 eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
call fcn.005b7580
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
lea edi, [ebx + 0x20]
mov ecx, dword [0x881b80]
test ecx, ecx
jne 0x5b6188
mov dword [ebx + 0x20], eax
mov dword [esp], edi
call fcn.005b6dd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x5b6152
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005b7310
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, edx
mov edx, eax
mov eax, ebx
jmp 0x5b6018
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005b7470
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5b6147
call fcn.0044b4d0
jmp 0x5b60f7
lea eax, [0x649720]
mov dword [esp], eax
call fcn.00409aa0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0x881b80]
test eax, eax
jne 0x5b622e
lea ecx, [0x6852d0]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x881b80]
test ecx, ecx
jne 0x5b6218
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x6c98e0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x54
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044b4d0
mov edi, edx
jmp 0x5b61d5
lea eax, [0x6852d0]
call fcn.0044b4d0
jmp 0x5b61bd
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], edx
lea eax, [0x636e20]
mov dword [esp], eax
mov ebx, dword [0x86fb20]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040dcb0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x5b62b8
mov dword [esp + 0x44], eax
lea eax, [0x636e20]
mov dword [esp], eax
mov eax, dword [0x86fb24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0040dcb0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
jmp 0x5b5fce
lea eax, [0x636e20]
mov dword [esp], eax
mov ecx, dword [0x86fb30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
call fcn.0040dcb0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x5b6303
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
xor ecx, ecx
xor edx, edx
jmp 0x5b5fce
mov dword [esp + 0x40], eax
lea eax, [0x636e20]
mov dword [esp], eax
mov eax, dword [0x86fb28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0040dcb0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
jmp 0x5b5fce
mov edi, dword [esp + 0x28]
jmp 0x5b5f90
mov edi, dword [esp + 0x28]
jmp 0x5b5f90
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.004abec0
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x5b6450
lea ecx, [eax + 1]
mov edx, dword [esp + 0x60]
cmp ecx, edx
ja 0x5b65a8
mov ebx, edx
sub edx, ecx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov esi, dword [esp + 0x5c]
add edx, esi
cmp eax, 3
jb 0x5b65a1
cmp eax, ebx
ja 0x5b65a1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
add eax, 0xfffffffd
mov dword [esp + 0x30], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, esi
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b7c30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5b6413
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
jmp 0x5b5f5d
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x54
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.005b7c30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5b651d
lea eax, [0x649720]
mov dword [esp], eax
call fcn.00409aa0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0x881b80]
test eax, eax
jne 0x5b6510
lea ecx, [0x6852d0]
mov dword [edi], ecx
mov ecx, dword [esp + 0x60]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x881b80]
test ecx, ecx
jne 0x5b64fa
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x6c98e0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x54
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044b4d0
mov edi, edx
jmp 0x5b64b7
lea eax, [0x6852d0]
call fcn.0044b4d0
jmp 0x5b649f
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x54
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x54
ret
mov ebx, 1
jmp 0x5b5eed
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.00449d70
jmp fcn.005b5e50