Function at 0x4cf960
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 0x4d0149
sub eax, 1
je 0x4cf9eb
sub eax, 1
jne 0x4d0644
cmp dword [ebx + 0x14], 0x203
jne 0x4d0644
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
jae 0x4d0644
call fcn.004d1100
mov esi, eax
test esi, esi
je 0x4d0644
push esi
push dword [0x6358d8]
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.0057e94f
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
jae 0x4d0644
jmp 0x4cfa00
cmp edi, 0xffffffff
jne 0x4cfbaa
cmp dword [0x635920], esi
je 0x4cfb88
mov ecx, dword [0x636b6c]
mov eax, dword [0x636b70]
add ecx, esi
and ecx, dword [0x636b64]
fld dword [eax + ecx*4]
mov ecx, dword [0x636c2c]
mov eax, dword [0x636c30]
add ecx, esi
and ecx, dword [0x636c24]
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 [0x631994]
fadd st(2)
mov dword [ebp - 0xe0], 0x4b
fld qword [0x61c8e0]
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], 0x5fd548
fstp qword [ebp - 0x70]
call fcn.004d1180
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 [0x63591c]
mov dword [0x63591c], ecx
test eax, eax
je 0x4cfb8e
lea ecx, [eax - 8]
or eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cfb88
call fcn.004fbd80
mov ecx, dword [0x63591c]
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.0057e94f
mov esp, ebp
pop ebp
ret
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x635810]
mov ecx, dword [ebp - 0x2fc]
cmp dword [ecx + eax + 0x18], esi
je 0x4d0122
mov eax, dword [0x636e58]
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 [0x636eb4]
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 [0x631994]
fadd st(2)
mov dword [ebp - 0x2f0], 0x4b
fld qword [0x61c8e0]
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], 0x5fd548
fstp qword [ebp - 0x280]
call fcn.004d1180
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
cmp byte [0x633f88], 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 0x4cfd9e
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.004d17a0
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.004d17a0
mov dword [ebp - 0x1c0], eax
jmp 0x4cfe59
xor eax, eax
xor esi, esi
xor ebx, ebx
cmp ax, word [0x633f8c]
jae 0x4cfde9
lea ecx, [ecx]
push ebx
call sym.SystemInformer.exe_PhGetActiveProcessorCount
movzx edx, ax
xor ecx, ecx
xor eax, eax
cmp ax, dx
jae 0x4cfdd7
movzx eax, si
inc esi
cmp eax, edi
je 0x4cfeb9
inc ecx
cmp cx, dx
jb 0x4cfdc5
inc ebx
cmp bx, word [0x633f8c]
jb 0x4cfdb0
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 0x4d0053
cmp word [0x633f8a], 0x20
jae 0x4d0053
test byte [0x630a54], 1
jne 0x4cff8b
mov esi, 0x630a54
lock bts dword ds:[esi], 0x1f
setb al
test al, al
jne 0x4cff78
call fcn.004d1840
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x4cff8b
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 0x4cff5b
cmp cx, 0x20
jae 0x4cff5b
push esi
push 0x108
lea eax, [ebp - 0x110]
push eax
push 0x37
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4cff5b
mov ecx, dword [ebp - 0x300]
xor eax, eax
lea edx, [eax + eax*2]
cmp word [ebp + edx*4 - 0x104], bx
jne 0x4cff4f
mov eax, 1
shl eax, cl
test dword [ebp + edx*4 - 0x108], eax
jne 0x4cff6a
inc esi
movzx eax, si
cmp eax, dword [ebp - 0x110]
jbe 0x4cff32
mov dword [ebp - 0x1c0], 0
jmp 0x4cfe35
movzx eax, si
mov dword [ebp - 0x1c0], eax
jmp 0x4cfe35
test byte [0x630a54], 1
nop
jne 0x4cff8b
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
mov eax, dword [0x63584c]
test eax, eax
je 0x4d0053
jmp 0x4cffa0
cmp edi, dword [eax]
ja 0x4d0053
mov eax, dword [eax + 8]
mov eax, dword [eax + edi*4]
cmp eax, 0x20
je 0x4cffc3
cmp eax, 0x40
jne 0x4d0053
mov edx, 0x630a3c
jmp 0x4cffc8
mov edx, 0x630a44
mov eax, dword [edx]
mov ecx, edi
mov edx, dword [edx + 4]
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1a8], 4
mov dword [ebp - 0x1a4], 0x5cffb8
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x178], 2
mov dword [ebp - 0x174], 0x5cde50
call fcn.004d1b60
test al, al
je 0x4d00a2
mov dword [ebp - 0x170], 1
mov edi, 0x11
mov dword [ebp - 0x160], 0xe
mov dword [ebp - 0x15c], str.Parked_n
jmp 0x4d00ae
mov ecx, edi
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1a8], 2
mov dword [ebp - 0x1a4], 0x5cde50
call fcn.004d1b60
test al, al
je 0x4d00a9
mov dword ds:[ebp - 0x1a0], 1
mov edi, 0xf
mov dword [ebp - 0x190], 0xe
mov dword [ebp - 0x18c], str.Parked_n
jmp 0x4d00ae
mov edi, 0x10
jmp 0x4d00ae
mov edi, 0xe
push dword [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 [0x635810]
mov edi, dword [ebp - 0x2fc]
mov edx, dword [edi + ecx + 0x14]
mov dword [edi + ecx + 0x14], eax
test edx, edx
je 0x4d0124
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4d0124
call fcn.004fbd80
mov edi, edi
jmp 0x4d0124
mov edi, ecx
mov eax, dword [0x635810]
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.0057e94f
mov esp, ebp
pop ebp
ret
mov ebx, dword ds:[ebx + 0xc]
mov ecx, 0x1013
cmp byte [0x636aa0], 0
mov eax, 0x13
cmovne eax, ecx
mov dword [ebx + 8], eax
mov eax, dword [0x6358bc]
mov eax, dword [eax + 0x40]
push dword [eax + 0x3c]
push dword [0x6369fc]
push dword [0x636a08]
push ebx
call sym.SystemInformer.exe__PhSiSetColorsGraphDrawInfo_16
mov ecx, dword [ebp - 0x2f4]
push dword [0x636b68]
push dword [ecx + 0xc]
cmp edi, 0xffffffff
jne 0x4d030b
push 0x635908
call sym.SystemInformer.exe_PhGetDrawInfoGraphBuffers
cmp byte [0x635914], 0
jne 0x4d0644
push dword [ebx + 0x14]
push dword [0x635908]
push 0x636b60
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
push dword [ebx + 0x14]
push dword [0x63590c]
push 0x636c20
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x636ac0], 0
je 0x4d02d3
cmp byte [0x636ac8], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4d0230
mov eax, dword ds:[ebx + 0x14]
cmp eax, 0x80
jbe 0x4d0230
mov edi, dword [0x635908]
push eax
push dword [0x63590c]
push edi
call sym.SystemInformer.exe_PhAddPlusMaxMemorySingles
fstp dword [ebp - 0x2f4]
fld dword [ebp - 0x2f4]
movss xmm0, dword [ebp - 0x2f4]
jmp 0x4d0286
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x4d02db
mov edi, dword [0x635908]
mov ecx, edi
mov esi, dword [0x63590c]
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 0x4d027e
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub edx, 1
jne 0x4d0251
ucomiss xmm0, dword [0x61c874]
movss dword [ebp - 0x2fc], xmm0
lahf
test ah, 0x44
jnp 0x4d02cf
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 [0x63590c]
call sym.SystemInformer.exe_PhDivideSinglesBySingle
movss xmm0, dword [ebp - 0x2fc]
jmp 0x4d02db
fstp st(0)
jmp 0x4d02db
movss xmm0, dword [0x61c898]
mov edx, 0x48
mov ecx, 0x4c
mov eax, ebx
mov dword [edx + ebx], sym.SystemInformer.exe__PhSiDoubleLabelYFunction_16
movss dword [ecx + eax], xmm0
mov byte [0x635914], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
mov eax, dword [0x635810]
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 [0x635810]
cmp byte [esi + ecx + 0xc], 0
jne 0x4d04d0
mov eax, dword [ebp - 0x2fc]
lea esi, [edi + edi*4]
push dword [ebx + 0x14]
shl esi, 2
push dword [eax + ecx]
mov eax, dword [0x636e58]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
mov eax, dword [0x635810]
mov ecx, dword [ebp - 0x2fc]
push dword [ebx + 0x14]
push dword [ecx + eax + 4]
mov eax, dword [0x636eb4]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x636ac0], 0
je 0x4d049b
cmp byte [0x636ac8], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4d03db
mov ecx, dword ds:[ebx + 0x14]
cmp ecx, 0x80
jbe 0x4d03db
mov eax, dword [0x635810]
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 0x4d0437
mov esi, dword ds:[ebx + 0x14]
test esi, esi
je 0x4d04a3
mov eax, dword [0x635810]
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 0x4d042f
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub esi, 1
jne 0x4d0402
ucomiss xmm0, dword [0x61c874]
movss dword [ebp - 0x2f8], xmm0
lahf
test ah, 0x44
jnp 0x4d0497
push dword [ebx + 0x14]
mov eax, dword [0x635810]
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 [0x635810]
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 0x4d04a3
fstp st(0)
jmp 0x4d04a3
movss xmm0, dword [0x61c898]
mov esi, 0x48
mov edx, ebx
mov ecx, 0x4c
mov eax, ebx
mov dword [edx + esi], sym.SystemInformer.exe__PhSiDoubleLabelYFunction_16
movss dword [ecx + eax], xmm0
lea ecx, [edi*8]
mov eax, dword [0x635810]
sub ecx, edi
mov byte [eax + ecx*4 + 0xc], 1
cmp dword [0x636aa4], 0
je 0x4d063d
mov eax, dword [0x636e58]
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 [0x636eb4]
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 [0x631994]
fld st(0)
fadd st(2)
mov word [ebp - 0x94], ax
fld qword [0x61c8e0]
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], 0x5fd548
fstp qword [ebp - 0x28]
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [0x635810]
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 0x4d05ea
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4d05ea
call fcn.004fbd80
mov eax, dword [0x635844]
push 0
push 0
push 0x919
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x635810]
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.0057e94f
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.0057e94f
mov esp, ebp
pop ebp
ret