Function at 0x14000f790
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r13
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor edx, edx
mov r15, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14000fb00
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000faf7
mov qword [rsp + 0x4f8], rsi
xor esi, esi
mov qword [rsp + 0x4f0], rbx
mov qword [rsp + 0x500], rdi
mov qword [rsp + 0x4c8], r12
mov qword [rsp + 0x4c0], r14
nop dword [rax]
lea rax, [rsp + 0x7c]
mov r8, r15
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000f844
add rax, 2
test ecx, ecx
jne 0x14000f830
test edx, edx
jne 0x14000fab9
mov r8d, dword [rsp + 0x70]
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], 0x104
mov rcx, rax
lea r8, [rbp + 0x1a0]
xor edx, edx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x14000f91c
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov r9, r15
mov rcx, rax
sub r9, rax
nop dword [rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x14000f8b6
add rcx, 2
test edx, edx
jne 0x14000f8a0
test r8d, r8d
je 0x14000fab0
mov r9, r15
mov rcx, rax
sub r9, rax
nop dword [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x14000f8e6
add rcx, 2
test edx, edx
jne 0x14000f8d0
test r8d, r8d
je 0x14000fab0
mov r8, r15
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000f914
add rax, 2
test ecx, ecx
jne 0x14000f900
test edx, edx
je 0x14000fab0
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [rsp + 0x58]
lea rcx, str.___Found_browser_process:__d_n
mov r14, rax
call fcn.14000e590
lea rcx, str.____Process_owner:
call fcn.14000e590
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rsi
mov edx, 8
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000fa99
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x40], esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x14000f9a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000fa99
mov ecx, dword [rsp + 0x40]
call fcn.140021200
mov r9d, dword [rsp + 0x40]
mov rbx, rax
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r8, rbx
mov qword [rsp + 0x20], rax
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14000fa91
test rbx, rbx
jne 0x14000f9e5
xor ecx, ecx
jmp 0x14000fa94
mov ecx, 0x200
call fcn.1400108f4
mov ecx, 0x200
mov rdi, rax
mov word [rax], si
call fcn.1400108f4
mov rsi, rax
lea r9, [rbp + 0x198]
xor eax, eax
mov r8, rdi
xor ecx, ecx
mov word [rsi], ax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x194]
mov dword [rbp + 0x198], 0x100
mov dword [rbp + 0x194], 0x100
mov dword [rbp + 0x190], 1
mov rdx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x14000fa91
mov rcx, rsi
call fcn.140001080
lea rcx, [0x1400626c8]
call fcn.140001080
mov rcx, rdi
call fcn.140001080
mov rcx, rbx
call fcn.14001b738
mov rcx, rdi
call fcn.1400108c0
mov rcx, rsi
call fcn.1400108c0
jmp 0x14000fa99
mov rcx, rbx
call fcn.14001b738
lea rcx, [0x14006248c]
call fcn.14000e590
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000f820
mov r14, qword [rsp + 0x4c0]
mov r12, qword [rsp + 0x4c8]
mov rdi, qword [rsp + 0x500]
mov rsi, qword [rsp + 0x4f8]
mov rbx, qword [rsp + 0x4f0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400106b0
add rsp, 0x4d0
pop r15
pop r13
pop rbp
ret