Function at 0x42c920
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x595258
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
xor edx, edx
cmp eax, edx
je 0x42c97b
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx]
lea ecx, [eax + ecx*2]
cmp eax, ecx
jae 0x42c97b
mov eax, dword [esi + 0x30]
dec dword [eax]
mov esi, dword [esi + 0x20]
mov eax, dword [esi]
lea edx, [eax + 2]
mov dword [esi], edx
mov ax, word [eax]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x54], edx
jne 0x42c994
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10]
push edi
lea edi, [esi + 0x48]
cmp dword [ecx], edi
jne 0x42c9b5
mov eax, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
mov dword [ecx], edi
mov ecx, dword [esi + 0x20]
mov dword [ecx], eax
mov ecx, dword [esi + 0x30]
sub eax, eax
sar eax, 1
mov dword [ecx], eax
cmp dword [esi + 0x44], edx
jne 0x42c9e9
mov esi, dword [esi + 0x54]
push esi
call fcn.00556068
movzx eax, ax
mov edx, 0xffff
add esp, 4
cmp ax, dx
jne 0x42cad4
pop edi
mov eax, edx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x34], dl
mov dword [ebp - 4], edx
mov eax, dword [esi + 0x54]
push eax
call fcn.0055691b
add esp, 4
cmp eax, 0xffffffff
je 0x42cabf
nop
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.0042c6a0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, eax
cmp ecx, 0x10
jae 0x42ca2d
lea edx, [ebp - 0x34]
mov eax, edx
add edx, dword [ebp - 0x24]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x18]
push ebx
lea ebx, [ebp - 0xe]
push ebx
lea ebx, [ebp - 0x10]
push ebx
lea ebx, [ebp - 0x14]
push ebx
push edx
mov edx, dword [edi + 0x10]
push eax
lea eax, [esi + 0x4c]
push eax
call edx
test eax, eax
js 0x42cabf
cmp eax, 1
jle 0x42ca86
cmp eax, 3
jne 0x42cabf
cmp dword [ebp - 0x24], 2
jb 0x42caaa
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x42ca70
lea eax, [ebp - 0x34]
push 2
push eax
lea eax, [ebp - 0x10]
push 2
push eax
call fcn.00554202
add esp, 0x10
jmp 0x42cb1a
lea eax, [ebp - 0x10]
cmp dword [ebp - 0x18], eax
jne 0x42cae4
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x42ca9a
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
push 0
lea ecx, [ebp - 0x34]
call fcn.004046b0
mov edx, dword [esi + 0x54]
push edx
call fcn.0055691b
add esp, 4
cmp eax, 0xffffffff
jne 0x42ca10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404b20
mov eax, 0xffff
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x20], 0x10
mov edi, dword [ebp - 0x34]
jae 0x42caf0
lea edi, [ebp - 0x34]
sub edi, dword [ebp - 0x14]
add edi, dword [ebp - 0x24]
test edi, edi
jle 0x42cb1a
lea ebx, [ebx]
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 0x54]
movsx eax, byte [edi + edx - 1]
dec edi
push ecx
push eax
call fcn.005568b2
add esp, 8
test edi, edi
jg 0x42cb00
movzx esi, word [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404b20
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov ax, si
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret