Function at 0x4a4418
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4a4682
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x400
mov eax, dword [ebp + 8]
mov ecx, 1
mov edx, dword [0x4910b4]
call fcn.00405f78
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 2], 0
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00491d18
mov eax, dword [ebp - 0x10]
call fcn.00404a08
test eax, eax
jle 0x4a4508
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 3], 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 4], 0x10
mov dword [ebp - 8], 5
mov edx, ebx
mov eax, dword [0x49f4f0]
call fcn.0049f5f4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a44f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x4a44e2
push 4
push 0x10
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0049f590
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.004916ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a44ff
lea eax, [ebp - 0xc]
call fcn.0040edf4
ret
mov eax, dword [0x4bca00]
mov eax, dword [eax]
mov edx, ebx
call fcn.00499634
test al, al
je 0x4a4591
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 3], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 4], 4
mov edx, ebx
mov eax, dword [0x49f4f0]
call fcn.0049f5f4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a4581
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x4a456b
push 4
push 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0049f590
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.004916ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4588
lea eax, [ebp - 0xc]
call fcn.0040edf4
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 3], 3
mov eax, ebx
call fcn.00404a08
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov byte [edx + 4], al
mov dword [ebp - 8], 5
mov eax, ebx
call fcn.00404a08
test eax, eax
jle 0x4a45e0
mov eax, dword [ebp - 8]
push eax
mov eax, ebx
call fcn.00404a08
push eax
lea ecx, [ebp - 0x1c]
mov dl, 1
mov eax, ebx
call fcn.004926a0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.004916ec
mov eax, ebx
call fcn.00404a08
add dword [ebp - 8], eax
mov eax, dword [0x4bca00]
mov eax, dword [eax]
mov dx, word [ebp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
push 2
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00492860
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.004916ec
add dword [ebp - 8], 2
mov eax, dword [ebp - 4]
call fcn.00405dbc
add eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, 1
mov edx, dword [0x4910b4]
call fcn.00405f78
add esp, 4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405dbc
push eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004916ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4689
lea eax, [ebp - 0x20]
mov edx, dword [0x4910b4]
mov ecx, 4
call fcn.00405344
lea eax, [ebp - 0x10]
call fcn.00404740
ret