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

Disassembly:
push 0xffffffffffffffff
push 0x5f3d6b
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x130]
test eax, eax
mov ebp, dword [esp + 0x124]
mov ecx, dword [esp + 0x128]
mov esi, dword [esp + 0x12c]
mov edx, dword [esp + 0x138]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
je 0x5b8644
test ecx, ecx
je 0x5b8644
push esi
call dword [0x610968]
test eax, eax
jne 0x5b8644
mov ebx, dword [esp + 0x13c]
shr ebx, 0xa
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
not bl
push eax
and bl, 1
push ebp
mov byte [esp + 0x27], bl
call dword [0x61010c]
mov edi, dword [0x6100c8]
lea ecx, [esp + 0xa8]
push ecx
call edi
push esi
mov dword [esp + 0x7c], eax
call edi
test bl, bl
mov dword [esp + 0x98], eax
je 0x5b76fb
push 1
push eax
push ebp
call dword [0x6100ac]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
call fcn.005aacd0
mov edx, dword [eax]
mov edi, dword [esp + 0x24]
push edx
lea ebp, [eax + 0x28]
push edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], ebp
call dword [0x6100ec]
push 1
push edi
mov dword [esp + 0xac], eax
call dword [0x610104]
mov ebx, dword [esp + 0x134]
movzx eax, bh
mov ah, bl
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
shl eax, 8
or eax, edx
push eax
push edi
mov dword [esp + 0x7c], eax
call dword [0x6100a8]
mov eax, dword [esp + 0x13c]
mov edi, eax
and edi, 1
mov dword [esp + 0x8c], edi
jne 0x5b7773
test al, 0xe
je 0x5b786a
test eax, 0x400
jne 0x5b786a
or eax, 0x400
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x20]
push ebx
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x74]
push edx
push eax
push ecx
mov dword [esp + 0x88], 0x270f
mov dword [esp + 0x8c], 0x64
call fcn.005b7600
mov al, byte [esp + 0x158]
add esp, 0x1c
test al, 0x20
je 0x5b781c
mov ebx, dword [esp + 0x64]
test edi, edi
mov edi, dword [esp + 0x6c]
je 0x5b780f
mov ecx, dword [esi]
mov eax, dword [esi + 8]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, edi
sub eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
sub edx, eax
lea eax, [edx + ecx]
mov dword [esi], eax
sub eax, ebx
add eax, edi
mov dword [esi + 8], eax
mov al, byte [esp + 0x13c]
test al, 2
je 0x5b781c
mov edx, dword [esi + 8]
sub edx, edi
add edx, ebx
mov dword [esi], edx
test al, 4
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
je 0x5b785c
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, edi
sub eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
sub edx, eax
lea eax, [edx + ecx]
mov dword [esi + 4], eax
sub eax, ebx
add eax, edi
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x13c]
test al, 8
je 0x5b786a
mov eax, dword [esi + 0xc]
sub eax, edi
add eax, ebx
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
movzx ecx, word [eax]
mov dword [esp + 0x2c], edx
xor edx, edx
cmp cx, dx
mov dword [esp + 0x34], edx
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], dl
mov dword [esp + 0x48], eax
mov byte [esp + 0x3a], dl
mov byte [esp + 0x3b], dl
mov dword [esp + 0x4c], edx
mov byte [esp + 0x20], dl
je 0x5b85cd
jmp 0x5b78c8
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edi, dword [esi + 8]
cmp dword [esp + 0x28], edi
mov ebx, dword [0x610104]
jge 0x5b84a7
cmp cx, 0xa
je 0x5b84ad
cmp byte [esp + 0x21], 0
jne 0x5b84a7
cmp byte [esp + 0x22], 0
jne 0x5b81ce
cmp cx, 0x3c
je 0x5b790b
cmp cx, 0x7b
jne 0x5b7e9f
movzx edx, word [eax + 2]
cmp dx, 0x61
lea edi, [eax + 2]
jb 0x5b7e9f
cmp dx, 0x7a
ja 0x5b7e9f
movzx edx, word [eax + 4]
cmp dx, 0x20
je 0x5b7940
cmp dx, 0x3e
je 0x5b7940
cmp dx, 0x7d
jne 0x5b7e9f
mov eax, edi
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
add ecx, 0xffffff9e
cmp ecx, 0x17
ja case.0x5b795c.100
movzx ecx, byte [ecx + 0x5b86b4]
jmp dword [ecx*4 + 0x5b8688]
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x5b798b
cmp cx, 0x20
ja 0x5b798b
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x5b7972
lea ecx, [esp + 0xd4]
call dword [0x61049c]
mov dword [esp + 0x11c], 0
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
je 0x5b79fc
mov edi, dword [0x6108b4]
cmp cx, 0x3e
je 0x5b79fc
cmp cx, 0x7d
je 0x5b79fc
cmp cx, 0x20
je 0x5b79fc
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x5b79f4
movzx ecx, word [eax]
add eax, 2
push ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 0x1c], eax
call dword [0x6105a8]
mov eax, dword [esp + 0x18]
cmp eax, esi
jb 0x5b79d4
movzx ecx, word [eax]
test cx, cx
jne 0x5b79b5
mov edx, dword [esp + 0x54]
cmp byte [edx + 0x24], 0
jne 0x5b7a59
cmp dword [esp + 0xe8], 0
je 0x5b7a59
cmp dword [esp + 0xec], 8
mov edx, dword [esp + 0xd8]
jae 0x5b7a28
lea edx, [esp + 0xd8]
mov ecx, dword [esp + 0x50]
call fcn.005aacd0
test eax, eax
je 0x5b7a59
mov ecx, dword [esp + 0x24]
lea esi, [eax + 0x28]
mov eax, dword [eax]
push eax
push ecx
mov dword [esp + 0x48], esi
call dword [0x6100ec]
mov eax, dword [esi + 0x10]
add eax, dword [esi]
cmp dword [esp + 0x30], eax
jg 0x5b7a59
mov dword [esp + 0x30], eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0x11c], 0xffffffff
call dword [0x6105a0]
jmp 0x5b7e63
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x5b7a9e
cmp cx, 0x20
ja 0x5b7a9e
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x5b7a85
cmp word [eax], 0x23
jne 0x5b7aab
add eax, 2
mov dword [esp + 0x18], eax
push 0x10
lea edx, [esp + 0x1c]
push edx
push eax
call dword [0x610620]
movzx ecx, ah
mov ch, al
shr eax, 0x10
movzx edx, al
mov eax, dword [esp + 0x30]
add esp, 0xc
shl ecx, 8
or ecx, edx
push ecx
push eax
call dword [0x6100a8]
jmp 0x5b7e63
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x5b7b09
lea esp, [esp]
cmp cx, 0x20
ja 0x5b7b09
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x5b7af0
lea ecx, [esp + 0xb8]
call dword [0x61049c]
mov dword [esp + 0x11c], 1
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
je 0x5b7b7a
mov edi, dword [0x6108b4]
cmp cx, 0x3e
je 0x5b7b7a
cmp cx, 0x7d
je 0x5b7b7a
cmp cx, 0x20
je 0x5b7b7a
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x5b7b72
movzx ecx, word [eax]
add eax, 2
push ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x1c], eax
call dword [0x6105a8]
mov eax, dword [esp + 0x18]
cmp eax, esi
jb 0x5b7b52
movzx ecx, word [eax]
test cx, cx
jne 0x5b7b33
cmp dword [esp + 0xcc], 0
je 0x5b7bcd
cmp dword [esp + 0xd0], 8
mov edx, dword [esp + 0xbc]
jae 0x5b7b9c
lea edx, [esp + 0xbc]
mov ecx, dword [esp + 0x50]
call fcn.005aacd0
test eax, eax
je 0x5b7bcd
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
push ecx
lea esi, [eax + 0x28]
push edx
mov dword [esp + 0x48], esi
call dword [0x6100ec]
mov eax, dword [esi + 0x10]
add eax, dword [esi]
cmp dword [esp + 0x30], eax
jg 0x5b7bcd
mov dword [esp + 0x30], eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x11c], 0xffffffff
call dword [0x6105a0]
jmp 0x5b7e63
add eax, 2
test byte [esp + 0x13c], 0x20
mov dword [esp + 0x18], eax
jne case.0x5b795c.100
mov byte [esp + 0x21], 1
jmp case.0x5b795c.100
mov ecx, dword [esp + 0x28]
add eax, 2
cmp ecx, dword [esi]
mov dword [esp + 0x18], eax
jle 0x5b7c1d
mov byte [esp + 0x21], 1
movzx ecx, word [eax]
test cx, cx
jbe 0x5b7c3e
cmp cx, 0x20
ja 0x5b7c3e
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x5b7c25
push 0xa
lea edx, [esp + 0x1c]
push edx
push eax
call dword [0x610620]
mov ecx, dword [ebp + 0x10]
add ecx, eax
add ecx, dword [ebp]
add esp, 0xc
cmp dword [esp + 0x30], ecx
jg 0x5b7e63
mov dword [esp + 0x30], ecx
jmp 0x5b7e63
add eax, 2
mov dword [esp + 0x18], eax
mov byte [esp + 0x22], 1
jmp case.0x5b795c.100
add eax, 2
cmp byte [esp + 0x23], 0
mov dword [esp + 0x18], eax
sete cl
cmp byte [esp + 0x1f], 0
mov byte [esp + 0x23], cl
je case.0x5b795c.100
cmp byte [esp + 0x20], 0
je case.0x5b795c.100
test cl, cl
je 0x5b7cb6
mov eax, dword [esp + 0x24]
push 2
push eax
call ebx
jmp 0x5b7e63
mov ecx, dword [esp + 0x24]
push 1
push ecx
call ebx
jmp 0x5b7e63
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x5b7cec
cmp cx, 0x20
ja 0x5b7cec
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x5b7cd3
lea ecx, [esp + 0xf0]
call dword [0x61049c]
mov dword [esp + 0x11c], 2
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
je 0x5b7d5d
mov edi, dword [0x6108b4]
cmp cx, 0x3e
je 0x5b7d5d
cmp cx, 0x7d
je 0x5b7d5d
cmp cx, 0x20
je 0x5b7d5d
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x5b7d55
movzx ecx, word [eax]
add eax, 2
push ecx
lea ecx, [esp + 0xf4]
mov dword [esp + 0x1c], eax
call dword [0x6105a8]
mov eax, dword [esp + 0x18]
cmp eax, esi
jb 0x5b7d35
movzx ecx, word [eax]
test cx, cx
jne 0x5b7d16
mov edx, dword [esp + 0x54]
cmp byte [edx + 0x25], 0
jne 0x5b7dba
cmp dword [esp + 0x104], 0
je 0x5b7dba
cmp dword [esp + 0x108], 8
mov edx, dword [esp + 0xf4]
jae 0x5b7d89
lea edx, [esp + 0xf4]
mov ecx, dword [esp + 0x50]
call fcn.005aacd0
test eax, eax
je 0x5b7dba
mov ecx, dword [esp + 0x24]
lea esi, [eax + 0x28]
mov eax, dword [eax]
push eax
push ecx
mov dword [esp + 0x48], esi
call dword [0x6100ec]
mov eax, dword [esi + 0x10]
add eax, dword [esi]
cmp dword [esp + 0x30], eax
jg 0x5b7dba
mov dword [esp + 0x30], eax
lea ecx, [esp + 0xf0]
mov dword [esp + 0x11c], 0xffffffff
call dword [0x6105a0]
jmp 0x5b7e63
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x5b7dff
cmp cx, 0x20
ja 0x5b7dff
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x5b7de6
push 0xa
lea edx, [esp + 0x1c]
push edx
push eax
call dword [0x610620]
mov ecx, dword [esp + 0x34]
add ecx, eax
add esp, 0xc
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x28], ecx
jg 0x5b7e63
mov dword [esp + 0x34], ecx
jmp 0x5b7e63
add eax, 2
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jbe 0x5b7e4e
cmp cx, 0x20
ja 0x5b7e4e
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
ja 0x5b7e35
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [0x610620]
add esp, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
je 0x5b7e8f
nop
cmp cx, 0x3e
je 0x5b7e8f
cmp cx, 0x7d
je 0x5b7e8f
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jne 0x5b7e70
push eax
call dword [0x6108b4]
mov dword [esp + 0x18], eax
jmp 0x5b852e
cmp cx, 0x3c
je 0x5b7eaf
cmp cx, 0x7b
jne 0x5b7fff
cmp word [eax + 2], 0x2f
jne 0x5b7fff
add eax, 4
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
add ecx, 0xffffff9e
cmp ecx, 0x13
ja case.0x5b7ed7.100
movzx edx, byte [ecx + 0x5b86e0]
jmp dword [edx*4 + 0x5b86cc]
mov ecx, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
push eax
push ecx
call dword [0x6100a8]
jmp 0x5b7fc6
mov edx, dword [esp + 0x28]
add eax, 2
cmp edx, dword [esi]
mov dword [esp + 0x18], eax
jle 0x5b7f0e
mov byte [esp + 0x21], 1
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp]
cmp dword [esp + 0x30], ecx
jg case.0x5b7ed7.100
mov dword [esp + 0x30], ecx
jmp case.0x5b7ed7.100
add eax, 2
cmp byte [esp + 0x23], 0
mov dword [esp + 0x18], eax
sete cl
cmp byte [esp + 0x1f], 0
mov byte [esp + 0x23], cl
je case.0x5b7ed7.100
cmp byte [esp + 0x20], 0
je case.0x5b7ed7.100
test cl, cl
je 0x5b7f5f
mov edx, dword [esp + 0x24]
push 2
push edx
call ebx
jmp 0x5b7fc6
mov eax, dword [esp + 0x24]
push 1
push eax
call ebx
jmp 0x5b7fc6
mov edi, dword [esp + 0x54]
add eax, 2
mov dword [esp + 0x18], eax
cmp byte [ebp + 0x34], 0
je 0x5b7fa2
cmp byte [edi + 0x26], 0
jne 0x5b7fa2
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x64]
push ecx
push 0x20
push 0x20
push edx
call dword [0x6100fc]
mov eax, dword [esp + 0x6c]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x28], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
push eax
lea esi, [edi + 0x28]
push ecx
mov dword [esp + 0x48], esi
call dword [0x6100ec]
mov eax, dword [esi + 0x10]
add eax, dword [esi]
cmp dword [esp + 0x30], eax
jg 0x5b7fc6
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
mov esi, dword [0x6108b4]
je 0x5b7ff3
cmp cx, 0x3e
je 0x5b7ff3
cmp cx, 0x7d
je 0x5b7ff3
push eax
call esi
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
test cx, cx
jne 0x5b7fd8
push eax
call esi
mov dword [esp + 0x18], eax
jmp 0x5b852e
cmp cx, 0x3c
jne 0x5b809c
cmp word [eax + 4], 0x3e
jne 0x5b809c
movzx esi, word [eax + 2]
cmp si, 0x7b
lea edx, [eax + 2]
je 0x5b8027
cmp si, 0x7d
jne 0x5b809c
mov edi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x90]
push eax
push 1
push edx
push edi
call dword [0x6100e0]
cmp byte [esp + 0x1f], 0
je 0x5b808c
cmp byte [esp + 0x20], 0
je 0x5b808c
mov edx, dword [esp + 0x4c]
sub edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
sub edx, dword [ebp]
mov esi, dword [esp + 0x28]
add edx, dword [esp + 0x2c]
push 1
add ecx, 2
push ecx
push edx
push esi
push edi
call dword [0x6100a4]
add esi, dword [esp + 0x90]
jmp 0x5b8121
mov esi, dword [esp + 0x28]
add esi, dword [esp + 0x90]
jmp 0x5b8121
cmp cx, 0x7b
jne 0x5b813f
cmp word [eax + 4], 0x7d
jne 0x5b813f
movzx esi, word [eax + 2]
cmp si, 0x3c
lea edx, [eax + 2]
je 0x5b80c4
cmp si, 0x3e
jne 0x5b813f
mov edi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
push eax
push 1
push edx
push edi
call dword [0x6100e0]
cmp byte [esp + 0x1f], 0
je 0x5b8119
cmp byte [esp + 0x20], 0
je 0x5b8119
mov edx, dword [esp + 0x4c]
sub edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
sub edx, dword [ebp]
mov esi, dword [esp + 0x28]
add edx, dword [esp + 0x2c]
push 1
add ecx, 2
push ecx
push edx
push esi
push edi
call dword [0x6100a4]
jmp 0x5b811d
mov esi, dword [esp + 0x28]
add esi, dword [esp + 0x7c]
cmp dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
jg 0x5b812f
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x18]
add eax, 6
mov dword [esp + 0x18], eax
jmp 0x5b852e
cmp cx, 0x20
jne 0x5b81ce
mov edi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x9c]
push eax
push 1
push 0x61228c
push edi
call dword [0x6100e0]
cmp byte [esp + 0x1f], 0
je 0x5b81a5
cmp byte [esp + 0x20], 0
je 0x5b81a5
mov ecx, dword [esp + 0x4c]
sub ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0x28]
sub ecx, dword [ebp]
push 1
add ecx, dword [esp + 0x30]
push 0x61228c
push ecx
push esi
push edi
call dword [0x6100a4]
jmp 0x5b81a9
mov esi, dword [esp + 0x28]
add esi, dword [esp + 0x9c]
cmp dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
jg 0x5b81be
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x5b852e
mov edx, dword [esp + 0x28]
mov dword [esp + 0x84], edx
xor edx, edx
xor ebp, ebp
xor ebx, ebx
cmp byte [esp + 0x22], dl
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], edx
mov esi, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
jne 0x5b81fd
cmp word [eax], 0x3c
je 0x5b8203
cmp word [eax], 0x7b
jne 0x5b820d
mov ebp, 1
lea esi, [eax + 2]
mov ebx, ebp
movzx ecx, word [esi]
cmp cx, dx
je 0x5b83a3
lea esp, [esp]
cmp cx, 0xa
je 0x5b83a3
cmp byte [esp + 0x22], 0
je 0x5b8265
cmp cx, 0x3c
je 0x5b823d
cmp cx, 0x7b
jne 0x5b8279
cmp word [esi + 2], 0x2f
jne 0x5b8279
cmp word [esi + 4], 0x72
jne 0x5b8279
movzx ecx, word [esi + 6]
cmp cx, 0x3e
je 0x5b825b
cmp cx, 0x7d
jne 0x5b8279
mov byte [esp + 0x22], 0
jmp 0x5b83a3
cmp cx, 0x3c
je 0x5b83a3
cmp cx, 0x7b
je 0x5b83a3
push esi
call dword [0x6108b4]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov edi, eax
sub eax, esi
sar eax, 1
add ebx, eax
mov eax, dword [ecx + 0x18]
add ebp, 1
imul eax, ebp
lea ecx, [eax + edx]
mov edx, dword [esp + 0x3c]
cmp ecx, dword [edx + 8]
mov dword [esp + 0x58], eax
jl 0x5b82c3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x58]
push eax
push ebx
push ecx
push edx
call dword [0x6100e0]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x3c]
cmp edx, dword [ecx + 8]
jg 0x5b8322
movzx eax, word [esi]
cmp ax, 0x61
jb 0x5b82e2
cmp ax, 0x7a
jbe 0x5b82f6
cmp ax, 0x41
jb 0x5b82ee
cmp ax, 0x5a
jbe 0x5b82f6
mov dword [esp + 0x60], ebp
mov dword [esp + 0x44], ebx
cmp ax, 0x20
jne 0x5b8304
mov dword [esp + 0x60], ebp
mov dword [esp + 0x44], ebx
push esi
call dword [0x6108b4]
mov esi, eax
movzx ecx, word [esi]
test cx, cx
mov eax, dword [esp + 0x18]
jne 0x5b8220
jmp 0x5b83a3
mov edx, dword [esp + 0x28]
add eax, edx
cmp eax, dword [ecx + 8]
jle 0x5b833a
cmp edx, dword [ecx]
je 0x5b833a
sub edi, esi
sar edi, 1
sub ebp, 1
sub ebx, edi
mov ecx, dword [esp + 0x13c]
test cl, 0x10
je 0x5b8354
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x5b8354
mov ebx, dword [esp + 0x44]
mov ebp, eax
test ecx, 0x8000
je 0x5b8390
test ebp, ebp
jle 0x5b8390
mov eax, dword [esp + 0x18]
mov edi, dword [0x6108b0]
push esi
push eax
call edi
add ebp, 0xffffffff
test ebp, ebp
jle 0x5b837d
mov ecx, dword [esp + 0x18]
push eax
push ecx
call edi
mov edx, dword [esp + 0x3c]
sub esi, eax
mov eax, dword [edx + 8]
sar esi, 1
sub ebx, esi
mov dword [esp + 0x28], eax
mov edx, eax
cmp dword [esp + 0x34], edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x21], 1
jg 0x5b83a3
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x58]
push ecx
push ebx
push eax
push edx
call dword [0x6100e0]
cmp byte [esp + 0x1f], 0
je 0x5b8481
cmp byte [esp + 0x20], 0
je 0x5b8481
mov ecx, dword [esp + 0x13c]
mov eax, ecx
and eax, 0x20
jne 0x5b83ff
cmp dword [esp + 0x8c], eax
je 0x5b83ff
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov ebp, dword [esp + 0x84]
sub eax, dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
add ebp, eax
jmp 0x5b842b
test eax, eax
jne 0x5b8420
test cl, 2
je 0x5b8420
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov ebp, dword [esp + 0x84]
sub eax, dword [esp + 0x58]
add ebp, eax
jmp 0x5b842b
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, esi
sub edx, dword [eax + 0x10]
push ebx
sub edx, dword [eax]
mov eax, dword [esp + 0x28]
add edx, dword [esp + 0x50]
push ecx
push edx
push ebp
push eax
call dword [0x6100a4]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edi + 8]
jl 0x5b8481
test dword [esp + 0x13c], 0x8000
je 0x5b8481
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
push 3
push 0x61f414
push esi
add ebp, edx
push ebp
push eax
call dword [0x6100a4]
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x58]
cmp dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
jg 0x5b8497
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ebx*2]
mov dword [esp + 0x18], eax
jmp 0x5b852e
cmp cx, 0xa
jne 0x5b84b4
add eax, 2
mov dword [esp + 0x18], eax
cmp byte [esp + 0x21], 0
je 0x5b84c0
mov byte [esp + 0x21], 0
test byte [esp + 0x13c], 0x20
je 0x5b84e2
cmp byte [esp + 0x1f], 0
je 0x5b85cd
mov cl, byte [esp + 0x20]
test cl, cl
je 0x5b84e6
jmp 0x5b85cd
mov cl, byte [esp + 0x20]
mov dl, byte [esp + 0x1f]
test dl, dl
je 0x5b84f7
test cl, cl
sete cl
mov byte [esp + 0x20], cl
test cl, cl
mov ebx, dword [esi]
mov dword [esp + 0x28], ebx
jne 0x5b8509
mov ecx, dword [esp + 0x30]
add dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0xc]
jle 0x5b851a
test dl, dl
jne 0x5b85cd
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp]
cmp dword [esp + 0x28], edi
mov dword [esp + 0x30], ecx
jge 0x5b85c9
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edx + 8]
jge 0x5b8549
movzx ecx, word [eax]
cmp cx, 0xa
je 0x5b8549
test cx, cx
jne 0x5b854e
mov byte [esp + 0x21], 1
cmp byte [esp + 0x1f], 0
je 0x5b85bd
cmp byte [esp + 0x21], 0
je 0x5b85bd
cmp byte [esp + 0x20], 0
jne 0x5b866c
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov cl, byte [esp + 0x3a]
mov esi, dword [esp + 0x24]
mov bl, byte [esp + 0x3b]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x74]
push edx
push esi
mov dword [esp + 0x20], eax
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], bl
call dword [0x6100a8]
mov eax, dword [esp + 0x54]
lea ecx, [eax + 0x28]
mov eax, dword [eax]
push eax
push esi
mov dword [esp + 0x48], ecx
call dword [0x6100ec]
test bl, bl
je 0x5b85b9
push 2
push esi
call dword [0x610104]
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
test cx, cx
jne 0x5b78c0
mov esi, dword [esp + 0x3c]
test dword [esp + 0x13c], 0x400
je 0x5b8603
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x34]
xor edx, edx
test eax, eax
setl dl
sub edx, 1
and eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
cmp eax, ecx
jl 0x5b8600
mov eax, ecx
mov dword [esi + 8], eax
cmp byte [esp + 0x1f], 0
je 0x5b861a
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [0x6100dc]
mov edx, dword [esp + 0x78]
mov esi, dword [0x6100e8]
push edx
call esi
mov eax, dword [esp + 0x98]
push eax
call esi
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [0x6100ec]
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.005e693f
add esp, 0x10c
ret
mov cl, byte [esp + 0x23]
mov dl, byte [esp + 0x22]
mov dword [esp + 0x48], eax
mov byte [esp + 0x3b], cl
mov byte [esp + 0x3a], dl
jmp 0x5b85bd