Function at 0x4cfb40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x62f040]
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 0x4d0329
sub eax, 1
je 0x4cfbcb
sub eax, 1
jne 0x4d0824
cmp dword [ebx + 0x14], 0x203
jne 0x4d0824
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
jae 0x4d0824
call fcn.004d12e0
mov esi, eax
test esi, esi
je 0x4d0824
push esi
push dword [0x637830]
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.0058078f
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
jae 0x4d0824
jmp 0x4cfbe0
cmp edi, 0xffffffff
jne 0x4cfd8a
cmp dword [0x637878], esi
je 0x4cfd68
mov ecx, dword [0x638a8c]
mov eax, dword [0x638a90]
add ecx, esi
and ecx, dword [0x638a84]
fld dword [eax + ecx*4]
mov ecx, dword [0x638b4c]
mov eax, dword [0x638b50]
add ecx, esi
and ecx, dword [0x638b44]
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 [0x633944]
fadd st(2)
mov dword [ebp - 0xe0], 0x4c
fld qword [0x61ebe0]
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], 0x5ff770
fstp qword [ebp - 0x70]
call fcn.004d1360
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 [0x637874]
mov dword [0x637874], ecx
test eax, eax
je 0x4cfd6e
lea ecx, [eax - 8]
or eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cfd68
call fcn.004fc420
mov ecx, dword [0x637874]
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.0058078f
mov esp, ebp
pop ebp
ret
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x63776c]
mov ecx, dword [ebp - 0x2fc]
cmp dword [ecx + eax + 0x18], esi
je 0x4d0302
mov eax, dword [0x638d78]
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 [0x638dd4]
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 [0x633944]
fadd st(2)
mov dword [ebp - 0x2f0], 0x4c
fld qword [0x61ebe0]
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], 0x5ff770
fstp qword [ebp - 0x280]
call fcn.004d1360
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
cmp byte [0x635f1c], 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 0x4cff7e
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.004d1980
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.004d1980
mov dword [ebp - 0x1c0], eax
jmp 0x4d0039
xor eax, eax
xor esi, esi
xor ebx, ebx
cmp ax, word [0x635f20]
jae 0x4cffc9
lea ecx, [ecx]
push ebx
call sym.SystemInformer.exe_PhGetActiveProcessorCount
movzx edx, ax
xor ecx, ecx
xor eax, eax
cmp ax, dx
jae 0x4cffb7
movzx eax, si
inc esi
cmp eax, edi
je 0x4d0099
inc ecx
cmp cx, dx
jb 0x4cffa5
inc ebx
cmp bx, word [0x635f20]
jb 0x4cff90
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 [0x62fbb0], 0x64
mov dword [ebp - 0x1d0], 8
jb 0x4d0233
cmp word [0x635f1e], 0x20
jae 0x4d0233
test byte [0x632a74], 1
jne 0x4d016b
mov esi, 0x632a74
lock bts dword ds:[esi], 0x1f
setb al
test al, al
jne 0x4d0158
call fcn.004d1a20
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x4d016b
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 0x4d013b
cmp cx, 0x20
jae 0x4d013b
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 0x4d013b
mov ecx, dword [ebp - 0x300]
xor eax, eax
lea edx, [eax + eax*2]
cmp word [ebp + edx*4 - 0x104], bx
jne 0x4d012f
mov eax, 1
shl eax, cl
test dword [ebp + edx*4 - 0x108], eax
jne 0x4d014a
inc esi
movzx eax, si
cmp eax, dword [ebp - 0x110]
jbe 0x4d0112
mov dword [ebp - 0x1c0], 0
jmp 0x4d0015
movzx eax, si
mov dword [ebp - 0x1c0], eax
jmp 0x4d0015
test byte [0x632a74], 1
nop
jne 0x4d016b
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
mov eax, dword [0x6377a8]
test eax, eax
je 0x4d0233
jmp 0x4d0180
cmp edi, dword [eax]
ja 0x4d0233
mov eax, dword [eax + 8]
mov eax, dword [eax + edi*4]
cmp eax, 0x20
je 0x4d01a3
cmp eax, 0x40
jne 0x4d0233
mov edx, 0x632a5c
jmp 0x4d01a8
mov edx, 0x632a64
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], 0x5d2100
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], 0x5cff88
call fcn.004d1d40
test al, al
je 0x4d0282
mov dword [ebp - 0x170], 1
mov edi, 0x11
mov dword [ebp - 0x160], 0xe
mov dword [ebp - 0x15c], str.Parked_n
jmp 0x4d028e
mov ecx, edi
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1a8], 2
mov dword [ebp - 0x1a4], 0x5cff88
call fcn.004d1d40
test al, al
je 0x4d0289
mov dword ds:[ebp - 0x1a0], 1
mov edi, 0xf
mov dword [ebp - 0x190], 0xe
mov dword [ebp - 0x18c], str.Parked_n
jmp 0x4d028e
mov edi, 0x10
jmp 0x4d028e
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 [0x63776c]
mov edi, dword [ebp - 0x2fc]
mov edx, dword [edi + ecx + 0x14]
mov dword [edi + ecx + 0x14], eax
test edx, edx
je 0x4d0304
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4d0304
call fcn.004fc420
mov edi, edi
jmp 0x4d0304
mov edi, ecx
mov eax, dword [0x63776c]
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.0058078f
mov esp, ebp
pop ebp
ret
mov ebx, dword ds:[ebx + 0xc]
mov ecx, 0x1013
cmp byte [0x6389c0], 0
mov eax, 0x13
cmovne eax, ecx
mov dword [ebx + 8], eax
mov eax, dword [0x637814]
mov eax, dword [eax + 0x40]
push dword [eax + 0x3c]
push dword [0x63891c]
push dword [0x638928]
push ebx
call sym.SystemInformer.exe__PhSiSetColorsGraphDrawInfo_16
mov ecx, dword [ebp - 0x2f4]
push dword [0x638a88]
push dword [ecx + 0xc]
cmp edi, 0xffffffff
jne 0x4d04eb
push 0x637860
call sym.SystemInformer.exe_PhGetDrawInfoGraphBuffers
cmp byte [0x63786c], 0
jne 0x4d0824
push dword [ebx + 0x14]
push dword [0x637860]
push 0x638a80
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
push dword [ebx + 0x14]
push dword [0x637864]
push 0x638b40
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x6389e0], 0
je 0x4d04b3
cmp byte [0x6389e8], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4d0410
mov eax, dword ds:[ebx + 0x14]
cmp eax, 0x80
jbe 0x4d0410
mov edi, dword [0x637860]
push eax
push dword [0x637864]
push edi
call sym.SystemInformer.exe_PhAddPlusMaxMemorySingles
fstp dword [ebp - 0x2f4]
fld dword [ebp - 0x2f4]
movss xmm0, dword [ebp - 0x2f4]
jmp 0x4d0466
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x4d04bb
mov edi, dword [0x637860]
mov ecx, edi
mov esi, dword [0x637864]
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 0x4d045e
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub edx, 1
jne 0x4d0431
ucomiss xmm0, dword [0x61eb74]
movss dword [ebp - 0x2fc], xmm0
lahf
test ah, 0x44
jnp 0x4d04af
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 [0x637864]
call sym.SystemInformer.exe_PhDivideSinglesBySingle
movss xmm0, dword [ebp - 0x2fc]
jmp 0x4d04bb
fstp st(0)
jmp 0x4d04bb
movss xmm0, dword [0x61eb98]
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 [0x63786c], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
mov eax, dword [0x63776c]
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 [0x63776c]
cmp byte [esi + ecx + 0xc], 0
jne 0x4d06b0
mov eax, dword [ebp - 0x2fc]
lea esi, [edi + edi*4]
push dword [ebx + 0x14]
shl esi, 2
push dword [eax + ecx]
mov eax, dword [0x638d78]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
mov eax, dword [0x63776c]
mov ecx, dword [ebp - 0x2fc]
push dword [ebx + 0x14]
push dword [ecx + eax + 4]
mov eax, dword [0x638dd4]
add eax, esi
push eax
call sym.SystemInformer.exe_PhCopyCircularBuffer_FLOAT
cmp byte [0x6389e0], 0
je 0x4d067b
cmp byte [0x6389e8], 0
xorps xmm0, xmm0
movss dword [ebp - 0x2f4], xmm0
je 0x4d05bb
mov ecx, dword ds:[ebx + 0x14]
cmp ecx, 0x80
jbe 0x4d05bb
mov eax, dword [0x63776c]
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 0x4d0617
mov esi, dword ds:[ebx + 0x14]
test esi, esi
je 0x4d0683
mov eax, dword [0x63776c]
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 0x4d060f
movss xmm0, dword [ebp - 0x2f8]
fstp st(0)
movss dword [ebp - 0x2f4], xmm0
fld dword [ebp - 0x2f4]
add ecx, 4
sub esi, 1
jne 0x4d05e2
ucomiss xmm0, dword [0x61eb74]
movss dword [ebp - 0x2f8], xmm0
lahf
test ah, 0x44
jnp 0x4d0677
push dword [ebx + 0x14]
mov eax, dword [0x63776c]
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 [0x63776c]
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 0x4d0683
fstp st(0)
jmp 0x4d0683
movss xmm0, dword [0x61eb98]
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 [0x63776c]
sub ecx, edi
mov byte [eax + ecx*4 + 0xc], 1
cmp dword [0x6389c4], 0
je 0x4d081d
mov eax, dword [0x638d78]
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 [0x638dd4]
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 [0x633944]
fld st(0)
fadd st(2)
mov word [ebp - 0x94], ax
fld qword [0x61ebe0]
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], 0x5ff770
fstp qword [ebp - 0x28]
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [0x63776c]
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 0x4d07ca
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4d07ca
call fcn.004fc420
mov eax, dword [0x6377a0]
push 0
push 0
push 0x919
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x63776c]
lea edx, [edi*8]
push 5
push 0x62fd60
sub edx, edi
push 0x62fd70
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.0058078f
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.0058078f
mov esp, ebp
pop ebp
ret