Function at 0x140002230
Capabilities:
Enumerate processes
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14006e040]
xor rax, rsp
mov qword [rbp + 0x1a8], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov ebx, 0xffffffff
test rax, rax
je 0x1400025c9
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400025c0
mov qword [rsp + 0x2e0], rdi
mov qword [rsp + 0x2e8], r12
lea r12, str.sihost.exe
mov qword [rsp + 0x2f0], r13
lea r13, str.SecurityHealthSystray.exe
mov qword [rsp + 0x2b8], r14
lea r14, str.smartscreen.exe
mov qword [rsp + 0x2b0], r15
lea r15, str.dllhost.exe
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov edx, 8
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000255f
xorps xmm0, xmm0
lea rcx, [rbp + 0x178]
movups xmmword [rbp + 0x178], xmm0
movups xmmword [rbp + 0x188], xmm0
movups xmmword [rbp + 0x198], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp + 0x178], 0
jne 0x14000237e
lea rdx, [rsp + 0x5c]
xor ecx, ecx
movzx eax, word [rdx + rcx*2]
cmp ax, word [r13 + rcx*2]
jne 0x140002377
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r13 + rcx*2 + 2]
jne 0x140002377
add rcx, 2
cmp rcx, 0x1a
jne 0x140002341
xor ecx, ecx
test ecx, ecx
jne 0x1400024bb
mov ebx, dword [rsp + 0x38]
jmp 0x14000255f
sbb ecx, ecx
or ecx, 1
jmp 0x140002366
lea rcx, [0x140065878]
mov dword [rbp + 0x170], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400023b6
lea rdx, [rbp + 0x170]
mov rcx, rdi
call rax
cmp dword [rbp + 0x170], 0
lea r9, [rsp + 0x5c]
setne r8b
xor edx, edx
nop dword [rax + rax]
movzx ecx, word [r9 + rdx*2]
movzx eax, word [r13 + rdx*2]
sub ecx, eax
jne 0x1400023f9
movzx ecx, word [r9 + rdx*2 + 2]
movzx eax, word [r13 + rdx*2 + 2]
sub ecx, eax
jne 0x1400023f9
add rdx, 2
cmp rdx, 0x1a
jne 0x1400023d0
test r8b, r8b
jne 0x140002366
test ecx, ecx
jne 0x14000240f
mov ebx, dword [rsp + 0x38]
jmp 0x14000255f
lea rdx, [rsp + 0x5c]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [r14 + rcx*2]
jne 0x14000244b
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r14 + rcx*2 + 2]
jne 0x14000244b
add rcx, 2
cmp rcx, 0x10
jne 0x140002420
mov ebx, dword [rsp + 0x38]
jmp 0x14000255f
lea rdx, [rsp + 0x5c]
xor ecx, ecx
movzx eax, word [rdx + rcx*2]
cmp ax, word [r15 + rcx*2]
jne 0x14000247d
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r15 + rcx*2 + 2]
jne 0x14000247d
add rcx, 2
cmp rcx, 0xc
jne 0x140002452
mov ebx, dword [rsp + 0x38]
jmp 0x14000255f
lea rdx, [rsp + 0x5c]
mov rcx, 0xffffffffffffffff
nop dword [rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r12 + rcx*2 + 2]
jne 0x14000255f
add rcx, 2
cmp rcx, 0xb
je 0x140002513
movzx eax, word [rdx + rcx*2]
cmp ax, word [r12 + rcx*2]
je 0x140002490
jmp 0x14000255f
lea rdx, [rsp + 0x5c]
xor ecx, ecx
movzx eax, word [rdx + rcx*2]
cmp ax, word [r14 + rcx*2]
jne 0x1400024ea
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r14 + rcx*2 + 2]
jne 0x1400024ea
add rcx, 2
cmp rcx, 0x10
jne 0x1400024c2
mov ebx, dword [rsp + 0x38]
jmp 0x14000255f
lea rdx, [rsp + 0x5c]
xor eax, eax
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
jne 0x140002519
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x140002519
add rax, 2
cmp rax, 0xc
jne 0x1400024f1
mov ebx, dword [rsp + 0x38]
jmp 0x14000255f
lea r8, [rsp + 0x5c]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
movzx edx, word [r8 + rcx*2 + 2]
movzx eax, word [r12 + rcx*2 + 2]
sub edx, eax
jne 0x140002558
add rcx, 2
cmp rcx, 0xb
je 0x140002558
movzx edx, word [r8 + rcx*2]
movzx eax, word [r12 + rcx*2]
sub edx, eax
je 0x140002530
test edx, edx
cmove ebx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000256f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x14000257d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
jne 0x140002598
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400022d2
mov r14, qword [rsp + 0x2b8]
mov r13, qword [rsp + 0x2f0]
mov r12, qword [rsp + 0x2e8]
mov rdi, qword [rsp + 0x2e0]
mov r15, qword [rsp + 0x2b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x1a8]
xor rcx, rsp
call fcn.1400083e0
add rsp, 0x2c0
pop rsi
pop rbx
pop rbp
ret