Function at 0x4cdba0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x62a040]
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 0x4ce389
sub eax, 1
je 0x4cdc2b
sub eax, 1
jne 0x4ce884
cmp dword [ebx + 0x14], 0x203
jne 0x4ce884
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
jae 0x4ce884
call fcn.004cf340
mov esi, eax
test esi, esi
je 0x4ce884
push esi
push dword [0x632800]
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.0057c26f
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
jae 0x4ce884
jmp 0x4cdc40
cmp edi, 0xffffffff
jne 0x4cddea
cmp dword [0x632848], esi
je 0x4cddc8
mov ecx, dword [0x633a6c]
mov eax, dword [0x633a70]
add ecx, esi
and ecx, dword [0x633a64]
fld dword [eax + ecx*4]
mov ecx, dword [0x633b2c]
mov eax, dword [0x633b30]
add ecx, esi
and ecx, dword [0x633b24]
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 [0x62e924]
fadd st(2)
mov dword [ebp - 0xe0], 0x4b
fld qword [0x61a4c8]
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], 0x5fb258
fstp qword [ebp - 0x70]
call fcn.004cf3c0
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 [0x632844]
mov dword [0x632844], ecx
test eax, eax
je 0x4cddce
lea ecx, [eax - 8]
or eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cddc8
call fcn.004f9e40
mov ecx, dword [0x632844]
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.0057c26f
mov esp, ebp
pop ebp
ret
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x63273c]
mov ecx, dword [ebp - 0x2fc]
cmp dword [ecx + eax + 0x18], esi
je 0x4ce362
mov eax, dword [0x633d58]
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 [0x633db4]
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 [0x62e924]
fadd st(2)
mov dword [ebp - 0x2f0], 0x4b
fld qword [0x61a4c8]
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], 0x5fb258
fstp qword [ebp - 0x280]
call fcn.004cf3c0
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
cmp byte [0x630f0c], 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 0x4cdfde
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.004cf9e0
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.004cf9e0
mov dword [ebp - 0x1c0], eax
jmp 0x4ce099
xor eax, eax
xor esi, esi
xor ebx, ebx
cmp ax, word [0x630f10]
jae 0x4ce029
lea ecx, [ecx]
push ebx
call sym.SystemInformer.exe_PhGetActiveProcessorCount
movzx edx, ax
xor ecx, ecx
xor eax, eax
cmp ax, dx
jae 0x4ce017
movzx eax, si
inc esi
cmp eax, edi
je 0x4ce0f9
inc ecx
cmp cx, dx
jb 0x4ce005
inc ebx
cmp bx, word [0x630f10]
jb 0x4cdff0
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 [0x62abb0], 0x64
mov dword [ebp - 0x1d0], 8
jb 0x4ce293
cmp word [0x630f0e], 0x20
jae 0x4ce293
test byte [0x62d9f4], 1
jne 0x4ce1cb
mov esi, 0x62d9f4
lock bts dword ds:[esi], 0x1f
setb al
test al, al
jne 0x4ce1b8
call fcn.004cfa80
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x4ce1cb
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 0x4ce19b
cmp cx, 0x20
jae 0x4ce19b
push esi
push 0x108
lea eax, [ebp - 0x110]
push eax
push 0x37
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4ce19b
mov ecx, dword [ebp - 0x300]
xor eax, eax
lea edx, [eax + eax*2]
cmp word [ebp + edx*4 - 0x104], bx
jne 0x4ce18f
mov eax, 1
shl eax, cl
test dword [ebp + edx*4 - 0x108], eax
jne 0x4ce1aa
inc esi
movzx eax, si
cmp eax, dword [ebp - 0x110]
jbe 0x4ce172
mov dword [ebp - 0x1c0], 0
jmp 0x4ce075
movzx eax, si
mov dword [ebp - 0x1c0], eax
jmp 0x4ce075
test byte [0x62d9f4], 1
nop
jne 0x4ce1cb
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
mov eax, dword [0x632778]
test eax, eax
je 0x4ce293
jmp 0x4ce1e0
cmp edi, dword [eax]
ja 0x4ce293
mov eax, dword [eax + 8]
mov eax, dword [eax + edi*4]
cmp eax, 0x20
je 0x4ce203
cmp eax, 0x40
jne 0x4ce293
mov edx, 0x62d9dc
jmp 0x4ce208
mov edx, 0x62d9e4
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], 0x5cddd0
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], 0x5cbca0
call fcn.004cfda0
test al, al
je 0x4ce2e2
mov dword [ebp - 0x170], 1
mov edi, 0x11
mov dword [ebp - 0x160], 0xe
mov dword [ebp - 0x15c], str.Parked_n
jmp 0x4ce2ee
mov ecx, edi
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1a8], 2
mov dword [ebp - 0x1a4], 0x5cbca0
call fcn.004cfda0
test al, al
je 0x4ce2e9
mov dword ds:[ebp - 0x1a0], 1
mov edi, 0xf
mov dword [ebp - 0x190], 0xe
mov dword [ebp - 0x18c], str.Parked_n
jmp 0x4ce2ee
mov edi, 0x10
jmp 0x4ce2ee
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 [0x63273c]
mov edi, dword [ebp - 0x2fc]
mov edx, dword [edi + ecx + 0x14]
mov dword [edi + ecx + 0x14], eax
test edx, edx
je 0x4ce364
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ce364
call fcn.004f9e40
mov edi, edi
jmp 0x4ce364
mov edi, ecx
mov eax, dword [0x63273c]
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.0057c26f
mov esp, ebp
pop ebp
ret
mov ebx, dword ds:[ebx + 0xc]
mov ecx, 0x1013
cmp byte [0x6339a0], 0
mov eax, 0x13
cmovne eax, ecx
mov dword [ebx + 8], eax
mov eax, dword [0x6327e4]
mov eax, dword [eax + 0x40]
push dword [eax + 0x3c]
push dword [0x6338fc]
push dword [0x633908]
push ebx
call sym.SystemInformer.exe__PhSiSetColorsGraphDrawInfo_16
mov ecx, dword [ebp - 0x2f4]
push dword [0x633a68]
push dword [ecx + 0xc]
cmp edi, 0xffffffff
jne 0x4ce54b
push 0x632830
call sym.SystemInformer.exe_PhGetDrawInfoGraphBuffers
cmp byte [0x63283c], 0
jne 0x4ce884
push dword [ebx + 0x14]
push dword [0x632830]
push 0x633a60
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
push dword [ebx + 0x14]
push dword [0x632834]
push 0x633b20
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x6339c0], 0
je 0x4ce513
cmp byte [0x6339c8], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4ce470
mov eax, dword ds:[ebx + 0x14]
cmp eax, 0x80
jbe 0x4ce470
mov edi, dword [0x632830]
push eax
push dword [0x632834]
push edi
call sym.SystemInformer.exe_PhAddPlusMaxMemorySingles
fstp dword [ebp - 0x2f4]
fld dword [ebp - 0x2f4]
movss xmm0, dword [ebp - 0x2f4]
jmp 0x4ce4c6
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x4ce51b
mov edi, dword [0x632830]
mov ecx, edi
mov esi, dword [0x632834]
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 0x4ce4be
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub edx, 1
jne 0x4ce491
ucomiss xmm0, dword [0x61a454]
movss dword [ebp - 0x2fc], xmm0
lahf
test ah, 0x44
jnp 0x4ce50f
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 [0x632834]
call sym.SystemInformer.exe_PhDivideSinglesBySingle
movss xmm0, dword [ebp - 0x2fc]
jmp 0x4ce51b
fstp st(0)
jmp 0x4ce51b
movss xmm0, dword [0x61a478]
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 [0x63283c], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
mov eax, dword [0x63273c]
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 [0x63273c]
cmp byte [esi + ecx + 0xc], 0
jne 0x4ce710
mov eax, dword [ebp - 0x2fc]
lea esi, [edi + edi*4]
push dword [ebx + 0x14]
shl esi, 2
push dword [eax + ecx]
mov eax, dword [0x633d58]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
mov eax, dword [0x63273c]
mov ecx, dword [ebp - 0x2fc]
push dword [ebx + 0x14]
push dword [ecx + eax + 4]
mov eax, dword [0x633db4]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x6339c0], 0
je 0x4ce6db
cmp byte [0x6339c8], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4ce61b
mov ecx, dword ds:[ebx + 0x14]
cmp ecx, 0x80
jbe 0x4ce61b
mov eax, dword [0x63273c]
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 0x4ce677
mov esi, dword ds:[ebx + 0x14]
test esi, esi
je 0x4ce6e3
mov eax, dword [0x63273c]
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 0x4ce66f
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub esi, 1
jne 0x4ce642
ucomiss xmm0, dword [0x61a454]
movss dword [ebp - 0x2f8], xmm0
lahf
test ah, 0x44
jnp 0x4ce6d7
push dword [ebx + 0x14]
mov eax, dword [0x63273c]
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 [0x63273c]
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 0x4ce6e3
fstp st(0)
jmp 0x4ce6e3
movss xmm0, dword [0x61a478]
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 [0x63273c]
sub ecx, edi
mov byte [eax + ecx*4 + 0xc], 1
cmp dword [0x6339a4], 0
je 0x4ce87d
mov eax, dword [0x633d58]
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 [0x633db4]
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 [0x62e924]
fld st(0)
fadd st(2)
mov word [ebp - 0x94], ax
fld qword [0x61a4c8]
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], 0x5fb258
fstp qword [ebp - 0x28]
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [0x63273c]
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 0x4ce82a
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ce82a
call fcn.004f9e40
mov eax, dword [0x632770]
push 0
push 0
push 0x919
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x63273c]
lea edx, [edi*8]
push 5
push 0x62ad60
sub edx, edi
push 0x62ad70
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.0057c26f
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.0057c26f
mov esp, ebp
pop ebp
ret