Function at 0x539e00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x692800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [esp + 0x24]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov byte [ecx + 0xd4], bl
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.004031c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov esi, dword [eax]
add esi, 2
mov dword [eax], esi
mov edx, dword [ecx + 4]
mov eax, esi
cmp eax, edx
jg 0x53a160
mov ecx, dword [ecx + 8]
mov ax, word [ecx + eax - 2]
cmp ax, 1
jne 0x539ec0
mov edx, dword [0x8189b8]
mov eax, dword [edx + 0x1bc]
cmp eax, ebx
je 0x53a160
cmp dword [eax + 0x14], ebx
je 0x53a160
lea eax, [esp + 0x10]
push eax
push 0x2c67
call fcn.00615080
mov cl, byte [esp + 0x18]
sub esp, 8
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [esp + 0x20]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00402fc0
jmp 0x53a09d
cmp ax, 0xffff
jne 0x539f1f
mov eax, dword [0x8189b8]
mov eax, dword [eax + 0x1bc]
cmp eax, ebx
je 0x53a160
cmp dword [eax + 0x14], ebx
je 0x53a160
lea ecx, [esp + 0x10]
push ecx
push 0x2c64
call fcn.00615080
mov dl, byte [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
lea edx, [esp + 0x20]
push eax
push ebx
push edx
call fcn.00402fc0
jmp 0x53a149
cmp ax, 0xfffe
jne 0x539f81
mov edx, dword [0x8189b8]
mov eax, dword [edx + 0x1bc]
cmp eax, ebx
je 0x53a160
cmp dword [eax + 0x14], ebx
je 0x53a160
lea eax, [esp + 0x10]
push eax
push 0x2c78
call fcn.00615080
mov cl, byte [esp + 0x18]
sub esp, 8
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [esp + 0x20]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00402fc0
jmp 0x53a09d
cmp ax, 0xfffd
jne 0x539fe0
mov eax, dword [0x8189b8]
mov eax, dword [eax + 0x1bc]
cmp eax, ebx
je 0x53a160
cmp dword [eax + 0x14], ebx
je 0x53a160
lea ecx, [esp + 0x10]
push ecx
push 0x2c39
call fcn.00615080
mov dl, byte [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
lea edx, [esp + 0x20]
push eax
push ebx
push edx
call fcn.00402fc0
jmp 0x53a149
cmp ax, 0xfffc
jne 0x53a040
mov edx, dword [0x8189b8]
mov eax, dword [edx + 0x1bc]
cmp eax, ebx
je 0x53a160
cmp dword [eax + 0x14], ebx
je 0x53a160
lea eax, [esp + 0x10]
push eax
push 0x2c65
call fcn.00615080
mov dl, byte [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
lea edx, [esp + 0x20]
push eax
push ebx
push edx
call fcn.00402fc0
jmp 0x53a149
cmp ax, 0xfffb
jne 0x53a0b5
mov edx, dword [0x8189b8]
mov eax, dword [edx + 0x1bc]
cmp eax, ebx
je 0x53a160
cmp dword [eax + 0x14], ebx
je 0x53a160
lea eax, [esp + 0x10]
push eax
push 0x2c66
call fcn.00615080
mov cl, byte [esp + 0x18]
sub esp, 8
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [esp + 0x20]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00402fc0
mov ecx, dword [0x8189b8]
mov byte [esp + 0x38], bl
mov edx, dword [ecx + 0x1bc]
mov ecx, dword [edx + 0x14]
jmp 0x53a15b
cmp ax, 0xff9c
jne 0x53a160
mov eax, dword [0x8189b8]
mov eax, dword [eax + 0x1bc]
cmp eax, ebx
je 0x53a160
cmp dword [eax + 0x14], ebx
je 0x53a160
mov edi, 0x6d663c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call fcn.00403350
test al, al
je 0x53a120
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6d663c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [eax + ebp], bl
mov dl, byte [esp + 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
lea edx, [esp + 0x20]
push eax
push ebx
push edx
call fcn.00402fc0
mov eax, dword [0x8189b8]
mov byte [esp + 0x38], bl
mov ecx, dword [eax + 0x1bc]
mov ecx, dword [ecx + 0x14]
call fcn.0053bd70
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
cmp ecx, ebx
je 0x53a18c
mov al, byte [ecx - 1]
cmp al, bl
je 0x53a182
cmp al, 0xff
je 0x53a182
dec al
mov byte [ecx - 1], al
jmp 0x53a18c
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8