Function at 0x47768c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x477694
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x477abb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004770ec
test al, al
je 0x477aa0
xor ebx, ebx
mov eax, dword [0x59ef6c]
cmp byte [eax], 0
jne 0x47773d
mov eax, dword [0x59efd0]
cmp dword [eax + 0x14], 0
jne 0x47773d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004308ac
mov edx, eax
mov eax, dword [0x59e8ec]
add eax, 0x91
call fcn.00423c2c
mov esi, eax
lea edx, [ebp - 0x14]
mov eax, dword [esi + 0xc]
call fcn.00467348
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x10]
call fcn.004053e0
mov eax, dword [esi + 0x10]
call fcn.0040581c
mov edi, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
call fcn.00466eec
mov eax, dword [0x59efd0]
mov dword [eax + 0x14], esi
mov eax, dword [0x59efd0]
mov dword [eax + 8], edi
mov eax, dword [0x59efd0]
movzx edx, word [ebp - 0x10]
mov word [eax + 4], dx
call fcn.00466ce8
test al, al
je 0x47777b
jmp 0x47780d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x477ad4
call fcn.00425634
push 0x10
push 0x477af4
push 0x477b00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x477a96
push 0x477b5c
mov eax, dword [0x59efd0]
mov eax, dword [eax + 0x14]
push dword [eax]
push 0x477b70
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00425634
call fcn.00466eec
or eax, 0xffffffff
call fcn.0046722c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4777dd
mov edx, 0x1b58
mov eax, 1
call fcn.00467020
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x47780d
jmp 0x47774b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x477b88
call fcn.00425634
push 0x10
push 0x477af4
push 0x477ba0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x477a96
mov eax, dword [0x59ef8c]
cmp byte [eax], 0
je 0x477871
mov eax, dword [0x59e8cc]
cmp dword [eax], 0
jne 0x47783c
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x60]
mov edx, dword [0x474c38]
xor eax, eax
call fcn.00475538
mov edx, dword [0x59e8cc]
mov dword [edx], eax
mov eax, dword [0x59e8cc]
mov eax, dword [eax]
call fcn.004754cc
mov eax, dword [0x59e8cc]
call fcn.00421d98
mov eax, dword [0x59eab4]
cmp byte [eax], 0
jne 0x477871
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x477c68
call fcn.00425634
jmp 0x477a96
push 0x8a
call fcn.00406f68
pop ecx
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4779f3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x59efd0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 8]
call fcn.0040581c
mov esi, eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004256a8
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004256a8
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004256a8
mov eax, dword [ebp - 0x24]
push eax
push esi
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004256a8
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004256a8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
pop ecx
call fcn.00477580
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1c]
add ax, 0x2012
inc eax
mov edx, dword [ebp - 8]
mov word [edx + 2], ax
cmp ax, 0x2013
jne 0x477929
mov eax, dword [0x59e92c]
movzx eax, byte [eax]
mov edx, dword [ebp - 8]
mov byte [edx + 0x6d], al
mov eax, dword [0x59e9c4]
movzx eax, byte [eax]
mov edx, dword [ebp - 8]
mov byte [edx + 0x86], al
mov eax, dword [0x59e9c4]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 8]
mov byte [edx + 0x87], al
mov eax, dword [0x59e9c4]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 8]
mov byte [edx + 0x88], al
mov eax, dword [0x59e9c4]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 8]
mov byte [edx + 0x89], al
mov eax, dword [0x59ef8c]
cmp byte [eax], 0
jne 0x47797f
mov ebx, 4
mov eax, dword [0x59ed74]
mov eax, dword [eax]
lea edx, [eax + 6]
push edx
push 0xffffffffffffffff
mov edx, dword [0x59ed74]
lea ecx, [eax + 4]
mov esi, 0x8a
sub esi, ebx
mov edx, esi
lea eax, [ebp - 8]
call fcn.00430360
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x477c94
call fcn.00425634
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00467084
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4779db
mov edx, 0x1b58
mov eax, 1
call fcn.00467020
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4779fa
mov eax, dword [ebp - 8]
push eax
call fcn.00406f78
pop ecx
ret
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.00477538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477ac2
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.004053b0
ret