Function at 0x4286e3
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x441008]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x110], 0
lea eax, [ebp - 0x108]
push ebx
push esi
push edi
push 0xa0
mov ebx, edx
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea esi, [ebp - 0x110]
xor eax, eax
and dword [ebp - 0x10], eax
and dword [ebp - 0xc], eax
push 0x2a
pop ecx
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x18], ax
lea esi, [ebp - 0x18]
mov edi, ebx
mov word [ebp - 0x4c], ax
push 0
push 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x4a]
stosd dword es:[edi], eax
lea esi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push eax
push 0xad
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x428927
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 4
call dword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetLogicalProcessorInformationEx]
push dword [ebp - 0x30]
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapAlloc]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4287a6
mov eax, 0xc000009a
jmp 0x428927
lea ecx, [ebp - 0x30]
push ecx
push eax
push 4
call dword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetLogicalProcessorInformationEx]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x4288fe
mov edx, dword [ebp - 0x40]
lea esi, [ebp - 0x68]
xor ecx, ecx
lea edi, [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x68], ax
movzx eax, word [edx + 0xa]
mov dword [ebp - 0x5c], ecx
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x19], cl
mov dword [ebp - 0x24], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20]
mov dword [edi], eax
test eax, eax
je 0x4288f5
lea eax, [edx + 0x48]
add edi, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
jmp 0x428801
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
and dword [edi + 4], 0
mov dword [edi], eax
mov al, byte [ebp - 0x19]
test al, al
jne 0x4288db
mov eax, dword [edi]
xor ebx, ebx
mov edx, dword [edi + 4]
inc ebx
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
and eax, ebx
mov dword [ebp - 0x34], edx
xor edx, edx
or eax, edx
je 0x4288d5
mov eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x44]
jne 0x428844
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edx
mov word [ebp - 0x50], cx
mov eax, dword [0x4417e0]
mov esi, dword [0x4417e4]
or eax, esi
je 0x42888d
movzx eax, word [0x4417d8]
cmp ecx, eax
jne 0x4288a4
mov ecx, dword [0x4417e0]
mov eax, esi
and ecx, ebx
and eax, edx
or ecx, eax
je 0x4288a4
mov esi, dword [ebp - 0x28]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edx
mov ecx, dword [ebp - 0x24]
not ebx
mov word [esi], cx
not edx
and dword [edi], ebx
mov al, 1
and dword [edi + 4], edx
mov byte [ebp - 0x19], al
jmp 0x4288d8
mov esi, dword [ebp - 0x28]
xor eax, eax
mov ecx, dword [ebp + ecx*4 - 0xc]
and eax, edx
and ecx, ebx
or ecx, eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edx
je 0x428877
mov ecx, dword [ebp - 0x3c]
not edx
and dword [ebp - 0x34], edx
not ebx
and dword [ebp - 0x38], ebx
xor eax, eax
inc ecx
inc eax
xor edx, edx
mov dword [ebp - 0x3c], ecx
call fcn.0041b0f0
mov ebx, eax
mov ecx, edx
and ecx, dword [ebp - 0x34]
mov esi, ebx
and esi, dword [ebp - 0x38]
or esi, ecx
mov ecx, dword [ebp - 0x24]
jmp 0x42882c
mov al, byte [ebp - 0x19]
mov edx, dword [ebp - 0x20]
add dword [ebp - 0x2c], 0x2c
inc ecx
add edi, 8
mov dword [ebp - 0x24], ecx
cmp ecx, dword [edx]
jb 0x4287fe
mov ebx, dword [ebp - 0x28]
test al, al
jne 0x4288fe
mov edi, ebx
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x40]
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapFree]
cmp dword [ebp - 0x54], 0
je 0x428922
mov eax, dword [ebx + 8]
or eax, dword [ebx + 0xc]
je 0x428922
xor eax, eax
jmp 0x428927
mov eax, 0xc0000001
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a3d0
mov esp, ebp
pop ebp
ret