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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov edx, dword [ebp + 8]
mov eax, dword [0x515e10]
push ebx
mov ebx, ecx
mov cl, 1
cmp cl, byte [edx + 2]
mov dword [esp + 0x10], eax
sbb eax, eax
and eax, dword [0x515e14]
push esi
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x4c], cl
mov dword [esp + 0x14], esi
mov edi, ebx
movzx eax, word [edi]
cmp eax, 0x20
je 0x47d632
cmp eax, 9
jne 0x47d637
add edi, 2
jmp 0x47d625
cmp word [edi], 0x2a
jne 0x47d71e
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.004c6789
add esp, 4
cmp eax, 0x47
je 0x47d65d
mov byte [esp + 0x13], 1
jmp 0x47d6c5
push 0xe
push 0x5074e0
call fcn.0049fc00
add esp, 4
push eax
push edi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x47d692
add edi, 0x1c
cmp dword [esp + 0x14], esi
je 0x47d688
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], 2
jmp 0x47d6c5
push 7
push 0x507510
call fcn.0049fc00
add esp, 4
push eax
push edi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x47d6c5
add edi, 0xe
cmp dword [esp + 0x14], esi
je 0x47d6bd
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], 1
cmp edi, esi
je 0x47d701
movzx eax, word [edi]
cmp ax, si
je 0x47d701
movzx edx, ax
mov ecx, 0x4e6dc4
mov eax, 0x20
mov edi, edi
cmp dx, ax
je 0x47d7eb
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, si
jne 0x47d6e0
movzx eax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x47d6d1
mov ebx, 0x4e7bb8
lea eax, [esp + 0x34]
call fcn.00415310
mov ebx, eax
xor esi, esi
cmp byte [esp + 0x13], 0
jne 0x47d8f1
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x17]
test al, al
jne 0x47d72f
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx + 0x17]
cmp al, 2
je 0x47d8f1
mov edi, dword [ebp + 0xc]
cmp dword [edi], 0x4034b50
mov dword [esp + 0x1c], esi
je 0x47d76b
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00493620
add esp, 4
test al, al
je 0x47d76b
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x47d76b
cmp dword [eax], 0x4034b50
jne 0x47d76b
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ebx
push ecx
mov ecx, dword [ebp + 0x14]
push edi
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0047abd0
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp eax, 0x64
jne 0x47d811
mov edi, dword [esp + 0x38]
cmp edi, esi
je 0x47d7b4
mov ecx, dword [esp + 0x34]
push ecx
push esi
push edi
call fcn.004ce290
add esp, 0xc
push edi
call fcn.004c57e5
add esp, 4
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x47d7d5
mov edx, dword [esp + 0x28]
push edx
push 0
push esi
call fcn.004ce290
add esp, 0xc
push esi
call fcn.004c57e5
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ebx, [edi + 2]
mov edi, ebx
movzx eax, word [edi]
cmp eax, 0x20
je 0x47d7fd
cmp eax, 9
jne 0x47d802
add edi, 2
jmp 0x47d7f0
cmp word [edi], 0x2a
je 0x47d641
jmp 0x47d713
cmp eax, esi
jne 0x47d8f1
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
cmp eax, esi
je 0x47d82e
push 0x18
push esi
push edi
call fcn.00401590
mov ebx, dword [esp + 0x18]
mov ecx, ebx
call fcn.0041bc60
cmp dword [esp + 0x14], esi
je 0x47d84b
lea edx, [esp + 0x28]
call fcn.00415de0
push eax
jmp 0x47d84c
push edi
mov edi, dword [esp + 0x30]
mov eax, ebx
call fcn.0046df40
cmp byte [ebx + 0x17], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
jne 0x47d86e
mov eax, dword [ebx + 0xc]
jmp 0x47d870
mov eax, ebx
cmp byte [eax + 0x17], 2
jne 0x47d8b4
cmp dword [0x5179f4], esi
je 0x47d8b4
mov ecx, 0x5179e8
call fcn.00404c10
cmp eax, esi
jne 0x47d8b8
lea ecx, [esp + 0x34]
call fcn.00414f70
lea ecx, [esp + 0x28]
call fcn.00414f70
xor eax, eax
mov ecx, dword [esp + 0x44]
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 [0x5166e0]
push 0x18
push esi
push esi
call fcn.00401590
lea ecx, [esp + 0x34]
call fcn.00414f70
lea ecx, [esp + 0x28]
call fcn.00414f70
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x18]
call fcn.0041bc60
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x47d907
call fcn.0041bc60
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0042f0a0
mov ebx, dword [esp + 0x38]
mov edi, eax
cmp ebx, esi
je 0x47d937
mov edx, dword [esp + 0x34]
push edx
push esi
push ebx
call fcn.004ce290
add esp, 0xc
push ebx
call fcn.004c57e5
add esp, 4
mov ebx, dword [esp + 0x2c]
cmp ebx, esi
je 0x47d957
mov eax, dword [esp + 0x28]
push eax
push esi
push ebx
call fcn.004ce290
add esp, 0xc
push ebx
call fcn.004c57e5
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10