Function at 0x406dc0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e3ee
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5522f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], al
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 7
mov word [esi + 0x38], cx
mov byte [ebp - 4], 2
mov edx, 0x5338bc
mov eax, dword [ebp + 8]
test eax, eax
cmovne edx, eax
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406e40
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00404300
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
cmp eax, 5
ja case.default.0x406e6a
jmp dword [eax*4 + 0x407078]
mov eax, dword [ebx]
mov dword [esi + 0x1c], eax
jmp 0x406fbd
cmp dword [ebp + 0x14], 0
je case.default.0x406e6a
mov edi, ebx
lea ecx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x406e90
mov edx, dword [esi + 0x34]
lea eax, [esi + 0x20]
sub edi, ecx
mov dword [ebp + 0xc], edx
cmp edi, edx
ja 0x406ecf
mov dword [ebp + 0x10], eax
mov ecx, eax
cmp edx, 0x10
jb 0x406eb5
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
push edi
push ebx
push ecx
mov dword [eax + 0x10], edi
call fcn.00433030
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov byte [eax + edi], 0
jmp case.default.0x406e6a
cmp edi, 0x7fffffff
ja 0x40706b
mov ecx, edi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x406eef
mov ecx, 0x7fffffff
jmp 0x406f13
mov eax, edx
shr eax, 1
mov dword [ebp + 0x10], eax
mov eax, 0x7fffffff
sub eax, dword [ebp + 0x10]
cmp edx, eax
jbe 0x406f09
mov ecx, 0x7fffffff
jmp 0x406f13
mov eax, dword [ebp + 0x10]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea edx, [ecx + 1]
mov dword [ebp + 0x10], ecx
cmp edx, 0x1000
jb 0x406f4d
lea eax, [edx + 0x23]
or ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.0042766b
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x407070
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp + 0x10]
jmp 0x406f61
test edx, edx
je 0x406f5f
push edx
call fcn.0042766b
mov ecx, dword [ebp + 0x10]
add esp, 4
jmp 0x406f61
xor eax, eax
push edi
push ebx
push eax
mov dword [ebp + 8], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ecx
call fcn.00432810
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov byte [eax + edi], 0
cmp ecx, 0x10
jb 0x406fb3
mov eax, dword [esi + 0x20]
inc ecx
cmp ecx, 0x1000
jb 0x406fa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407070
mov eax, edx
push ecx
push eax
call fcn.0042769b
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], 0
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x406fe9
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406fd0
sub edx, ecx
lea ecx, [esi + 0x38]
sar edx, 1
push edx
push edi
call fcn.00404300
cmp dword [ebp + 0x14], 0
je 0x40701d
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], ecx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x60], eax
test ecx, ecx
je 0x407040
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x68], eax
jmp 0x40704e
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
call fcn.00404440
call fcn.00439b29
nop dword [eax]
jno 0x4070e8
inc eax
add byte [ecx + 0x6e], dh
inc eax
add byte [ecx + 0x6e], dh
inc eax
add byte [ecx + 0x6e], dh
inc eax
add byte [ecx + 0x6e], dh
inc eax
add byte [ebx + 0x6e], bh
inc eax
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov edi, dword [esi]
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.004082f0
mov edx, eax
mov ecx, 0xaaaaaa9
mov eax, dword [esi + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4070d3
inc eax
mov dword [esi + 4], eax
mov dword [edi + 4], edx
mov dword [ebx], edx
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov eax, dword [eax + 4]
add eax, 8
pop ebp
ret 8
push str.list_T__too_long
call fcn.00427608
int3
push eax
add byte [ecx], ah
add byte [eax], al
add byte [eax - 0x7d], dl
in al, dx
or byte [ebx + 0x56], dl