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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b6dc3
sub esp, 0x74
mov ecx, dword [esp + 0x80]
cmp ecx, 1
jb 0x5b6dbc
lea edx, [ecx - 1]
mov dword [esp + 0x38], edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 1
mov dword [esp + 0x50], edx
mov ebp, dword [esp + 0x7c]
lea esi, [ebp + edx]
mov dword [esp + 0x5c], esi
mov eax, ebx
mov ebx, dword [esp + 0x78]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x5b6d8b
mov dword [esp + 0x68], edi
mov esi, dword [0x881b80]
mov edx, dword [edi + 0x10]
test esi, esi
jne 0x5b6d58
mov dword [ebx + 0x10], edx
mov edx, eax
xor eax, eax
call fcn.0044b5c1
mov eax, dword [esp + 0x68]
mov byte [eax], 4
movzx ecx, word [ebx]
mov word [eax + 2], cx
lea ecx, [eax + 0x20]
test byte [ecx], al
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 2
mov esi, dword [0x881b80]
lea edi, [eax + 0x14]
test esi, esi
jne 0x5b6d3e
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x80]
cmp ecx, 1
je 0x5b6d2e
mov esi, dword [esp + 0x50]
movzx esi, byte [ebp + esi]
xchg esi, eax
cmp al, 0x5e
xchg esi, eax
jne 0x5b6d1e
lea edx, [ecx - 2]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 1
mov ecx, dword [esp + 0x5c]
add ecx, edx
movzx edx, word [ebx]
test dx, 4
jne 0x5b66dd
mov edx, dword [eax + 0x14]
mov dword [eax + 0x18], 2
xor ebp, ebp
mov dword [edx + ebp*4], 0xa
mov dword [edx + ebp*4 + 4], 0xa
mov edx, 0xffffffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], edx
mov ebp, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x54], eax
mov eax, 1
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x54]
jmp 0x5b6728
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x64]
mov ecx, ebp
xor ebp, ebp
xchg ebp, eax
mov byte [esp + 0x37], al
xchg ebp, eax
mov ebp, edx
mov edx, esi
mov esi, ebx
mov ebx, edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x4c], ebp
test esi, esi
jne 0x5b6c16
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], ecx
je 0x5b6c0d
movzx edi, byte [ecx]
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
jne 0x5b6c04
mov edi, dword [esp + 0x78]
movzx eax, word [edi]
test ax, 0x40
jne 0x5b676a
movzx eax, byte [esp + 0x37]
test al, al
je 0x5b6b2e
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], ebx
cmp esi, 2
jle 0x5b678c
movzx eax, byte [ecx]
cmp al, 0x5b
jne 0x5b678c
movzx eax, byte [ecx + 1]
cmp al, 0x3a
je 0x5b6a9c
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
call fcn.005b5e50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test ecx, ecx
jne 0x5b6a74
test edi, edi
jne 0x5b670a
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
call fcn.005b58b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
test ecx, ecx
je 0x5b6829
mov edi, ecx
mov esi, eax
jmp 0x5b670a
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x10], ebp
call fcn.005b5760
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test ecx, ecx
jne 0x5b6a4c
cmp edx, 2
jl 0x5b688f
movzx eax, byte [ebp]
cmp al, 0x2d
jne 0x5b688f
movzx eax, byte [ebp + 1]
cmp al, 0x5d
jne 0x5b691c
mov eax, ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x78]
movzx esi, word [ecx]
test si, 1
jne 0x5b68ea
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.005b6fa0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
mov edi, edx
mov esi, ecx
mov edx, eax
jmp 0x5b670a
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.005b70c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
jmp 0x5b68d7
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [ebp + 1]
mov dword [esp + 4], ecx
lea ecx, [edx - 1]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
call fcn.005b5760
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test edx, edx
jne 0x5b6a24
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jl 0x5b697c
mov edx, ebx
mov ebx, eax
mov eax, ecx
jmp 0x5b6891
mov eax, dword [esp + 0x40]
mov ecx, eax
sub eax, ebx
cmp eax, ecx
ja 0x5b6dae
mov dword [esp + 0x40], eax
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 0x5b6a17
lea ecx, [0x6852d0]
mov dword [edi], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x881b80]
test ecx, ecx
jne 0x5b6a01
mov eax, dword [esp + 0x60]
mov dword [edi + 8], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x6c98e0]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edi
add esp, 0x74
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.0044b4d0
mov edi, edx
jmp 0x5b69d3
lea eax, [0x6852d0]
call fcn.0044b4d0
jmp 0x5b69bb
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
add esp, 0x74
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x74
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x74
ret
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
call fcn.005b5a00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test ecx, ecx
jne 0x5b6b06
test edi, edi
je 0x5b6ae9
mov eax, ebx
mov ebx, edx
mov edx, ebp
mov ebp, eax
jmp 0x5b670a
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
jmp 0x5b678c
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x74
ret
cmp esi, 1
je 0x5b6b40
movzx eax, byte [ecx + 1]
cmp al, 0x5d
je 0x5b676a
lea eax, [esi - 1]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004524a0
mov eax, dword [esp + 0xc]
inc eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
ja 0x5b6db5
mov dword [esp + 0x50], eax
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 0x5b6bf7
lea ecx, [0x6852d0]
mov dword [edi], ecx
mov ecx, dword [esp + 0x50]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x881b80]
test ecx, ecx
jne 0x5b6be1
mov eax, dword [esp + 0x60]
mov dword [edi + 8], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x6c98e0]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edi
add esp, 0x74
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.0044b4d0
mov edi, edx
jmp 0x5b6bb3
lea eax, [0x6852d0]
call fcn.0044b4d0
jmp 0x5b6b9b
mov edi, dword [esp + 0x78]
jmp 0x5b676a
mov edi, dword [esp + 0x78]
jmp 0x5b676a
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x5d
xchg ebp, eax
je 0x5b6c2b
test esi, esi
mov ebp, dword [esp + 0x4c]
jmp 0x5b6734
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b6c41
test esi, esi
mov ebp, dword [esp + 0x4c]
jmp 0x5b6734
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x1c], edx
lea edx, [esi - 1]
mov dword [esp + 0x38], edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov dword [esp + 0x5c], ecx
mov edx, dword [0x881b80]
test edx, edx
jne 0x5b6d12
mov dword [eax + 0x14], ebx
mov dword [esp], edi
call fcn.005b6dd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jl 0x5b6cf1
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
mov ecx, dword [0x881b80]
test ecx, ecx
jne 0x5b6ce4
mov dword [ebx + 0x14], edx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.005b00d0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x74
ret
mov edi, dword [esp + 0x70]
mov eax, edx
call fcn.0044b4d0
jmp 0x5b6ca4
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005b79d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
jmp 0x5b6c8d
mov eax, ebx
call fcn.0044b4d0
jmp 0x5b6c71
mov ecx, dword [esp + 0x5c]
mov esi, edx
mov edx, 1
jmp 0x5b66e2
mov ecx, dword [esp + 0x5c]
mov esi, edx
mov edx, 1
jmp 0x5b66e2
mov esi, eax
mov eax, ecx
call fcn.0044b4d0
mov ecx, dword [esp + 0x80]
cmp ecx, 1
mov eax, esi
jmp 0x5b668b
lea ecx, [ebx + 0x10]
mov eax, edi
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.0044b4d0
lea ecx, [0x666680]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0040f150
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
jmp 0x5b664c
lea eax, [0x666680]
mov dword [esp], eax
call fcn.00409aa0
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
jmp 0x5b6650
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.00449d70
jmp fcn.005b65d0