Function at 0x1400340bc
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x400
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
mov eax, r9d
mov dword [rsp + 0x50], eax
mov rdi, r8
mov bpl, dl
mov r13, rcx
mov qword [rsp + 0x58], rcx
mov r14d, dword [rsp + 0x460]
xor esi, esi
cmp dl, sil
jne 0x140034136
cmp r8, rsi
jne 0x140034136
cmp eax, esi
jne 0x140034136
cmp r14d, esi
jne 0x140034136
call fcn.14002a1f0
mov r13, rax
mov qword [rsp + 0x58], rax
mov al, bpl
and al, 2
mov byte [rsp + 0x41], al
mov bl, bpl
and bl, 0x10
mov byte [rsp + 0x40], bl
and bpl, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x44], eax
cmp qword [0x14019c0d8], rsi
jne 0x140034184
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0d8], rax
lea rcx, [0x14019cf50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11b, byte [0x14019c661]
test r11b, 4
jne 0x1400341bf
cmp rdi, rsi
je 0x1400341bf
or r11b, 8
mov byte [0x14019c661], r11b
mov edx, 2
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
lea rcx, [0x14019cf50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, 0x45e2
lea rcx, [rsp + 0x68]
call fcn.140063580
nop
mov r12, qword [rsp + 0x68]
mov qword [rsp + 0x80], r12
lea r15, [r12 + 0xa0]
mov qword [rsp + 0x90], r15
lea rax, [r12 + 0x104]
mov qword [rsp + 0x78], rax
lea rax, [r12 + 0x190]
mov qword [rsp + 0xa0], rax
lea rax, [r12 + 0x99a]
mov qword [rsp + 0x60], rax
lea rax, [r12 + 0xba4]
mov qword [rsp + 0x70], rax
xor ecx, ecx
mov word [rax], cx
cmp rdi, rcx
je 0x1400342f5
mov dword [rsp + 0xb8], ecx
xor edx, edx
lea r8d, [rcx + 0x1c]
lea rcx, [rsp + 0xbc]
call fcn.14010c6c0
xor edx, edx
mov r8d, 0x134
lea rcx, [rsp + 0xf4]
call fcn.14010c6c0
mov ebx, 0x138
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x228]
call fcn.14010c6c0
xor r10d, r10d
mov qword [rsp + 0xf0], r10
mov eax, 0x270
cmp byte [0x14019bce5], 1
cmove ebx, eax
xor r9d, r9d
lea r8d, [r10 + 0x20]
lea rdx, [rsp + 0xb8]
lea ecx, [r10 + 3]
call qword [0x14019c0d8]
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0xf0]
lea ecx, [r9 + 2]
call qword [0x14019c0d8]
mov rdx, qword [rsp + 0xf0]
mov rcx, r12
call fcn.140062c70
mov rdx, qword [rsp + 0xc0]
mov rcx, r15
call fcn.140062c70
mov bl, byte [rsp + 0x40]
xor ecx, ecx
cmp bpl, cl
jne 0x1400343e7
cmp word [r13], cx
jne 0x1400343e7
mov rdx, r12
mov rcx, rdi
call fcn.140071360
lea rdx, [0x140150a80]
mov rcx, rdi
call fcn.140063600
mov rdx, r15
mov rcx, rdi
call fcn.140063600
mov r11b, byte [0x14019bd01]
xor r10d, r10d
cmp r11b, r10b
ja 0x140034349
call fcn.14001e3bc
mov r11b, byte [0x14019bd01]
movzx r8d, r11b
lea rdx, str._t_d_t
lea rcx, [rsp + 0x360]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x360]
mov rcx, rdi
call fcn.140063600
mov rdx, qword [0x14019bdf0]
lea rcx, [rsp + 0x360]
call fcn.140062c70
lea rdx, [rsp + 0x360]
mov rcx, rdi
call fcn.140063600
pxor xmm5, xmm5
cvtsi2sd xmm5, qword [0x14019bdf0]
movsd xmm6, qword [0x1401493c0]
divsd xmm6, xmm5
lea rcx, [rsp + 0x48]
call fcn.140063500
nop
lea r8, str._t_lf
movapd xmm1, xmm6
lea rcx, [rsp + 0x48]
call fcn.140082820
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.140063600
nop
lea rcx, [rsp + 0x48]
call fcn.14005b520
mov rcx, r13
call fcn.14010d9c8
mov r15, rax
mov edx, r14d
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r12, rax
cmp rax, 0xffffffffffffffff
mov ecx, 0
cmove r12, rcx
mov qword [rsp + 0xe0], r12
cmp r12, 0xffffffffffffffff
je 0x1400347d6
mov dword [rsp + 0xf0], 0x238
lea rdx, [rsp + 0xf0]
mov rcx, r12
call sub.KERNEL32.dll_Process32FirstW
movsxd rcx, r15d
mov qword [rsp + 0x48], rcx
xor ecx, ecx
cmp eax, ecx
je 0x1400347d6
mov eax, dword [rsp + 0x50]
cmp eax, ecx
je 0x140034463
cmp eax, dword [rsp + 0x110]
jne 0x1400347a8
mov eax, dword [rsp + 0xf8]
cmp r14d, ecx
je 0x140034478
cmp r14d, eax
jne 0x1400347a8
cmp byte [rsp + 0x41], cl
je 0x140034538
cmp bpl, cl
je 0x1400344d4
cmp r15d, ecx
je 0x1400344b1
mov r8d, r15d
mov rdx, r13
lea rcx, [rsp + 0x11c]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
xor ecx, ecx
cmp eax, ecx
jne 0x1400347a8
mov eax, dword [rsp + 0xf8]
cmp rdi, rcx
jne 0x1400344cd
cmp bl, cl
je 0x1400347c7
cmp dword [rsp + 0x44], eax
jne 0x1400347c7
jmp 0x1400347a8
inc esi
jmp 0x1400345d3
cmp r15d, ecx
jne 0x1400344ec
cmp word [rsp + 0x11c], cx
jne 0x1400347a8
jmp 0x1400345d3
mov rdx, r13
lea rcx, [rsp + 0x11c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
xor ecx, ecx
cmp eax, ecx
jne 0x1400347a8
cmp rdi, rcx
jne 0x14003452a
cmp bl, cl
je 0x1400347cb
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0xf8]
jne 0x1400347cb
jmp 0x1400347a8
inc esi
mov eax, dword [rsp + 0xf8]
jmp 0x1400345d3
cmp bpl, cl
je 0x14003455c
cmp r15d, ecx
je 0x1400345b5
mov r8d, r15d
mov rdx, r13
lea rcx, [rsp + 0x11c]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
xor ecx, ecx
cmp eax, ecx
je 0x1400345ae
cmp r15d, ecx
je 0x1400347a8
mov r8d, r15d
mov rdx, r13
lea rcx, [rsp + 0x11c]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
xor ecx, ecx
cmp eax, ecx
jne 0x1400347a8
cmp bpl, cl
jne 0x1400347a8
mov rax, qword [rsp + 0x48]
movzx eax, word [rsp + rax*2 + 0x11c]
cmp ax, cx
je 0x1400345ae
mov ecx, 0x2e
cmp cx, ax
jne 0x1400347a8
xor ecx, ecx
mov eax, dword [rsp + 0xf8]
cmp rdi, rcx
jne 0x1400345d1
cmp bl, cl
je 0x1400347d4
cmp dword [rsp + 0x44], eax
jne 0x1400347d4
jmp 0x1400347a8
inc esi
mov rbx, rcx
mov r14d, ecx
mov r8d, eax
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
xor r10d, r10d
cmp rax, r10
je 0x1400346ba
xor r9d, r9d
lea r8, [0x14019bf98]
lea rdx, str.PSAPI.DLL
lea rcx, str.GetProcessMemoryInfo
call fcn.14005c580
mov dword [rsp + 0x360], 0x48
xor r14d, r14d
mov dword [rsp + 0x364], r14d
xor edx, edx
lea r8d, [r14 + 0x40]
lea rcx, [rsp + 0x368]
call fcn.14010c6c0
mov r11, qword [0x14019bf98]
cmp r11, r14
je 0x14003465c
lea r8d, [r14 + 0x48]
lea rdx, [rsp + 0x360]
mov rcx, r13
call r11
mov r14, qword [rsp + 0x370]
shr r14, 0xa
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xb0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
xor r10d, r10d
cmp eax, r10d
je 0x1400346b1
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x98]
add rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xf8]
call fcn.14001e448
mov r8d, 0x8000
mov r13, qword [rsp + 0x70]
mov rdx, r13
mov ecx, dword [rsp + 0xf8]
call fcn.1400213dc
xor eax, eax
mov word [r13 + 0x8000], ax
mov rdx, rbx
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140062c70
mov r11, qword [rsp + 0x80]
mov r8d, dword [rsp + 0xf8]
xor eax, eax
cmp r8d, eax
cmovne r11, rbx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsp + 0x110]
lea rdx, str._lu_t_lu_t_lu_t_s_t_s_t
mov rbx, qword [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov r11, qword [rdi]
xor eax, eax
cmp word [r11], ax
je 0x140034769
lea rdx, [0x140149368]
mov rcx, rdi
call fcn.140063600
mov rdx, rbx
mov rcx, rdi
call fcn.140063600
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.140063600
lea rdx, [0x140150a80]
mov rcx, rdi
call fcn.140063600
mov rdx, r13
mov rcx, rdi
call fcn.140063600
mov r13, qword [rsp + 0x58]
mov r14d, dword [rsp + 0x460]
lea rdx, [rsp + 0xf0]
mov rcx, r12
call sub.KERNEL32.dll_Process32NextW
xor ecx, ecx
cmp eax, ecx
je 0x1400347d6
mov bl, byte [rsp + 0x40]
jmp 0x14003444e
mov esi, eax
jmp 0x1400347d6
mov esi, dword [rsp + 0xf8]
jmp 0x1400347d6
mov esi, eax
cmp r12, rcx
je 0x1400347eb
cmp r12, 0xffffffffffffffff
je 0x1400347eb
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.14005b520
mov eax, esi
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.14010bcc0
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret