Function at 0x408d6c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x20a8
call fcn.00409025
mov eax, dword [0x3fd9a128]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x2038], eax
mov eax, dword [ebp + 0x10]
push edi
lea ecx, [ebp - 0x2050]
mov dword [ebp - 0x2034], eax
call fcn.00403d07
or dword [ebp - 0x2054], 0xffffffff
mov edi, dword [0x3fd8123c]
mov dword [ebp - 0x2058], 0xffffd8f0
mov esi, 0x3fd9a10c
push 0
push 1
push esi
call edi
test eax, eax
jne 0x40a16c
cmp dword [0x3fd9a03c], eax
jne 0x408df3
push 0x3fd8b650
call dword [0x3fd81238]
mov dword [0x3fd9a03c], eax
test eax, eax
je 0x40a180
push esi
call dword [0x3fd81234]
push 0x14
pop ecx
xor eax, eax
push 0xffffffffffffffff
push dword [ebp - 0x2034]
lea edi, [ebp - 0x20a8]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x2050]
call fcn.00403c4f
test al, al
je 0x40a187
mov esi, dword [ebp - 0x2048]
xor edi, edi
mov dword [ebp - 0x2034], edi
cmp word [esi], di
je 0x408f7e
lea eax, [ebx - 4]
mov dword [ebp - 0x2030], eax
add ebx, 0xfffffff8
push 0x14
pop edx
cmp dword [ebp - 0x2034], edx
jge 0x409021
cmp word [esi], 0x25
jne 0x408f73
add esi, 2
cmp word [esi], 0x57
je 0x40a199
push 0x25
pop eax
xor ecx, ecx
mov word [ebp - 0x2c], ax
inc ecx
movzx eax, word [esi]
cmp ax, di
je 0x408ec1
cmp ax, 0x25
je 0x408ec1
cmp ax, 0x73
je 0x409011
cmp ax, 0x63
je 0x409011
cmp ecx, edx
jge 0x40a187
mov ax, word [esi]
mov word [ebp + ecx*2 - 0x2c], ax
inc ecx
inc esi
inc esi
jmp 0x408e75
dec esi
dec esi
cmp ecx, edx
jge 0x40a187
xor eax, eax
push 4
mov word [ebp + ecx*2 - 0x2c], ax
lea eax, [ebp - 0x2c]
push 0x3fd8b790
push eax
call dword [0x3fd81034]
add esp, 0xc
test eax, eax
je 0x40a1d8
add dword [ebp - 0x2030], 4
mov eax, dword [ebp - 0x2030]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x202c]
push 0x1000
push eax
add ebx, 4
call fcn.00408c2b
add esp, 0x10
lea eax, [ebp - 0x202c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x408f21
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [0x3fd810a8]
mov ecx, dword [ebp - 0x2034]
mov dword [ebp + ecx*4 - 0x20a8], eax
test eax, eax
je 0x40a187
lea ecx, [ebp - 0x202c]
push ecx
push edi
push eax
call fcn.00408bb8
inc dword [ebp - 0x2034]
xor edi, edi
inc esi
inc esi
cmp word [esi], di
jne 0x408e45
lea eax, [ebp - 0x20a8]
push eax
push 0x1000
lea eax, [ebp - 0x202c]
push eax
push edi
push dword [ebp + 0xc]
push dword [0x3fd9a03c]
push 0x2800
call dword [0x3fd81230]
xor ebx, ebx
lea esi, [ebp + ebx*4 - 0x20a8]
mov eax, dword [esi]
cmp eax, edi
jne 0x408ff9
inc ebx
cmp ebx, 0x14
jl 0x408fa8
mov ecx, dword [ebp - 0x2038]
push 0xffffffffffffffff
lea eax, [ebp - 0x202c]
push eax
call fcn.00405c2b
mov bl, al
lea ecx, [ebp - 0x2050]
call fcn.00403d59
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x3febb8
leave
ret 0x10
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [0x3fd810ac]
mov dword [esi], edi
jmp 0x408fb5
cmp word [esi - 2], 0x77
jne 0x40a1c6
jmp 0x408e97
xor bl, bl
jmp 0x408fd1
add byte [eax], al
add byte [ecx - 0x77], ah
mov word [eax], es
add byte [eax], al
add byte [eax - 0x44], ch
add byte [eax], al
popal
and eax, dword [eax]
add bh, bh
add byte [eax], al
add byte [eax], dl
mov word [eax], ss
add byte [eax], al
add byte [eax], al
add byte [eax], al
popal
and eax, dword [eax]
add byte [eax + eax], bl
add byte [ecx], ah
popal
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [ecx], al
add byte [eax], al
lea eax, [eax]
mov al, 0
imul eax, dword [eax], 0x15000000
add byte [eax], al
adc ch, al
add byte [ecx], ch
add byte [eax], al
add byte [0xc5100000], dl