Function at 0x4200f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4957d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0
call fcn.00421c60
mov esi, dword [esi + 8]
mov dword [esp + 0x6c], 1
push esi
call fcn.0042ac60
add esi, 2
mov word [esp + 0x34], ax
push esi
call fcn.0042ac60
add esp, 8
add esi, 2
mov word [esp + 0x32], ax
push esi
call fcn.0042ac50
add esi, 4
xor edi, edi
test eax, eax
mov dword [esp + 0x34], eax
jbe 0x420193
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
je 0x420178
test eax, eax
je 0x420171
mov cl, byte [esi]
mov byte [eax], cl
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
jmp 0x420189
push 1
push esi
push eax
lea ecx, [esp + 0x44]
call fcn.00414af0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
inc edi
inc esi
cmp edi, ecx
jb 0x42015f
push esi
call fcn.0042ac60
add esp, 4
add esi, 2
xor edi, edi
mov word [esp + 0x44], ax
test ax, ax
jbe 0x420229
push esi
call fcn.0042ac60
add esi, 2
mov word [esp + 0x14], ax
push esi
call fcn.0042ac60
add esi, 2
mov word [esp + 0x1a], ax
push esi
call fcn.0042ac60
add esi, 2
mov word [esp + 0x20], ax
push esi
call fcn.0042ac60
mov ecx, dword [esp + 0x60]
mov word [esp + 0x26], ax
mov eax, dword [esp + 0x5c]
add esp, 0x10
add esi, 2
cmp eax, ecx
je 0x420210
test eax, eax
je 0x420207
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x4c]
add eax, 8
mov dword [esp + 0x4c], eax
jmp 0x420221
lea edx, [esp + 0x10]
push 1
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.0040e100
inc edi
cmp di, word [esp + 0x44]
jb 0x4201ab
push esi
call fcn.0042ac60
add esp, 4
mov word [esp + 0x54], ax
test ax, ax
lea edi, [esi + 2]
mov dword [esp + 0x10], 0
jbe 0x420392
push ebp
lea eax, [esp + 0x13]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x74], 2
call fcn.00404540
push edi
mov byte [esp + 0x74], 3
call fcn.0042ac60
add esp, 4
add edi, 2
mov word [esp + 0x20], ax
push edi
call fcn.0042ac50
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub edx, ecx
add edi, 4
cmp edx, eax
mov dword [esp + 0x24], eax
mov ebx, eax
jae 0x4202f1
mov edx, dword [esp + 0x2c]
mov ebp, edx
sub ebp, ecx
test ecx, ecx
je 0x4202c7
push edx
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00433d50
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00414ad0
mov eax, dword [esp + 0x24]
jmp 0x4202de
test eax, eax
je 0x4202dc
push eax
call fcn.00402fb6
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 4
jmp 0x4202de
xor esi, esi
mov dword [esp + 0x28], esi
lea ecx, [esi + ebp]
add esi, ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
jmp 0x4202f5
mov ecx, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jbe 0x420337
mov ebx, dword [esp + 0x30]
mov edx, edi
inc edi
cmp ecx, ebx
je 0x42031d
test ecx, ecx
je 0x420316
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x420332
push 1
push edx
push ecx
lea ecx, [esp + 0x34]
call fcn.00414af0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jb 0x4202fb
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
je 0x42035e
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.00402f76
mov eax, dword [esp + 0x68]
add esp, 8
add eax, 0x14
mov dword [esp + 0x60], eax
jmp 0x42036f
lea edx, [esp + 0x20]
push 1
push edx
push eax
lea ecx, [esp + 0x68]
call fcn.00402e2e
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.00414830
mov eax, dword [esp + 0x14]
inc eax
cmp ax, word [esp + 0x58]
mov dword [esp + 0x14], eax
jb 0x42024c
pop ebp
mov ebx, dword [esp + 0x74]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.00420420
mov dword [esp + 0x18], 1
mov dword [esp + 0x6c], 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
cmp esi, edi
mov byte [esp + 0x6c], 6
je 0x4203db
push 0
mov ecx, esi
call fcn.00415ab0
add esi, 0x14
cmp esi, edi
jne 0x4203cb
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c], 5
call fcn.00402c4f
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 4
call fcn.00402b0f
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0
call fcn.00402add
mov ecx, dword [esp + 0x64]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4