Function at 0x44c580
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4844ac
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push esi
push edi
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xff
jbe 0x44c63d
push ecx
lea ecx, [ebp - 0xf0]
call fcn.004064e0
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x58], str..._.._snapshot_win_system_snapshot_win.cc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xb3
mov dword [ebp - 0x4c], 1
call fcn.0041b720
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xf0]
mov edx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov dword [ebp - 0x14], 1
call fcn.00405b50
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b540
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xff
ja 0x44c675
mov eax, ecx
xor esi, esi
movzx eax, al
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44c66d
lea edi, [eax + eax*2]
shl edi, 3
mov dword [ebp - 0x14], edi
cmp edi, 0x1000
jae 0x44c686
push edi
call fcn.00457ed9
add esp, 4
mov esi, eax
jmp 0x44c6ab
lea eax, [eax + eax*2]
shl eax, 3
jmp 0x44c6d2
mov eax, 0xff
mov dword [ebp - 0x1c], eax
lea edi, [eax + eax*2]
shl edi, 3
mov dword [ebp - 0x14], edi
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x44c7b4
push eax
call fcn.00457ed9
add esp, 4
test eax, eax
je 0x44c7af
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
cmp dword [ebp - 0x1c], 0
lea eax, [edi + esi]
mov dword [ebp - 0x20], eax
mov ebx, esi
jbe 0x44c6cc
push edi
push 0
push esi
call fcn.00459de0
mov edi, dword [ebp - 0x20]
add esp, 0xc
mov ebx, edi
jmp 0x44c6cf
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push eax
push esi
push 0
push 0
push 0xb
call dword [sym.imp.POWRPROF.dll_CallNtPowerInformation]
test eax, eax
je 0x44c704
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x18]
jmp 0x44c75a
mov eax, esi
cmp esi, ebx
je 0x44c721
lea edx, [esi + 0x18]
cmp edx, ebx
je 0x44c721
mov ecx, dword [eax + 8]
cmp ecx, dword [edx + 8]
cmovb eax, edx
add edx, 0x18
cmp edx, ebx
jne 0x44c711
mov eax, dword [eax + 8]
mov ecx, 0xf4240
mul ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, esi
mov dword [ecx + 4], edx
cmp esi, ebx
je 0x44c750
lea edx, [esi + 0x18]
cmp edx, ebx
je 0x44c750
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + 4]
cmovb eax, edx
add edx, 0x18
cmp edx, ebx
jne 0x44c740
mov eax, dword [eax + 4]
mov ecx, 0xf4240
mul ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x44c79b
sub edi, esi
sar edi, 3
imul eax, edi, 0xaaaaaaab
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, 0x1000
jb 0x44c791
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x44c7af
mov esi, edx
push ecx
push esi
call fcn.00457f09
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00461509
call fcn.00401180
int3