Function at 0x4cf740
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x62e040]
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 0x4cff29
sub eax, 1
je 0x4cf7cb
sub eax, 1
jne 0x4d0424
cmp dword [ebx + 0x14], 0x203
jne 0x4d0424
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
jae 0x4d0424
call fcn.004d0ee0
mov esi, eax
test esi, esi
je 0x4d0424
push esi
push dword [0x636830]
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.005802ef
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
jae 0x4d0424
jmp 0x4cf7e0
cmp edi, 0xffffffff
jne 0x4cf98a
cmp dword [0x636878], esi
je 0x4cf968
mov ecx, dword [0x637a8c]
mov eax, dword [0x637a90]
add ecx, esi
and ecx, dword [0x637a84]
fld dword [eax + ecx*4]
mov ecx, dword [0x637b4c]
mov eax, dword [0x637b50]
add ecx, esi
and ecx, dword [0x637b44]
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 [0x632944]
fadd st(2)
mov dword [ebp - 0xe0], 0x4c
fld qword [0x61dae0]
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], 0x4c
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], 0x4c
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], 0x5fe770
fstp qword [ebp - 0x70]
call fcn.004d0f80
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 [0x636874]
mov dword [0x636874], ecx
test eax, eax
je 0x4cf96e
lea ecx, [eax - 8]
or eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cf968
call fcn.004fc020
mov ecx, dword [0x636874]
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.005802ef
mov esp, ebp
pop ebp
ret
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x63676c]
mov ecx, dword [ebp - 0x2fc]
cmp dword [ecx + eax + 0x18], esi
je 0x4cff02
mov eax, dword [0x637d78]
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 [0x637dd4]
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 [0x632944]
fadd st(2)
mov dword [ebp - 0x2f0], 0x4c
fld qword [0x61dae0]
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], 0x4c
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], 0x4c
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], 0x5fe770
fstp qword [ebp - 0x280]
call fcn.004d0f80
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
cmp byte [0x634f1c], 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 0x4cfb7e
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.004d15a0
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.004d15a0
mov dword [ebp - 0x1c0], eax
jmp 0x4cfc39
xor eax, eax
xor esi, esi
xor ebx, ebx
cmp ax, word [0x634f20]
jae 0x4cfbc9
lea ecx, [ecx]
push ebx
call sym.SystemInformer.exe_PhGetActiveProcessorCount
movzx edx, ax
xor ecx, ecx
xor eax, eax
cmp ax, dx
jae 0x4cfbb7
movzx eax, si
inc esi
cmp eax, edi
je 0x4cfc99
inc ecx
cmp cx, dx
jb 0x4cfba5
inc ebx
cmp bx, word [0x634f20]
jb 0x4cfb90
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 [0x62ebb0], 0x64
mov dword [ebp - 0x1d0], 8
jb 0x4cfe33
cmp word [0x634f1e], 0x20
jae 0x4cfe33
test byte [0x631a74], 1
jne 0x4cfd6b
mov esi, 0x631a74
lock bts dword ds:[esi], 0x1f
setb al
test al, al
jne 0x4cfd58
call fcn.004d1640
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x4cfd6b
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 0x4cfd3b
cmp cx, 0x20
jae 0x4cfd3b
push esi
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
push 0x37
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4cfd3b
mov ecx, dword [ebp - 0x300]
xor eax, eax
lea edx, [eax + eax*2]
cmp word [ebp + edx*4 - 0x104], bx
jne 0x4cfd2f
mov eax, 1
shl eax, cl
test dword [ebp + edx*4 - 0x108], eax
jne 0x4cfd4a
inc esi
movzx eax, si
cmp eax, dword [ebp - 0x110]
jbe 0x4cfd12
mov dword [ebp - 0x1c0], 0
jmp 0x4cfc15
movzx eax, si
mov dword [ebp - 0x1c0], eax
jmp 0x4cfc15
test byte [0x631a74], 1
nop
jne 0x4cfd6b
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
mov eax, dword [0x6367a8]
test eax, eax
je 0x4cfe33
jmp 0x4cfd80
cmp edi, dword [eax]
ja 0x4cfe33
mov eax, dword [eax + 8]
mov eax, dword [eax + edi*4]
cmp eax, 0x20
je 0x4cfda3
cmp eax, 0x40
jne 0x4cfe33
mov edx, 0x631a5c
jmp 0x4cfda8
mov edx, 0x631a64
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], 0x5d1100
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], 0x5cef88
call fcn.004d1960
test al, al
je 0x4cfe82
mov dword [ebp - 0x170], 1
mov edi, 0x11
mov dword [ebp - 0x160], 0xe
mov dword [ebp - 0x15c], str.Parked_n
jmp 0x4cfe8e
mov ecx, edi
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1a8], 2
mov dword [ebp - 0x1a4], 0x5cef88
call fcn.004d1960
test al, al
je 0x4cfe89
mov dword ds:[ebp - 0x1a0], 1
mov edi, 0xf
mov dword [ebp - 0x190], 0xe
mov dword [ebp - 0x18c], str.Parked_n
jmp 0x4cfe8e
mov edi, 0x10
jmp 0x4cfe8e
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 [0x63676c]
mov edi, dword [ebp - 0x2fc]
mov edx, dword [edi + ecx + 0x14]
mov dword [edi + ecx + 0x14], eax
test edx, edx
je 0x4cff04
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cff04
call fcn.004fc020
mov edi, edi
jmp 0x4cff04
mov edi, ecx
mov eax, dword [0x63676c]
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.005802ef
mov esp, ebp
pop ebp
ret
mov ebx, dword ds:[ebx + 0xc]
mov ecx, 0x1013
cmp byte [0x6379c0], 0
mov eax, 0x13
cmovne eax, ecx
mov dword [ebx + 8], eax
mov eax, dword [0x636814]
mov eax, dword [eax + 0x40]
push dword [eax + 0x3c]
push dword [0x63791c]
push dword [0x637928]
push ebx
call sym.SystemInformer.exe__PhSiSetColorsGraphDrawInfo_16
mov ecx, dword [ebp - 0x2f4]
push dword [0x637a88]
push dword [ecx + 0xc]
cmp edi, 0xffffffff
jne 0x4d00eb
push 0x636860
call sym.SystemInformer.exe_PhGetDrawInfoGraphBuffers
cmp byte [0x63686c], 0
jne 0x4d0424
push dword [ebx + 0x14]
push dword [0x636860]
push 0x637a80
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
push dword [ebx + 0x14]
push dword [0x636864]
push 0x637b40
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x6379e0], 0
je 0x4d00b3
cmp byte [0x6379e8], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4d0010
mov eax, dword ds:[ebx + 0x14]
cmp eax, 0x80
jbe 0x4d0010
mov edi, dword [0x636860]
push eax
push dword [0x636864]
push edi
call sym.SystemInformer.exe_PhAddPlusMaxMemorySingles
fstp dword [ebp - 0x2f4]
fld dword [ebp - 0x2f4]
movss xmm0, dword [ebp - 0x2f4]
jmp 0x4d0066
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x4d00bb
mov edi, dword [0x636860]
mov ecx, edi
mov esi, dword [0x636864]
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 0x4d005e
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub edx, 1
jne 0x4d0031
ucomiss xmm0, dword [0x61da74]
movss dword [ebp - 0x2fc], xmm0
lahf
test ah, 0x44
jnp 0x4d00af
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 [0x636864]
call sym.SystemInformer.exe_PhDivideSinglesBySingle
movss xmm0, dword [ebp - 0x2fc]
jmp 0x4d00bb
fstp st(0)
jmp 0x4d00bb
movss xmm0, dword [0x61da98]
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 [0x63686c], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
mov eax, dword [0x63676c]
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 [0x63676c]
cmp byte [esi + ecx + 0xc], 0
jne 0x4d02b0
mov eax, dword [ebp - 0x2fc]
lea esi, [edi + edi*4]
push dword [ebx + 0x14]
shl esi, 2
push dword [eax + ecx]
mov eax, dword [0x637d78]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
mov eax, dword [0x63676c]
mov ecx, dword [ebp - 0x2fc]
push dword [ebx + 0x14]
push dword [ecx + eax + 4]
mov eax, dword [0x637dd4]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x6379e0], 0
je 0x4d027b
cmp byte [0x6379e8], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4d01bb
mov ecx, dword ds:[ebx + 0x14]
cmp ecx, 0x80
jbe 0x4d01bb
mov eax, dword [0x63676c]
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 0x4d0217
mov esi, dword ds:[ebx + 0x14]
test esi, esi
je 0x4d0283
mov eax, dword [0x63676c]
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 0x4d020f
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub esi, 1
jne 0x4d01e2
ucomiss xmm0, dword [0x61da74]
movss dword [ebp - 0x2f8], xmm0
lahf
test ah, 0x44
jnp 0x4d0277
push dword [ebx + 0x14]
mov eax, dword [0x63676c]
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 [0x63676c]
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 0x4d0283
fstp st(0)
jmp 0x4d0283
movss xmm0, dword [0x61da98]
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 [0x63676c]
sub ecx, edi
mov byte [eax + ecx*4 + 0xc], 1
cmp dword [0x6379c4], 0
je 0x4d041d
mov eax, dword [0x637d78]
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 [0x637dd4]
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 [0x632944]
fld st(0)
fadd st(2)
mov word [ebp - 0x94], ax
fld qword [0x61dae0]
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], 0x4c
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x70], 0xc
mov dword [ebp - 0x6c], str.___K:
fstp qword [ebp - 0x88]
mov dword [ebp - 0x68], 0x4c
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], 0x4c
fstp qword [ebp - 0x58]
mov dword [ebp - 0x20], 1
fmulp st(1)
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0x5fe770
fstp qword [ebp - 0x28]
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [0x63676c]
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 0x4d03ca
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4d03ca
call fcn.004fc020
mov eax, dword [0x6367a0]
push 0
push 0
push 0x919
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x63676c]
lea edx, [edi*8]
push 5
push 0x62ed60
sub edx, edi
push 0x62ed70
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.005802ef
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.005802ef
mov esp, ebp
pop ebp
ret