Function at 0x441790
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506e7b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x88], eax
call fcn.00432fb0
test al, al
jne 0x4417e2
mov eax, 1
jmp 0x441c26
call fcn.0044acb0
lea ecx, [ebp - 0x38]
push ecx
mov edi, eax
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.size:
push str._nRAM__s
push ebx
call fcn.004e51b4
shrd edi, esi, 0x14
add esp, 0xc
shr esi, 0x14
push esi
push edi
mov ecx, 5
mov esi, ebx
call fcn.00440780
mov esi, dword [ebp - 0x24]
push esi
push str.CPU_hardware_threads:
push str._MB_____s__3d
push ebx
call fcn.004e51b4
or eax, 0xffffffff
add esp, 0x18
cmp dword [ebp - 0x88], eax
jne 0x441845
mov dword [ebp - 0x88], esi
cmp dword [ebp + 0x10], eax
jne 0x441851
mov dword [ebp + 0x10], 0x1000000
mov eax, dword [ebp - 0x88]
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4758
add esp, 4
mov dword [ebp - 0x94], eax
push str._n_nSize
xor esi, esi
push ebx
mov dword [ebp - 4], esi
call fcn.004e51b4
add esp, 8
cmp dword [ebp - 0x88], esi
jbe 0x4418c4
lea edi, [esi + 1]
push edi
push str.__5d
push ebx
call fcn.004e51b4
mov eax, dword [ebp - 0x94]
mov dword [eax + esi*8], 0
mov dword [eax + esi*8 + 4], 0
mov esi, edi
add esp, 0xc
cmp esi, dword [ebp - 0x88]
jb 0x441891
xor esi, esi
push 0x51bde4
push ebx
call fcn.004e51b4
add esp, 8
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], esi
cmp dword [ebp + 8], esi
jbe 0x441c15
lea ecx, [ecx]
mov edi, 0xa
mov dword [ebp - 0xa4], edi
mov esi, 1
mov ecx, edi
shl esi, cl
mov dword [ebp - 0xb0], esi
cmp esi, dword [ebp + 0x10]
ja 0x441a92
push edi
push str._2d:
push ebx
call fcn.004e51b4
add esp, 0xc
cmp dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
jbe 0x441a66
jmp 0x441946
mov esi, dword [ebp - 0xb0]
cmp dword [0x55ad64], 0
jg 0x441ade
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xac]
inc eax
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0xb4], eax
call fcn.004331b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x441af7
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xac]
shrd edi, eax, 0x14
lea ebx, [ebp - 0x34]
shr eax, 0x14
push 0
push 0xa
push eax
push edi
call fcn.004ea4f0
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x4419af
lea ecx, [edi + 0x57]
mov edi, eax
mov eax, edx
mov byte [ebp + esi - 0x84], cl
mov edx, edi
inc esi
or edx, eax
jne 0x441992
mov al, byte [ebp + esi - 0x85]
dec esi
mov byte [ebx], al
inc ebx
test esi, esi
jg 0x4419c1
mov edi, dword [ebp - 0x90]
push 0x51bcf4
push edi
mov byte [ebx], 0
call fcn.004e51b4
lea eax, [ebp - 0x34]
add esp, 8
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4419f0
sub eax, edx
cmp eax, 5
jge 0x441a16
mov esi, 5
sub esi, eax
push 0x51bcf4
push edi
call fcn.004e51b4
add esp, 8
dec esi
jne 0x441a05
lea ecx, [ebp - 0x34]
push edi
push ecx
call fcn.004e52c0
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x94]
add esp, 8
add dword [ecx + eax*8], edx
mov edx, dword [ebp - 0xa8]
adc dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x8c], eax
cmp eax, dword [ebp - 0x88]
jb 0x441940
mov edi, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0x90]
push 0x51bdf0
push ebx
call fcn.004e51b4
add esp, 8
add dword [ebp - 0x9c], 1
adc dword [ebp - 0x98], 0
inc edi
mov dword [ebp - 0xa4], edi
cmp edi, 0x20
jl 0x4418fb
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp + 8]
jb 0x4418f0
mov edx, dword [ebp - 0x9c]
or edx, dword [ebp - 0x98]
je 0x441c15
push str._nAvg:
push ebx
call fcn.004e51b4
xor eax, eax
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x88], eax
jbe 0x441c07
jmp 0x441b16
mov eax, dword [ebp - 0x94]
push eax
call fcn.004e48a0
add esp, 4
mov eax, 0x80004004
jmp 0x441c26
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.004e48a0
add esp, 4
mov eax, esi
jmp 0x441c26
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0x34]
push edx
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [ecx + eax*8]
push edx
push eax
call fcn.004ea4f0
mov esi, eax
shrd esi, edx, 0x14
shr edx, 0x14
xor edi, edi
push 0
push 0xa
push edx
push esi
call fcn.004ea4f0
lea ecx, [eax + eax*4]
add ecx, ecx
sub esi, ecx
lea ecx, [esi + 0x30]
cmp esi, 0xa
jl 0x441b69
lea ecx, [esi + 0x57]
mov byte [ebp + edi - 0x84], cl
inc edi
mov esi, eax
or eax, edx
jne 0x441b4c
jmp 0x441b80
mov eax, dword [ebp - 0x8c]
mov cl, byte [ebp + edi - 0x85]
dec edi
mov byte [eax], cl
inc eax
mov dword [ebp - 0x8c], eax
test edi, edi
jg 0x441b80
mov edx, eax
push 0x51bcf4
push ebx
mov byte [edx], 0
call fcn.004e51b4
lea eax, [ebp - 0x34]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441bb4
sub eax, edx
cmp eax, 5
jge 0x441be1
mov esi, 5
sub esi, eax
lea esp, [esp]
push 0x51bcf4
push ebx
call fcn.004e51b4
add esp, 8
dec esi
jne 0x441bd0
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.004e52c0
mov eax, dword [ebp - 0x90]
inc eax
add esp, 8
mov dword [ebp - 0x90], eax
cmp eax, dword [ebp - 0x88]
jb 0x441b10
push 0x51bdf0
push ebx
call fcn.004e51b4
add esp, 8
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.004e48a0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e4840
mov esp, ebp
pop ebp
ret