Function at 0x4cf2c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
push edi
mov dword [ebp - 0x2f4], ebx
mov edi, ecx
mov eax, dword [ebx + 8]
sub eax, 0x947
je 0x4cfaae
sub eax, 1
je 0x4cf34b
sub eax, 1
jne 0x4cffa4
cmp dword [ebx + 0x14], 0x203
jne 0x4cffa4
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
jae 0x4cffa4
call fcn.004d0b00
mov esi, eax
test esi, esi
je 0x4cffa4
push esi
push dword [0x634fa0]
call sym.SystemInformer.exe__PhShowProcessRecordDialog_8
push esi
call sym.SystemInformer.exe__PhDereferenceProcessRecord_4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
jae 0x4cffa4
jmp 0x4cf360
cmp edi, 0xffffffff
jne 0x4cf50a
cmp dword [0x634fe8], esi
je 0x4cf4e8
mov ecx, dword [0x6361ec]
mov eax, dword [0x6361f0]
add ecx, esi
and ecx, dword [0x6361e4]
fld dword [eax + ecx*4]
mov ecx, dword [0x6362ac]
mov eax, dword [0x6362b0]
add ecx, esi
and ecx, dword [0x6362a4]
fstp dword [ebp - 0x2fc]
fld dword [eax + ecx*4]
mov ecx, esi
fstp dword [ebp - 0x2f8]
fld dword [ebp - 0x2f8]
fld dword [ebp - 0x2fc]
fld st(0)
mov ax, word [0x631934]
fadd st(2)
mov dword [ebp - 0xe0], 0x4b
fld qword [0x61d458]
mov word [ebp - 0xdc], ax
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xb8], 0xc
fmul st(1), st(0)
fxch st(1)
mov dword [ebp - 0xb4], str.___K:
mov dword [ebp - 0xb0], 0x4b
mov word [ebp - 0xac], ax
mov dword [ebp - 0x98], 1
fstp qword [ebp - 0xd0]
mov dword [ebp - 0x88], 0xc
fmul st(1), st(0)
fxch st(1)
mov dword [ebp - 0x84], str.___U:
mov dword [ebp - 0x80], 0x4b
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x68], 1
fstp qword [ebp - 0xa0]
mov dword [ebp - 0x58], 4
fmulp st(1)
mov dword [ebp - 0x54], 0x5fe1e8
fstp qword [ebp - 0x70]
call fcn.004d0b80
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
push dword [ebx + 0xc]
push 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, 0xa
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], 0
mov word [ebp - 0x28], ax
call sym.SystemInformer.exe__PhGetStatisticsTimeString_8
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
push 0xa0
push 9
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x10], ecx
call sym.SystemInformer.exe_PhFormat
mov ecx, eax
mov eax, dword [0x634fe4]
mov dword [0x634fe4], ecx
test eax, eax
je 0x4cf4ee
lea ecx, [eax - 8]
or eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cf4e8
call fcn.004fbfa0
mov ecx, dword [0x634fe4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x634edc]
mov ecx, dword [ebp - 0x2fc]
cmp dword [ecx + eax + 0x18], esi
je 0x4cfa87
mov eax, dword [0x6364d8]
lea edx, [edi + edi*4]
mov ecx, dword [eax + edx*4 + 0xc]
add ecx, esi
and ecx, dword [eax + edx*4 + 4]
mov eax, dword [eax + edx*4 + 0x10]
fld dword [eax + ecx*4]
mov eax, dword [0x636534]
fstp dword [ebp - 0x300]
mov ecx, dword [eax + edx*4 + 0xc]
add ecx, esi
and ecx, dword [eax + edx*4 + 4]
mov eax, dword [eax + edx*4 + 0x10]
fld dword [eax + ecx*4]
mov ecx, esi
fstp dword [ebp - 0x2f8]
fld dword [ebp - 0x2f8]
fld dword [ebp - 0x300]
fld st(0)
mov ax, word [0x631934]
fadd st(2)
mov dword [ebp - 0x2f0], 0x4b
fld qword [0x61d458]
mov word [ebp - 0x2ec], ax
mov dword [ebp - 0x2d8], 1
mov dword [ebp - 0x2c8], 0xc
fmul st(1), st(0)
fxch st(1)
mov dword [ebp - 0x2c4], str.___K:
mov dword [ebp - 0x2c0], 0x4b
mov word [ebp - 0x2bc], ax
mov dword [ebp - 0x2a8], 1
fstp qword [ebp - 0x2e0]
mov dword [ebp - 0x298], 0xc
fmul st(1), st(0)
fxch st(1)
mov dword [ebp - 0x294], str.___U:
mov dword [ebp - 0x290], 0x4b
mov word [ebp - 0x28c], ax
mov dword [ebp - 0x278], 1
fstp qword [ebp - 0x2b0]
mov dword [ebp - 0x268], 4
fmulp st(1)
mov dword [ebp - 0x264], 0x5fe1e8
fstp qword [ebp - 0x280]
call fcn.004d0b80
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
cmp byte [0x6336ac], 0
mov ecx, dword ds:[eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x238], 0xa
mov dword [ebp - 0x234], str._nCPU
je 0x4cf6fe
mov edx, edi
mov dword [ebp - 0x230], 8
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x208], 0xe
mov dword [ebp - 0x204], str.__Core
call fcn.004d11a0
mov edx, edi
mov dword [ebp - 0x200], 8
mov ecx, 3
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 0x1d8], 0x12
mov dword [ebp - 0x1d4], str.__Socket
call fcn.004d11a0
mov dword [ebp - 0x1c0], eax
jmp 0x4cf7b9
xor eax, eax
xor esi, esi
xor ebx, ebx
cmp ax, word [0x6336b0]
jae 0x4cf749
lea ecx, [ecx]
push ebx
call sym.SystemInformer.exe_PhGetActiveProcessorCount
movzx edx, ax
xor ecx, ecx
xor eax, eax
cmp ax, dx
jae 0x4cf737
movzx eax, si
inc esi
cmp eax, edi
je 0x4cf811
inc ecx
cmp cx, dx
jb 0x4cf725
inc ebx
cmp bx, word [0x6336b0]
jb 0x4cf710
mov dword [ebp - 0x230], 8
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x208], 0x10
mov dword [ebp - 0x204], str.__Group
mov dword [ebp - 0x200], 8
mov dword [ebp - 0x1f0], 0xffffffff
mov dword [ebp - 0x1c0], 0xffffffff
mov ebx, dword [ebp - 0x2f4]
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 0x1d8], 0xe
mov dword [ebp - 0x1d4], str.__Node
cmp dword [0x62dbb0], 0x64
mov dword [ebp - 0x1d0], 8
jb 0x4cf9ba
cmp word [0x6336ae], 0x20
jae 0x4cf9ba
test byte [0x6309f4], 1
jne 0x4cf8eb
mov esi, 0x6309f4
lock bts dword [esi], 0x1f
jb 0x4cf8d8
jmp 0x4cf800
call fcn.004d1240
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x4cf8eb
movzx eax, cx
xor esi, esi
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x220], eax
movzx eax, bx
mov dword [ebp - 0x230], 8
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x208], 0x10
mov dword [ebp - 0x204], str.__Group
mov dword [ebp - 0x200], 8
mov dword [ebp - 0x1f0], eax
cmp bx, 0x14
jae 0x4cf8bb
cmp cx, 0x20
jae 0x4cf8bb
push esi
push 0x108
lea eax, [ebp - 0x110]
push eax
push 0x37
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4cf8bb
mov ecx, dword [ebp - 0x300]
xor eax, eax
lea edx, [eax + eax*2]
cmp word [ebp + edx*4 - 0x104], bx
jne 0x4cf8af
mov eax, 1
shl eax, cl
test dword [ebp + edx*4 - 0x108], eax
jne 0x4cf8ca
inc esi
movzx eax, si
cmp eax, dword [ebp - 0x110]
jbe 0x4cf892
mov dword [ebp - 0x1c0], 0
jmp 0x4cf795
movzx eax, si
mov dword [ebp - 0x1c0], eax
jmp 0x4cf795
test byte [0x6309f4], 1
nop
jne 0x4cf8eb
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
mov eax, dword [0x634f18]
test eax, eax
je 0x4cf9ba
jmp 0x4cf900
cmp edi, dword [eax]
ja 0x4cf9ba
mov eax, dword [eax + 8]
mov eax, dword [eax + edi*4]
cmp eax, 0x20
je 0x4cf929
cmp eax, 0x40
jne 0x4cf9ba
mov eax, dword [0x6309dc]
mov ecx, dword [str.P_Core]
jmp 0x4cf934
mov eax, dword [0x6309e4]
mov ecx, dword [str.E_Core]
mov dword [ebp - 0x18c], ecx
mov ecx, edi
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1a8], 4
mov dword [ebp - 0x1a4], 0x5d0d98
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x178], 2
mov dword [ebp - 0x174], 0x5cec68
call fcn.004d1560
test al, al
je 0x4cfa09
mov dword [ebp - 0x170], 1
mov edi, 0x11
mov dword [ebp - 0x160], 0xe
mov dword [ebp - 0x15c], str.Parked_n
jmp 0x4cfa15
mov ecx, edi
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1a8], 2
mov dword [ebp - 0x1a4], 0x5cec68
call fcn.004d1560
nop
test al, al
je 0x4cfa10
mov dword [ebp - 0x1a0], 1
mov edi, 0xf
mov dword [ebp - 0x190], 0xe
mov dword [ebp - 0x18c], str.Parked_n
jmp 0x4cfa15
mov edi, 0x10
jmp 0x4cfa15
mov edi, 0xe
push dword ds:[ebx + 0xc]
lea esi, [edi + edi*2]
push 0
call sym.SystemInformer.exe__PhGetStatisticsTimeString_8
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
push 0
inc edi
push edi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + esi*8 - 0x2dc], eax
lea eax, [ebp - 0x2f0]
push eax
mov dword [ebp + esi*8 - 0x2f0], 1
mov dword [ebp + esi*8 - 0x2e0], ecx
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [0x634edc]
mov edi, dword [ebp - 0x2fc]
mov edx, dword [edi + ecx + 0x14]
mov dword [edi + ecx + 0x14], eax
test edx, edx
je 0x4cfa89
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cfa89
nop
call fcn.004fbfa0
jmp 0x4cfa89
mov edi, ecx
mov eax, dword [0x634edc]
mov eax, dword [edi + eax + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
mov ecx, 0x1013
cmp byte [0x636120], 0
mov eax, 0x13
cmovne eax, ecx
mov dword [ebx + 8], eax
mov eax, dword [0x634f84]
mov eax, dword [eax + 0x40]
push dword [eax + 0x3c]
push dword [0x63607c]
push dword [0x636088]
push ebx
call sym.SystemInformer.exe__PhSiSetColorsGraphDrawInfo_16
mov ecx, dword [ebp - 0x2f4]
push dword [0x6361e8]
push dword [ecx + 0xc]
cmp edi, 0xffffffff
jne 0x4cfc6b
push 0x634fd0
call sym.SystemInformer.exe_PhGetDrawInfoGraphBuffers
cmp byte [0x634fdc], 0
jne 0x4cffa4
push dword [ebx + 0x14]
push dword [0x634fd0]
push 0x6361e0
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
push dword [ebx + 0x14]
push dword [0x634fd4]
push 0x6362a0
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x636140], 0
je 0x4cfc33
cmp byte [0x636148], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4cfb90
mov eax, dword ds:[ebx + 0x14]
cmp eax, 0x80
jbe 0x4cfb90
mov edi, dword [0x634fd0]
push eax
push dword [0x634fd4]
push edi
call sym.SystemInformer.exe_PhAddPlusMaxMemorySingles
fstp dword [ebp - 0x2f4]
fld dword [ebp - 0x2f4]
movss xmm0, dword [ebp - 0x2f4]
jmp 0x4cfbe6
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x4cfc3b
mov edi, dword [0x634fd0]
mov ecx, edi
mov esi, dword [0x634fd4]
fld dword [ebp - 0x2f4]
sub esi, ecx
fld dword [ecx + esi]
fadd dword [ecx]
fstp dword [ebp - 0x2f8]
fld dword [ebp - 0x2f8]
fcompi st(1)
jbe 0x4cfbde
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub edx, 1
jne 0x4cfbb1
ucomiss xmm0, dword [0x61d3e8]
movss dword [ebp - 0x2fc], xmm0
lahf
test ah, 0x44
jnp 0x4cfc2f
push dword [ebx + 0x14]
push ecx
fstp dword [esp]
push edi
call sym.SystemInformer.exe_PhDivideSinglesBySingle
push dword ds:[ebx + 0x14]
fld dword [ebp - 0x2f4]
push ecx
fstp dword [esp]
push dword [0x634fd4]
call sym.SystemInformer.exe_PhDivideSinglesBySingle
movss xmm0, dword [ebp - 0x2fc]
jmp 0x4cfc3b
fstp st(0)
jmp 0x4cfc3b
movss xmm0, dword [0x61d408]
mov edx, 0x48
mov ecx, 0x4c
mov eax, ebx
mov dword [ebx + edx], sym.SystemInformer.exe__PhSiDoubleLabelYFunction_16
movss dword [eax + ecx], xmm0
mov byte [0x634fdc], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret
mov eax, dword [0x634edc]
lea esi, [edi*8]
sub esi, edi
shl esi, 2
add eax, esi
mov dword [ebp - 0x2fc], esi
push eax
call sym.SystemInformer.exe_PhGetDrawInfoGraphBuffers
mov ecx, dword [0x634edc]
cmp byte [esi + ecx + 0xc], 0
jne 0x4cfe30
mov eax, dword [ebp - 0x2fc]
lea esi, [edi + edi*4]
push dword [ebx + 0x14]
shl esi, 2
push dword [eax + ecx]
mov eax, dword [0x6364d8]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
mov eax, dword [0x634edc]
mov ecx, dword [ebp - 0x2fc]
push dword [ebx + 0x14]
push dword [ecx + eax + 4]
mov eax, dword [0x636534]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x636140], 0
je 0x4cfdfb
cmp byte [0x636148], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4cfd3b
mov ecx, dword ds:[ebx + 0x14]
cmp ecx, 0x80
jbe 0x4cfd3b
mov eax, dword [0x634edc]
push ecx
mov ecx, dword [ebp - 0x2fc]
push dword [ecx + eax + 4]
push dword [ecx + eax]
call sym.SystemInformer.exe_PhAddPlusMaxMemorySingles
fstp dword [ebp - 0x2f4]
fld dword [ebp - 0x2f4]
movss xmm0, dword [ebp - 0x2f4]
jmp 0x4cfd97
mov esi, dword ds:[ebx + 0x14]
test esi, esi
je 0x4cfe03
mov eax, dword [0x634edc]
mov edx, dword [ebp - 0x2fc]
fld dword [ebp - 0x2f4]
mov ecx, dword [edx + eax]
mov edx, dword [edx + eax + 4]
sub edx, ecx
fld dword [ecx + edx]
fadd dword [ecx]
fstp dword [ebp - 0x2f8]
fld dword [ebp - 0x2f8]
fcompi st(1)
jbe 0x4cfd8f
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub esi, 1
jne 0x4cfd62
ucomiss xmm0, dword [0x61d3e8]
movss dword [ebp - 0x2f8], xmm0
lahf
test ah, 0x44
jnp 0x4cfdf7
push dword [ebx + 0x14]
mov eax, dword [0x634edc]
push ecx
lea ecx, [edi*8]
sub ecx, edi
fstp dword [esp]
push dword [eax + ecx*4]
call sym.SystemInformer.exe_PhDivideSinglesBySingle
push dword [ebx + 0x14]
mov eax, dword [0x634edc]
fld dword [ebp - 0x2f4]
push ecx
lea ecx, [edi*8]
sub ecx, edi
fstp dword [esp]
push dword [eax + ecx*4 + 4]
call sym.SystemInformer.exe_PhDivideSinglesBySingle
movss xmm0, dword [ebp - 0x2f8]
jmp 0x4cfe03
fstp st(0)
jmp 0x4cfe03
movss xmm0, dword [0x61d408]
mov esi, 0x48
mov edx, ebx
mov ecx, 0x4c
mov eax, ebx
mov dword [esi + edx], sym.SystemInformer.exe__PhSiDoubleLabelYFunction_16
movss dword [ecx + eax], xmm0
lea ecx, [edi*8]
mov eax, dword [0x634edc]
sub ecx, edi
mov byte [eax + ecx*4 + 0xc], 1
cmp dword [0x636124], 0
je 0x4cff9d
mov eax, dword [0x6364d8]
lea edx, [edi + edi*4]
push 0x40
push 6
mov ecx, dword [eax + edx*4 + 0xc]
and ecx, dword [eax + edx*4 + 4]
mov eax, dword [eax + edx*4 + 0x10]
fld dword [eax + ecx*4]
mov eax, dword [0x636534]
fstp dword [ebp - 0x2f8]
mov ecx, dword [eax + edx*4 + 0xc]
and ecx, dword [eax + edx*4 + 4]
mov eax, dword [eax + edx*4 + 0x10]
fld dword [eax + ecx*4]
fstp dword [ebp - 0x300]
fld dword [ebp - 0x300]
fld dword [ebp - 0x2f8]
mov ax, word [0x631934]
fld st(0)
fadd st(2)
mov word [ebp - 0x94], ax
fld qword [0x61d458]
mov word [ebp - 0x64], ax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x98]
push eax
fmul st(1), st(0)
fxch st(1)
mov dword [ebp - 0x98], 0x4b
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x70], 0xc
mov dword [ebp - 0x6c], str.___K:
fstp qword [ebp - 0x88]
mov dword [ebp - 0x68], 0x4b
fmul st(1), st(0)
fxch st(1)
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x3c], str.___U:
mov dword [ebp - 0x38], 0x4b
fstp qword [ebp - 0x58]
mov dword [ebp - 0x20], 1
fmulp st(1)
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0x5fe1e8
fstp qword [ebp - 0x28]
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [0x634edc]
lea edx, [edi*8]
sub edx, edi
mov esi, dword [ecx + edx*4 + 0x10]
mov dword [ecx + edx*4 + 0x10], eax
test esi, esi
je 0x4cff4a
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cff4a
call fcn.004fbfa0
mov eax, dword [0x634f10]
push 0
push 0
push 0x919
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x634edc]
lea edx, [edi*8]
push 5
push 0x62dd60
sub edx, edi
push 0x62dd70
push dword [ecx + edx*4 + 0x10]
push ebx
push eax
call sym.SystemInformer.exe_PhSetGraphText
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x60], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret