Function at 0x47b238
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x47b240
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b65f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047ac98
test al, al
je 0x47b644
mov eax, dword [0x651fd8]
cmp byte [eax], 0
jne 0x47b2df
mov eax, dword [0x65203c]
cmp dword [eax + 0x14], 0
jne 0x47b2df
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0043068c
mov edx, eax
mov eax, dword [0x65197c]
add eax, 0x91
call fcn.00423dec
mov ebx, eax
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0xc]
call fcn.00469ef0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.004053e0
mov eax, dword [ebx + 0x10]
call fcn.0040581c
mov esi, eax
mov edi, dword [ebx + 0x14]
call fcn.00469a94
mov eax, dword [0x65203c]
mov dword [eax + 0x14], ebx
mov eax, dword [0x65203c]
mov dword [eax + 8], esi
mov eax, dword [0x65203c]
mov word [eax + 4], di
call fcn.00469890
test al, al
je 0x47b31d
jmp 0x47b3af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x47b678
call fcn.004257f4
push 0x10
push 0x47b698
push 0x47b6a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x47b63a
push 0x47b700
mov eax, dword [0x65203c]
mov eax, dword [eax + 0x14]
push dword [eax]
push 0x47b714
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004257f4
call fcn.00469a94
or eax, 0xffffffff
call fcn.00469dd4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x47b37f
mov edx, 0x1b58
mov eax, 1
call fcn.00469bc8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x47b3af
jmp 0x47b2ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x47b72c
call fcn.004257f4
push 0x10
push 0x47b698
push 0x47b744
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x47b63a
mov eax, dword [0x651ff8]
cmp byte [eax], 0
je 0x47b413
mov eax, dword [0x65195c]
cmp dword [eax], 0
jne 0x47b3de
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x5c]
mov edx, dword [0x4787e4]
xor eax, eax
call fcn.004790e4
mov edx, dword [0x65195c]
mov dword [edx], eax
mov eax, dword [0x65195c]
mov eax, dword [eax]
call fcn.00479078
mov eax, dword [0x65195c]
call fcn.00421f58
mov eax, dword [0x651b2c]
cmp byte [eax], 0
jne 0x47b413
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x47b80c
call fcn.004257f4
jmp 0x47b63a
push 0x8a
call fcn.0040709c
pop ecx
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47b597
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x65203c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 8]
call fcn.0040581c
mov ebx, eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00425868
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00425868
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00425868
mov eax, dword [ebp - 0x20]
push eax
push ebx
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00425868
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.00425868
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
pop ecx
call fcn.0047b12c
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 0x47b4cb
mov eax, dword [0x6519b4]
movzx eax, byte [eax]
mov edx, dword [ebp - 8]
mov byte [edx + 0x6d], al
xor ebx, ebx
mov eax, dword [0x651a48]
movzx eax, byte [eax]
mov edx, dword [ebp - 8]
mov byte [edx + 0x86], al
mov eax, dword [0x651a48]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 8]
mov byte [edx + 0x87], al
mov eax, dword [0x651a48]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 8]
mov byte [edx + 0x88], al
mov eax, dword [0x651a48]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 8]
mov byte [edx + 0x89], al
mov eax, dword [0x651ff8]
cmp byte [eax], 0
jne 0x47b523
mov ebx, 4
mov eax, dword [0x651dec]
mov eax, dword [eax]
lea edx, [eax + 6]
push edx
push 0xffffffffffffffff
mov edx, dword [0x651dec]
lea ecx, [eax + 4]
mov esi, 0x8a
sub esi, ebx
mov edx, esi
lea eax, [ebp - 8]
call fcn.004696a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x47b838
call fcn.004257f4
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00469c2c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x47b57f
mov edx, 0x1b58
mov eax, 1
call fcn.00469bc8
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b59e
mov eax, dword [ebp - 8]
push eax
call fcn.004070ac
pop ecx
ret
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.0047b0e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b666
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.004053b0
ret