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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cde79
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x501fc0]
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 - 0xc0], esi
mov dword [ebp - 0xc4], esi
xor eax, eax
mov dword [ebp - 0xc0], 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 - 0xbc]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x104
push 0x104
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xc0], 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 - 0xbc]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [ebp - 0xbc]
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]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x464844
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.0045f390
lea ecx, [ebp - 0xbc]
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 - 0x118]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.004621b0
mov eax, dword [ebp - 0x104]
mov ecx, eax
shr ecx, 0x10
movzx edx, ax
test eax, eax
jne 0x464985
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 - 0xc8], eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xc4], edx
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x4648ea
movups xmm0, xmmword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x70]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x4648ec
xor eax, eax
movzx eax, ax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x4c]
push eax
call edi
add esp, 8
test eax, eax
jne 0x464931
movups xmm0, xmmword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
lea edi, [ebp - 0x94]
mov dword [ebp - 0x74], eax
movups xmmword [ebp - 0x94], xmm0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ebp - 0x84], xmm0
mov edi, dword [edi + 0x10]
inc edi
jmp 0x464933
xor edi, edi
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
add esp, 8
test eax, eax
jne 0x464975
movups xmm0, xmmword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x98], eax
movups xmmword [ebp - 0xb8], xmm0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ebp - 0xa8], xmm0
mov ecx, dword [ecx + 0xc]
jmp 0x464977
xor ecx, ecx
imul eax, edi, 0x64
add eax, ecx
mov ecx, dword [ebp - 0xc0]
movzx edx, ax
mov word [esi + 0x34], cx
lea ecx, [ebp - 0x118]
mov word [esi + 0x36], dx
call fcn.00465b10
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4649d4
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4649ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4649ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
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.004bf563
mov esp, ebp
pop ebp
ret