Function at 0x4023c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4063ab
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x94], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x98], edi
push eax
mov dword [ebp - 0x90], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [ebp - 0x8c]
lea esi, [ebp - 0x12]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x402423
push ecx
lea eax, [ebp - 0x12]
push eax
push esi
lea ecx, [ebp - 0xb4]
call fcn.004048b0
mov dword [ebp - 0x90], 6
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 1
push eax
mov edx, 0x4074e0
lea ecx, [ebp - 0xd0]
call fcn.004040b0
add esp, 4
push 0x4074dc
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00403ef0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x90], 0xf
cmp ecx, 7
jbe 0x402510
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402506
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402562
push ecx
push edx
call fcn.0040531f
add esp, 8
xor eax, eax
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
cmp ecx, 7
jbe 0x402572
mov edx, dword [ebp - 0xb4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402568
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402568
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040531f
add esp, 8
mov ecx, dword [ebp - 0x78]
lea esi, [ebp - 0x3e]
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x402595
push ecx
lea eax, [ebp - 0x3e]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004048b0
mov dword [ebp - 0x90], 0x3f
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 3
push eax
mov edx, str.Number_of_Processors:
lea ecx, [ebp - 0xe8]
call fcn.004040b0
add esp, 4
push 0x4074dc
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00403ef0
xor ecx, ecx
mov dword [ebp - 0x90], 0x7f
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0xb4], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0xa4], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea edx, [ebp - 0xb4]
cmp dword [ebp - 0xa0], 7
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
movd esi, xmm1
mov dword [ebp - 0x9c], ecx
cmova edx, esi
sub eax, ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], edx
cmp ecx, eax
ja 0x4026bc
mov eax, dword [ebp - 0x9c]
mov edx, edi
add eax, ecx
mov dword [ebp - 0x98], edi
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x94], eax
mov dword [edi + 0x10], eax
jbe 0x40268c
mov edx, dword [edi]
mov dword [ebp - 0x98], edx
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x9c]
push dword [ebp - 0xb8]
lea eax, [edx + eax*2]
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov ecx, dword [ebp - 0x94]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4026d9
push ecx
push edx
mov byte [ebp - 0x94], 0
push dword [ebp - 0x94]
push ecx
mov ecx, edi
call fcn.004044f0
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa0]
cmp eax, 7
jbe 0x402713
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x402709
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402798
push ecx
push esi
call fcn.0040531f
add esp, 8
mov ecx, dword [ebp - 0xd4]
cmp ecx, 7
jbe 0x40274f
mov edx, dword [ebp - 0xe8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402745
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402798
push ecx
push edx
call fcn.0040531f
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
cmp ecx, 7
jbe 0x4027a8
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40279e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40279e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040531f
add esp, 8
mov eax, edi
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.004051cc
mov esp, ebp
pop ebp
ret