Function at 0x47b930
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513870
push 0x488848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x260], ecx
mov eax, dword [ebp - 0x260]
mov dword [eax], vtable.CCodeHook.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
call fcn.00477d70
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.0047be20
mov dword [ebp - 0x24], 0xa
push 0
lea ecx, [ebp - 0x140]
push ecx
push 0
call fcn.0047b570
mov edx, dword [ebp - 0x140]
imul edx, edx, 0x118
mov dword [ebp - 0x138], edx
push 0
push 0
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.0047b4c0
push 0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x138]
push ecx
call fcn.00476ce0
add esp, 8
mov edx, dword [ebp - 0x260]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 0x48]
mov edx, dword [0x4fe858]
mov dword [ecx], edx
mov eax, dword [0x4fe85c]
mov dword [ecx + 4], eax
mov dx, word [0x4fe860]
mov word [ecx + 8], dx
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 0x48]
add ecx, 6
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 0x48]
mov dword [eax + 2], ecx
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x260]
mov byte [eax + 0x2f], 0
mov ecx, dword [ebp - 0x260]
mov byte [ecx + 0x30], 0
lea edx, [ebp - 0x130]
push edx
push 0
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 0x34]
push ecx
push 0x4fe8e0
push 0x4fe8c8
call fcn.00475800
add esp, 0x14
lea edx, [ebp - 0x130]
push edx
call fcn.004750b0
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x134], 0
je 0x47bab9
push 0xffffffffffffffff
mov eax, dword [ebp - 0x134]
push eax
call dword [0x4fa108]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x250]
push ecx
push 0
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 0x34]
push eax
push 0x4fe8e0
push str.e4801
call fcn.00475800
add esp, 0x14
push 1
lea ecx, [ebp - 0x250]
push ecx
call fcn.00475610
mov dword [ebp - 0x144], eax
lea edx, [ebp - 0x144]
push edx
mov ecx, dword [ebp - 0x260]
call fcn.0047c610
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 0x260]
mov byte [ecx + 0x2d], al
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x260]
movzx eax, byte [edx + 0x2d]
test eax, eax
je 0x47bb83
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x138]
push ecx
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x1d]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.0047bec0
test eax, eax
jne 0x47bb83
mov ecx, dword [ebp - 0x260]
mov byte [ecx + 0x2c], 0
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call fcn.004889d5
add esp, 8
jmp 0x47bdfe
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], 5
movzx eax, byte [ebp - 0x1d]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.0047c350
mov ecx, dword [ebp + 0x1c]
and ecx, 1
jne 0x47bc65
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 0x48]
add eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x260]
mov dword [ecx + 4], eax
mov dword [ebp - 0x25c], 0
jmp 0x47bbf8
mov edx, dword [ebp - 0x25c]
add edx, 1
mov dword [ebp - 0x25c], edx
cmp dword [ebp - 0x25c], 0x118
jge 0x47bc22
push 0
push 0
mov eax, dword [ebp - 0x25c]
imul eax, eax, 0xe
mov ecx, dword [ebp - 0x260]
add eax, dword [ecx + 4]
push eax
call fcn.0047b570
jmp 0x47bbe9
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 0x48]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp - 0x258]
push edx
call fcn.0047b4c0
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x258]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 0x40]
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 0x48]
mov dword [eax], edx
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 0x48]
add ecx, 6
push ecx
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.0047c5a0
mov ecx, dword [ebp - 0x260]
mov byte [ecx + 0x2c], 1
mov edx, dword [ebp - 0x260]
movzx eax, byte [edx + 0x2d]
test eax, eax
jne 0x47bd04
push 9
call fcn.00473760
test eax, eax
jne 0x47bd04
push 6
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00471240
test eax, eax
jne 0x47bd0f
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x260]
mov eax, dword [ecx]
cmp eax, dword [edx + 0x16]
jne 0x47bd0f
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 0xc]
movzx eax, word [edx + 4]
mov ecx, dword [ebp - 0x260]
movzx edx, word [ecx + 0x1a]
cmp eax, edx
jne 0x47bd0f
mov ecx, dword [ebp - 0x260]
call fcn.0047d2d0
mov dword [ebp - 4], 4
call fcn.0047bd1d
jmp 0x47bd34
mov dword [ebp - 4], 3
call fcn.0047bd42
jmp 0x47bd67
mov dword [ebp - 4], 2
call fcn.0047bd75
jmp 0x47bd8c
mov dword [ebp - 4], 1
call fcn.0047bd9a
jmp 0x47bdb1
mov dword [ebp - 4], 0
call fcn.0047bdbf
jmp 0x47bdcf
mov dword [ebp - 4], 0xffffffff
jmp 0x47bdfe
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18