Function at 0x1401010b0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1405f98c0]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
xor r15d, r15d
mov rax, qword [rcx]
cmp dword [rax], r15d
ja 0x140101105
mov r8d, 0x11f
lea rdx, str.C:gitlab_runner_builds4ZD7vayF0_blade_groupdev_vm_windowsmanagementprocessatorProcessator_srcprovidersProcessProviderChannel.cpp
lea rcx, str.process__pid___0
call fcn.1403fd2b8
mov r8, qword [rbx]
mov r8d, dword [r8]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x140101173
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x14010116c
mov r8, qword [rbx]
mov r8d, dword [r8]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x140101173
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14010116c
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, str.process:_failed_to_query_info_for_process:_
lea r8, str.CHECKPROCESS
call fcn.140102bc0
xor al, al
jmp 0x140101791
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x1401011d0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x30], eax
movabs rax, 0x346dc5d63886594b
mul qword [rsp + 0x30]
shr rdx, 0xb
movabs rax, 0xa9730b66800
sub rdx, rax
mov rax, qword [rbx]
mov qword [rax + 0x48], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov word [rsp + 0x20], r15w
mov edx, 0x800
mov r9d, edx
lea rcx, [rbp - 0x80]
call fcn.1400eed70
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x30], eax
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r8, qword [rbp - 0x80]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov edx, dword [rsp + 0x30]
mov r8, qword [rbp - 0x70]
cmp rdx, r8
ja 0x14010124a
mov qword [rbp - 0x70], rdx
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rax, qword [rbp - 0x80]
mov word [rax + rdx*2], r15w
jmp 0x1401012a1
sub rdx, r8
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x14010128f
lea rax, [rdx + r8]
mov qword [rbp - 0x70], rax
lea r9, [rbp - 0x80]
cmp rcx, 7
cmova r9, qword [rbp - 0x80]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140101284
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r15w
jmp 0x1401012a1
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rbp - 0x80]
call fcn.1400eed70
mov rcx, qword [rbx]
add rcx, 0x28
lea rax, [rbp - 0x80]
cmp rcx, rax
je 0x1401012fb
mov rdx, qword [rbp - 0x70]
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x1401012f5
mov r14, rcx
cmp rax, 7
jbe 0x1401012d8
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.14043cc20
mov word [rdi + r14], r15w
jmp 0x1401012fb
call fcn.140102e90
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14010133b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140101336
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401017c0
call fcn.1403e3650
lea r9, [rsp + 0x30]
mov r8d, 8
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1401014c9
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov word [rsp + 0x20], r15w
mov edx, 0x800
mov r9d, edx
lea rcx, [rbp - 0x60]
call fcn.1400eed70
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r8, qword [rbp - 0x60]
mov r9d, dword [rbp - 0x50]
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
mov edx, eax
mov r8, qword [rbp - 0x50]
cmp rdx, r8
ja 0x1401013cf
mov qword [rbp - 0x50], rdx
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov word [rax + rdx*2], r15w
jmp 0x140101426
sub rdx, r8
mov rcx, qword [rbp - 0x48]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140101414
lea rax, [r8 + rdx]
mov qword [rbp - 0x50], rax
lea r9, [rbp - 0x60]
cmp rcx, 7
cmova r9, qword [rbp - 0x60]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140101409
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r15w
jmp 0x140101426
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rbp - 0x60]
call fcn.1400eed70
mov rcx, qword [rbx]
add rcx, 8
lea rax, [rbp - 0x60]
cmp rcx, rax
je 0x140101480
mov rdx, qword [rbp - 0x50]
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r9, qword [rbp - 0x60]
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x14010147a
mov r14, rcx
cmp rax, 7
jbe 0x14010145d
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.14043cc20
mov word [rdi + r14], r15w
jmp 0x140101480
call fcn.140102e90
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1401015e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401014bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401017c6
call fcn.1403e3650
jmp 0x1401015e7
mov rdx, qword [rbx]
cmp qword [rdx + 0x38], 0
je 0x1401015e7
add rdx, 0x28
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x48]
call fcn.1400eb140
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
cmp rcx, rax
jne 0x14010151c
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], recv
mov byte [rbp - 0x40], 0
jmp 0x140101534
sub rax, rcx
and rax, 0xffffffffffffffe0
lea rdx, [rcx - 0x20]
add rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400c6060
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1401845b0
mov rcx, qword [rbx]
add rcx, 8
mov rdx, rax
call fcn.1401020d0
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140101590
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010158b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401017cc
call fcn.1403e3650
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1401015dd
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401015d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401017d2
call fcn.1403e3650
nop
lea rcx, [rsp + 0x50]
call fcn.1400ed910
mov rax, qword [rbx]
lea rdx, [rax + 0x6c]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x140101615
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, str.process:_failed_to_query_process_sessions_id___
lea r8, str.CHECKPROCESS
call fcn.140102bc0
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x38]
mov edx, 8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14010164c
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, str.process:_failed_to_open_process_token___
lea r8, str.CHECKPROCESS
call fcn.140102bc0
cmp qword [rsp + 0x38], 0
je 0x14010176c
mov dword [rsp + 0x30], 0x54
mov ecx, 0x54
call fcn.1403e38dc
mov rdi, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, rdi
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14010173f
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x14010173f
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401016d0
lea rcx, [rbp - 0x40]
call fcn.1400c71d0
mov rcx, qword [rbx]
add rcx, 0x70
lea rdx, [rbp - 0x40]
call fcn.1401020d0
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140101734
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010172f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401017ba
call fcn.1403e3650
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call fcn.1403e3650
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14010176c
lea r9, str.process:_failed_to_close_the_process_token_handle
lea r8, str.CHECKPROCESS
lea edx, [rax + 4]
call fcn.1400c6f10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14010178f
lea r9, str.process:_failed_to_close_the_Nt_Handle
lea r8, str.CHECKPROCESS
lea edx, [rax + 4]
call fcn.1400c6f10
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1403e3630
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1403fd768
int3
call fcn.1403fd768
int3
call fcn.1403fd768
nop
call fcn.1403fd768
nop
call fcn.1403fd768
int3