Function at 0x47a240
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ccbf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov edx, dword [ebp + 8]
mov eax, dword [0x4f0b10]
push ebx
push esi
push edi
mov edi, ecx
mov cl, 1
cmp cl, byte [edx + 2]
mov dword [esp + 0x10], eax
sbb eax, eax
and eax, dword [0x4f0b14]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0xf], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x44], 1
xor ebx, ebx
mov esi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x47a2be
cmp al, 9
jne 0x47a2c1
inc esi
jmp 0x47a2b4
cmp byte [esi], 0x2a
jne 0x47a395
lea ebx, [ebx]
movsx eax, byte [esi + 1]
inc esi
push eax
call fcn.004bbc73
add esp, 4
cmp eax, 0x47
je 0x47a2ea
mov byte [esp + 0xf], 1
jmp 0x47a348
push 0x4e3df0
call fcn.0049be50
add esp, 4
push 0xe
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47a31a
add esi, 0xe
test ebx, ebx
je 0x47a313
mov byte [esp + 0xf], 1
mov ebx, 2
jmp 0x47a348
push 0x4e3e08
call fcn.0049be50
add esp, 4
push 7
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x47a348
add esi, 7
test ebx, ebx
je 0x47a343
mov byte [esp + 0xf], 1
mov ebx, 1
test esi, esi
je 0x47a378
mov dl, byte [esi]
test dl, dl
je 0x47a378
mov ecx, 0x4d9558
mov al, 0x20
lea esp, [esp]
cmp dl, al
je 0x47a461
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x47a360
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x47a352
push 0x4d9ad4
lea eax, [esp + 0x30]
call fcn.00413c90
mov edi, eax
cmp byte [esp + 0xf], 0
jne 0x47a5b4
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x17]
test al, al
jne 0x47a3a6
mov edx, dword [edx + 0xc]
mov al, byte [edx + 0x17]
cmp al, 2
je 0x47a5b4
mov esi, dword [ebp + 0xc]
cmp dword [esi], 0x4034b50
mov dword [esp + 0x14], ecx
je 0x47a3e2
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0048fd70
add esp, 4
test al, al
je 0x47a3e2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47a3e2
cmp dword [eax], 0x4034b50
jne 0x47a3e2
mov esi, eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push ecx
push edi
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
mov edx, esi
call fcn.00477a50
add esp, 0x18
mov dword [esp + 0x14], eax
cmp eax, 0x64
jne 0x47a481
mov esi, dword [esp + 0x30]
test esi, esi
je 0x47a42a
mov edx, dword [esp + 0x2c]
push edx
push 0
push esi
call fcn.004c16a0
add esp, 0xc
push esi
call fcn.004ba14c
add esp, 4
mov esi, dword [esp + 0x24]
test esi, esi
je 0x47a44b
mov eax, dword [esp + 0x20]
push eax
push 0
push esi
call fcn.004c16a0
add esp, 0xc
push esi
call fcn.004ba14c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edi, [esi + 1]
mov esi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x47a470
cmp al, 9
jne 0x47a473
inc esi
jmp 0x47a466
cmp byte [esi], 0x2a
je 0x47a2d0
jmp 0x47a388
test eax, eax
jne 0x47a5b4
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test eax, eax
je 0x47a49f
push 0x18
push 0
push esi
call fcn.00401570
mov ecx, dword [esp + 0x10]
call fcn.0041a480
mov edi, dword [esp + 0x24]
test ebx, ebx
je 0x47a508
xor ebx, ebx
cmp edi, ebx
jne 0x47a4c6
mov esi, dword [esp + 0x10]
xor eax, eax
push eax
mov eax, esi
call fcn.004a6340
jmp 0x47a518
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x47a4e5
cmp eax, 1
je 0x47a4e5
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
push eax
mov eax, esi
call fcn.004a6340
jmp 0x47a518
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47a4f0
mov esi, dword [esp + 0x10]
sub eax, edx
inc eax
push eax
mov eax, esi
call fcn.004a6340
jmp 0x47a518
mov eax, dword [esp + 0x10]
push esi
call fcn.004a6340
mov esi, dword [esp + 0x10]
xor ebx, ebx
cmp byte [esi + 0x17], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
jne 0x47a52f
mov eax, dword [esi + 0xc]
jmp 0x47a531
mov eax, esi
cmp byte [eax + 0x17], 2
jne 0x47a577
cmp dword [0x4f2354], ebx
je 0x47a577
push 1
mov ecx, 0x4f2348
call fcn.004049f0
cmp eax, ebx
jne 0x47a57b
lea ecx, [esp + 0x2c]
call fcn.004138f0
lea ecx, [esp + 0x20]
call fcn.004138f0
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
and byte [eax + 0x15], 0x86
mov eax, dword [0x4f13d8]
push 0x18
push ebx
push ebx
call fcn.00401570
lea ecx, [esp + 0x2c]
call fcn.004138f0
lea ecx, [esp + 0x20]
call fcn.004138f0
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x10]
call fcn.0041a480
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x47a5ca
call fcn.0041a480
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.0042d1e0
mov edi, dword [esp + 0x30]
mov esi, eax
test edi, edi
je 0x47a5fb
mov eax, dword [esp + 0x2c]
push eax
push 0
push edi
call fcn.004c16a0
add esp, 0xc
push edi
call fcn.004ba14c
add esp, 4
mov edi, dword [esp + 0x24]
test edi, edi
je 0x47a61c
mov ecx, dword [esp + 0x20]
push ecx
push 0
push edi
call fcn.004c16a0
add esp, 0xc
push edi
call fcn.004ba14c
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10