Function at 0x14001f090
Capabilities:
Acquire debug privileges
Enumerate processes
Get common file path

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x438
mov ebx, dword [rsp + 0x4a0]
movaps xmmword [rax - 0x58], xmm6
mov eax, r9d
xor r9d, r9d
mov r15, r8
mov edi, edx
cmp edx, r9d
jne 0x14001f0e5
cmp r8, r9
jne 0x14001f0e5
cmp eax, r9d
jne 0x14001f0e5
cmp ebx, r9d
jne 0x14001f0e5
call fcn.140014b40
mov qword [rsp + 0x480], rax
mov eax, edi
mov r12d, edi
mov r13d, edi
and eax, 0x10000
mov r14d, edi
mov esi, edi
mov dword [rsp + 0x68], eax
mov eax, edi
mov ebp, r9d
and eax, 0xc0
and r12d, 2
and r13d, 0x10
and r14d, 0x20
and esi, 0x40
cmp al, 0xc0
sete bpl
and edi, 1
mov dword [rsp + 0x78], r9d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov qword [rsp + 0xb8], 0x400
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0xa8], rdx
mov rax, rdx
mov qword [rsp + 0x58], rdx
cmp esi, edx
je 0x14001f17f
cmp ebp, edx
je 0x14001f17d
mov dword [rsp + 0x78], r15d
mov r15, rdx
lea rcx, [rsp + 0x58]
mov edx, 0x1000
call fcn.140055e58
mov rax, qword [rsp + 0x58]
xor edx, edx
mov qword [rsp + 0xa8], rax
cmp esi, edx
setne byte [rsp + 0x488]
cmp esi, edx
je 0x14001f1a6
cmp ebp, edx
je 0x14001f1a6
cmp ebx, edx
je 0x14001f1a6
mov dword [rax], ebx
mov qword [rsp + 0x50], 1
mov byte [rsp + 0x488], 2
cmp qword [0x140106e00], rdx
jne 0x14001f1d3
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140106e00], rax
mov edx, 2
lea rcx, str.SeDebugPrivilege
lea r8d, [rdx + 2]
call fcn.140018d60
xor eax, eax
lea rcx, [rsp + 0xc0]
mov edx, 0x46e7
mov dword [rsp + 0x490], eax
call fcn.140056040
mov rax, qword [rsp + 0xc0]
xor ecx, ecx
mov qword [rsp + 0x88], rax
add rax, 0xa0
lea r8d, [rcx + 0x24]
mov qword [rsp + 0x98], rax
add rax, 0x64
xor r9d, r9d
lea rbx, [rax + 0x8c]
mov qword [rsp + 0x80], rax
lea rax, [rbx + 0xc1e]
lea rdx, [rbx + 0x80a]
mov word [rax], cx
mov word [rbx + 0x80a], cx
mov qword [rsp + 0xd0], rax
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbx + 0x80a]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rax, [rbx + rcx*2 + 0x80a]
mov qword [rsp + 0xe0], rax
xor eax, eax
cmp r15, rax
je 0x14001f34a
lea r8d, [rax + 0x1c]
lea rcx, [rsp + 0x104]
xor edx, edx
mov dword [rsp + 0x100], eax
call fcn.1400cc8d0
lea rcx, [rsp + 0x1b4]
xor edx, edx
mov r8d, 0x134
call fcn.1400cc8d0
mov ebx, 0x138
lea rcx, [rsp + 0x2e8]
mov r8, rbx
xor edx, edx
call fcn.1400cc8d0
xor eax, eax
cmp byte [0x140104008], 1
mov qword [rsp + 0x1b0], rax
mov eax, 0x270
lea rdx, [rsp + 0x100]
cmove ebx, eax
xor r9d, r9d
lea r8d, [r9 + 0x20]
lea ecx, [r9 + 3]
call qword [0x140106e00]
xor r9d, r9d
lea rdx, [rsp + 0x1b0]
lea ecx, [r9 + 2]
mov r8d, ebx
call qword [0x140106e00]
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x88]
call fcn.1400bc0f4
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x98]
call fcn.1400bc0f4
xor eax, eax
mov rbx, qword [rsp + 0x480]
cmp edi, eax
jne 0x14001f448
cmp word [rbx], ax
jne 0x14001f448
mov rdx, qword [rsp + 0x88]
mov rcx, r15
call fcn.1400601ec
lea rdx, [0x1400ecb24]
mov rcx, r15
call fcn.140056108
mov rdx, qword [rsp + 0x98]
mov rcx, r15
call fcn.140056108
mov r11b, byte [0x1401069a9]
xor eax, eax
cmp r11b, al
ja 0x14001f3ac
call fcn.140005d3c
mov r11b, byte [0x1401069a9]
lea rdx, str._t_d_t
lea rcx, [rsp + 0x130]
movzx r8d, r11b
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x130]
mov rcx, r15
call fcn.140056108
mov rdx, qword [0x140106a88]
lea rcx, [rsp + 0x130]
call fcn.1400bc0f4
lea rdx, [rsp + 0x130]
mov rcx, r15
call fcn.140056108
lea rcx, [rsp + 0x48]
movsd xmm6, qword [0x1400ecb10]
pxor xmm5, xmm5
cvtsi2sd xmm5, qword [0x140106a88]
divsd xmm6, xmm5
call fcn.140055fcc
lea r8, str._t_lf
lea rcx, [rsp + 0x48]
movapd xmm1, xmm6
call fcn.1400bc048
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.140056108
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
mov rcx, rbx
call fcn.1400cce60
mov edx, dword [rsp + 0x4a0]
mov ecx, 2
mov qword [rsp + 0x70], rax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, 0
cmp rax, 0xffffffffffffffff
cmove rax, rdx
mov qword [rsp + 0xa0], rax
cmp rax, 0xffffffffffffffff
je 0x14001f9cb
movsxd rcx, r14d
mov r14d, dword [rsp + 0x68]
movsxd rdi, edi
mov qword [rsp + 0x40], rcx
movsxd rcx, r12d
mov r12, qword [rsp + 0x50]
mov qword [rsp + 0xd8], rcx
movsxd rcx, r13d
mov r13, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rcx
movsxd rsi, esi
movsxd rcx, ebp
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x1b0]
mov rcx, rax
mov rbp, r12
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x1b0], 0x238
call sub.KERNEL32.dll_Process32FirstW
xor edx, edx
cmp eax, edx
je 0x14001f995
mov rbp, qword [rsp + 0xa0]
cmp byte [rsp + 0x488], 2
jne 0x14001f55f
mov rcx, rdx
cmp r12, rdx
jbe 0x14001f534
mov eax, dword [rsp + 0x1b8]
cmp dword [r13 + rcx*4], eax
je 0x14001fb09
inc rcx
cmp rcx, r12
jb 0x14001f51a
mov rax, rdx
cmp r12, rdx
jbe 0x14001fb09
mov ecx, dword [rsp + 0x1d0]
cmp dword [r13 + rax*4], ecx
je 0x14001f827
inc rax
cmp rax, r12
jb 0x14001f547
jmp 0x14001fb09
mov eax, dword [rsp + 0x498]
cmp eax, edx
je 0x14001f577
cmp eax, dword [rsp + 0x1d0]
jne 0x14001fb09
mov eax, dword [rsp + 0x4a0]
cmp eax, edx
je 0x14001f58f
cmp eax, dword [rsp + 0x1b8]
jne 0x14001fb09
mov rax, qword [rsp + 0x40]
cmp rax, rdx
jne 0x14001f5f6
cmp qword [rsp + 0xd8], rdx
je 0x14001f7a9
cmp rdi, rdx
je 0x14001f5de
mov rdi, qword [rsp + 0x70]
cmp edi, edx
je 0x14001f82c
lea rcx, [rsp + 0x1dc]
mov r9d, r14d
mov r8d, edi
mov rdx, rbx
call fcn.140016f18
xor edx, edx
cmp al, dl
je 0x14001fb09
jmp 0x14001f827
cmp dword [rsp + 0x70], edx
jne 0x14001f772
cmp word [rsp + 0x1dc], dx
jne 0x14001fb09
cmp r15, rdx
jne 0x14001f604
cmp rax, rdx
je 0x14001fb09
mov rbx, rdx
mov esi, edx
cmp r15, rdx
je 0x14001f6f3
mov r8d, dword [rsp + 0x1b8]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor r12d, r12d
mov rdi, rax
cmp rax, r12
je 0x14001f6f3
lea r8, [0x140106c38]
lea rdx, str.PSAPI.DLL
lea rcx, str.GetProcessMemoryInfo
xor r9d, r9d
call fcn.14004fe68
lea esi, [r12 + 0x48]
lea r8d, [r12 + 0x40]
lea rcx, [rsp + 0x138]
xor edx, edx
mov dword [rsp + 0x130], esi
mov dword [rsp + 0x134], r12d
call fcn.1400cc8d0
mov r11, qword [0x140106c38]
cmp r11, r12
je 0x14001f698
lea rdx, [rsp + 0x130]
mov r8d, esi
mov rcx, rdi
call r11
mov rsi, qword [rsp + 0x140]
lea rax, [rsp + 0xe8]
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x120]
mov rcx, rdi
shr rsi, 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, r12d
je 0x14001f6ea
mov rcx, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xc8]
add rbx, rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x1b8]
add r12, 0xaa0
mov rdx, r12
mov rdi, r12
call fcn.140005dc8
mov ecx, 0x5c
cmp cx, word [r12]
jne 0x14001f8d1
lea eax, [rcx - 0x1d]
cmp ax, word [r12 + 2]
jne 0x14001f8d1
cmp ax, word [r12 + 4]
jne 0x14001f8d1
cmp cx, word [r12 + 6]
jne 0x14001f8d1
xor ecx, ecx
cmp word [r12 + 8], cx
je 0x14001f8d1
lea ecx, [rax - 5]
cmp cx, word [r12 + 0xa]
jne 0x14001f8d1
lea rdi, [r12 + 8]
jmp 0x14001f90f
cmp r14d, edx
jne 0x14001f792
lea rcx, [rsp + 0x1dc]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
je 0x14001f827
lea rcx, [rsp + 0x1dc]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
xor edx, edx
cmp eax, edx
jmp 0x14001f821
cmp rdi, rdx
mov rdi, qword [rsp + 0x70]
je 0x14001f7d3
cmp edi, edx
je 0x14001f82c
lea rcx, [rsp + 0x1dc]
mov r9d, r14d
mov r8d, edi
mov rdx, rbx
call fcn.140016f18
xor edx, edx
cmp al, dl
jne 0x14001f827
cmp edi, edx
je 0x14001fb09
lea rcx, [rsp + 0x1dc]
mov r9d, r14d
mov r8d, edi
mov rdx, rbx
call fcn.140016f18
xor edx, edx
cmp al, dl
je 0x14001fb09
cmp qword [rsp + 0x90], rdx
jne 0x14001fb09
movsxd rax, dword [rsp + 0x70]
movzx eax, word [rsp + rax*2 + 0x1dc]
cmp ax, dx
je 0x14001f827
lea ecx, [rdx + 0x2e]
cmp cx, ax
jne 0x14001fb09
mov rax, qword [rsp + 0x40]
cmp r15, rdx
je 0x14001f83d
inc dword [rsp + 0x490]
jmp 0x14001f5f6
cmp qword [rsp + 0xb0], rdx
je 0x14001f858
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x1b8]
je 0x14001fb09
cmp rsi, rdx
je 0x14001f982
mov rax, qword [rsp + 0xb8]
cmp rax, r12
ja 0x14001f88f
add rax, 0x400
lea rcx, [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0xb8], rax
shl rdx, 2
call fcn.140055e58
xor edx, edx
mov r13, qword [rsp + 0x58]
mov eax, dword [rsp + 0x1b8]
mov dword [r13 + r12*4], eax
inc r12
mov qword [rsp + 0x50], r12
cmp qword [rsp + 0xf0], rdx
je 0x14001f8c5
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x1b8]
xor r8d, r8d
call fcn.140016f40
inc dword [rsp + 0x490]
jmp 0x14001fb09
lea rcx, str.SystemRoot_
mov r8d, 0xc
mov rdx, r12
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
xor ecx, ecx
cmp eax, ecx
jne 0x14001f90f
mov rcx, qword [rsp + 0xe0]
lea rdx, [r12 + 0x16]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdi, qword [rsp + 0x80]
add rdi, 0x896
mov rcx, qword [rsp + 0x40]
xor eax, eax
cmp rcx, rax
je 0x14001fa24
mov r12, qword [rsp + 0x480]
cmp r14d, eax
jne 0x14001f93e
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
je 0x14001f954
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
xor edx, edx
cmp eax, edx
jne 0x14001fafc
cmp r15, rdx
jne 0x14001fa1d
cmp qword [rsp + 0xb0], rdx
je 0x14001f978
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x1b8]
je 0x14001fafc
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov eax, dword [rsp + 0x1b8]
mov dword [rsp + 0x490], eax
mov rbp, qword [rsp + 0x68]
mov byte [rsp + 0x488], 2
cmp rsi, rdx
je 0x14001f9c3
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x480]
mov rdi, qword [rsp + 0x90]
cmp r12, rbp
ja 0x14001f4d3
mov rax, qword [rsp + 0xa0]
movsxd rbx, dword [rsp + 0x490]
cmp rax, rdx
je 0x14001f9e7
cmp rax, 0xffffffffffffffff
je 0x14001f9e7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0xc0]
call fcn.14004ea6c
lea rcx, [rsp + 0x58]
call fcn.14004ea6c
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x420]
add rsp, 0x438
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc dword [rsp + 0x490]
mov r12, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x1b8]
mov r8d, 0x8000
mov rdx, r12
call fcn.140008a98
mov rcx, qword [rsp + 0x80]
xor eax, eax
mov rdx, rbx
mov word [r12 + 0x8000], ax
call fcn.1400bc0f4
mov rcx, qword [rsp + 0x80]
mov r8d, dword [rsp + 0x1b8]
mov r11, qword [rsp + 0x88]
mov r9d, dword [rsp + 0x1d0]
xor eax, eax
cmp r8d, eax
mov rax, qword [rsp + 0x98]
lea rbx, [rcx + 0x8c]
cmovne r11, rcx
mov qword [rsp + 0x30], rax
lea rdx, str._lu_t_lu_t_lu_t_s_t_s_t
mov qword [rsp + 0x28], r11
mov rcx, rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_wsprintfW]
mov r11, qword [r15]
xor eax, eax
cmp word [r11], ax
je 0x14001facc
lea rdx, [0x1400e9a5c]
mov rcx, r15
call fcn.140056108
mov rdx, rbx
mov rcx, r15
call fcn.140056108
mov rdx, rdi
mov rcx, r15
call fcn.140056108
lea rdx, [0x1400ecb24]
mov rcx, r15
call fcn.140056108
mov rdx, r12
mov rcx, r15
call fcn.140056108
mov rbx, qword [rsp + 0x480]
mov rsi, qword [rsp + 0x48]
lea rdx, [rsp + 0x1b0]
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
mov r12, qword [rsp + 0x50]
xor edx, edx
cmp eax, edx
je 0x14001f990
mov rdi, qword [rsp + 0x90]
jmp 0x14001f508