Function at 0x5a1b09
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x714c33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp - 0xb4]
mov byte [eax + 2], 1
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
call fcn.005a2218
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push 1
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
mov ecx, dword [ebp + 8]
add ecx, 0x54
call fcn.00595b80
test eax, eax
jbe 0x5a1c84
push 4
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
mov edx, dword [ebp + 8]
add edx, 0x3c
push edx
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
push 0
push 0
mov ecx, dword [ebp - 0xb4]
call fcn.005a11d3
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x54
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.005a1282
lea ecx, [ebp - 0x18]
call fcn.00594310
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004e9640
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x5a1bdc
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9dc0
cmp dword [ebp - 0x1c], eax
jae 0x5a1c3e
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9e60
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
xor eax, eax
mov al, byte [edx + 0xc]
test eax, eax
jne 0x5a1c0c
jmp 0x5a1bd3
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
lea ecx, [ebp - 0x18]
call fcn.00545530
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx + 0xe]
push edx
lea ecx, [ebp - 0x34]
call fcn.0055e090
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00511c90
jmp 0x5a1bd3
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x54
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.005a1371
push 0
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004e9200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004e9de0
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e4340
and eax, 0xff
test eax, eax
je 0x5a1caa
push 0
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
jmp 0x5a2207
push 5
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9dc0
xor ecx, ecx
push ecx
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.005a0d24
lea ecx, [ebp - 0x48]
call fcn.00594310
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9dc0
push eax
lea ecx, [ebp - 0x48]
call fcn.004d6040
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], 0
jmp 0x5a1d0d
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9dc0
cmp dword [ebp - 0x4c], eax
jae 0x5a1d60
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9e60
xor ecx, ecx
mov cl, byte [eax + 0xc]
test ecx, ecx
je 0x5a1d46
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x48]
call fcn.004d5920
mov byte [eax], 0
jmp 0x5a1d5e
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004d5920
mov byte [eax], 1
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
jmp 0x5a1d04
cmp dword [ebp - 0x3c], 0
je 0x5a1ebf
lea edx, [ebp - 0x48]
push edx
push 0xe
mov ecx, dword [ebp - 0xb4]
call fcn.005a10f7
lea ecx, [ebp - 0x70]
call fcn.00594310
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00594310
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004d6040
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004d6040
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x58], 0
jmp 0x5a1dcc
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9dc0
cmp dword [ebp - 0x58], eax
jae 0x5a1e6c
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9e60
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
xor edx, edx
mov dl, byte [ecx + 0xc]
test edx, edx
je 0x5a1e00
jmp 0x5a1dc3
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
mov cl, byte [eax + 0xd]
mov ebx, ecx
neg ebx
sbb ebx, ebx
inc ebx
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x70]
call fcn.004d5920
mov byte [eax], bl
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
mov cl, byte [eax + 0xd]
test ecx, ecx
jne 0x5a1e2d
mov byte [ebp - 0x54], 1
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp + 8]
call fcn.005a2bd0
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x64]
call fcn.004d5920
mov cl, byte [ebp - 0x78]
mov byte [eax], cl
mov edx, dword [ebp - 0x78]
and edx, 0xff
test edx, edx
je 0x5a1e5e
mov byte [ebp - 0x50], 1
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
jmp 0x5a1dc3
mov ecx, dword [ebp - 0x54]
and ecx, 0xff
test ecx, ecx
je 0x5a1e8a
lea edx, [ebp - 0x70]
push edx
push 0xf
mov ecx, dword [ebp - 0xb4]
call fcn.005a10f7
mov eax, dword [ebp - 0x50]
and eax, 0xff
test eax, eax
je 0x5a1ea7
lea ecx, [ebp - 0x64]
push ecx
push 0x10
mov ecx, dword [ebp - 0xb4]
call fcn.005a10f7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004e9de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004e9de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004e9de0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
jmp 0x5a1ef0
mov edx, dword [ebp - 0x84]
add edx, 1
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9dc0
cmp dword [ebp - 0x84], eax
jae 0x5a1f3a
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x6c
call fcn.004b6e50
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.004e9dc0
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x80]
add ecx, dword [ebp - 0x88]
mov dword [ebp - 0x80], ecx
jmp 0x5a1ee1
cmp dword [ebp - 0x80], 0
je 0x5a2139
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9dc0
mov edx, dword [ebp - 0x80]
add edx, eax
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
shl eax, 1
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
push 4
mov edx, dword [ebp - 0x80]
xor eax, eax
push eax
push edx
call fcn.005a1750
add esp, 8
add eax, 2
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.005a15e8
push 0x11
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
mov ecx, dword [ebp - 0x80]
xor edx, edx
push edx
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.005a0d24
mov eax, dword [ebp - 0xb4]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x5a1fcf
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 4], eax
jmp 0x5a2139
push 0
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
mov dword [ebp - 0x90], 0
jmp 0x5a1ff7
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.004e9dc0
cmp dword [ebp - 0x90], eax
jae 0x5a2139
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x6c
call fcn.004b6e50
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
call fcn.004dc610
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0xa0]
call fcn.004e9dc0
add eax, 1
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x94]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0xb4]
xor edx, edx
mov dl, byte [ecx + 1]
test edx, edx
je 0x5a20cb
mov eax, dword [ebp - 0x94]
mov cx, word [eax]
mov word [ebp - 0xa4], cx
mov edx, dword [ebp - 0x94]
add edx, 2
mov dword [ebp - 0x94], edx
mov al, byte [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.005a2b60
mov ecx, dword [ebp - 0xa4]
and ecx, 0xffff
sar ecx, 8
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.005a2b60
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x98]
jne 0x5a206f
jmp 0x5a2134
mov eax, dword [ebp - 0x9c]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xb4]
add ecx, 8
call fcn.005a2ac0
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x94]
mov dx, word [ecx]
mov word [ebp - 0xac], dx
mov eax, dword [ebp - 0x94]
add eax, 2
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0xa8]
mov dx, word [ebp - 0xac]
mov word [ecx], dx
mov eax, dword [ebp - 0xa8]
add eax, 2
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x98]
jne 0x5a20e8
jmp 0x5a1fe8
push 0x12
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.005a187a
push 0x13
mov eax, dword [ebp + 8]
add eax, 0x90
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.005a187a
push 0x14
mov ecx, dword [ebp + 8]
add ecx, 0xa8
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.005a187a
push 0x18
mov edx, dword [ebp + 8]
add edx, 0xc0
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.005a187a
mov eax, dword [ebp + 8]
add eax, 0xd8
push eax
call fcn.00546e50
add esp, 4
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x5a21ed
push 2
push 0x15
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xd8
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.005a1698
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xd8
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.005a17a3
push 0
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
push 0
mov ecx, dword [ebp - 0xb4]
call fcn.005a0cd2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8