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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c720a
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], esi
xor eax, eax
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi], vtable.SProtect.0
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 7
mov dword [ebp - 4], eax
mov word [esi + 0x38], ax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x104
push 0x104
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], 1
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [ebp - 0x74]
xorps xmm0, xmm0
mov edx, eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x464890
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.0045f390
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xd0]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00462230
mov eax, dword [ebp - 0xbc]
mov ecx, eax
shr ecx, 0x10
movzx edx, ax
test eax, eax
jne 0x464957
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x7c], edx
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x46490d
mov eax, dword [ebp - 0x38]
add eax, 0x76c
jmp 0x46490f
xor eax, eax
movzx eax, ax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x4c]
push eax
call edi
add esp, 8
test eax, eax
jne 0x46492f
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x74], eax
jmp 0x464936
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
call edi
xor ecx, ecx
add esp, 8
test eax, eax
cmove ecx, dword [ebp - 0x64]
imul eax, dword [ebp - 0x74], 0x64
add eax, ecx
mov ecx, dword [ebp - 0x78]
movzx edx, ax
mov word [esi + 0x34], cx
lea ecx, [ebp - 0xd0]
mov word [esi + 0x36], dx
call fcn.00465af0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4649a6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46499c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46499c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004beeb3
mov esp, ebp
pop ebp
ret