Function at 0x140010070
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
mov rsi, rcx
test rdx, rdx
je 0x1400100fd
mov ebp, r9d
mov rdi, r8
mov rbx, rdx
mov ecx, 0x410
xor edx, edx
mov r8d, ebx
call sub.KERNEL32.dll_OpenProcess
test rax, rax
jne 0x1400100bc
mov ecx, 0x1000
xor edx, edx
mov r8d, ebx
call sub.KERNEL32.dll_OpenProcess
test rax, rax
je 0x1400100fd
mov r14, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x108]
mov rcx, rax
xor edx, edx
mov r9d, 0x30
call sub.ntdll.dll_NtQueryInformationProcess
test eax, eax
je 0x140010109
mov qword [rsi], 2
mov rcx, r14
call fcn.1400d6e74
jmp 0x14001058f
mov qword [rsi], 2
jmp 0x14001058f
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x138], 0
mov dword [rsp + 0x20], 3
lea rdx, [rsp + 0x70]
lea r9, [rsp + 0x138]
mov rcx, r14
mov r8d, 4
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x14001019a
mov r15, qword [rsp + 0x70]
lea r12, [rsp + 0x138]
mov r8d, 0x20a
mov rcx, r12
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, r14
mov rdx, r15
mov r8, r12
mov r9d, 0x105
call sub.PSAPI.DLL_GetModuleBaseNameW
lea rcx, [rsp + 0x80]
mov r8d, 0x105
mov rdx, r12
call fcn.140012580
jmp 0x1400101be
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 1
mov qword [rsp + 0x90], 0
lea r15, [rsp + 0x138]
mov r8d, 0x20a
mov rcx, r15
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, r14
xor edx, edx
mov r8, r15
mov r9d, 0x105
call sub.PSAPI.DLL_GetModuleFileNameExW
lea rcx, [rsp + 0xb8]
mov r8d, 0x105
mov rdx, r15
call fcn.140012580
mov byte [rsp + 0xd0], 1
mov r15, qword [rsp + 0xc8]
test r15, r15
js 0x1400105a6
mov r12, qword [rsp + 0xc0]
je 0x140010251
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov eax, 1
mov qword [rsp + 0x30], rax
mov edx, 1
mov rcx, r15
call fcn.14000b1e0
test rax, rax
je 0x1400105af
mov r13, rax
jmp 0x140010257
mov r13d, 1
mov rcx, r13
mov rdx, r12
mov r8, r15
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r15
mov byte [rsp + 0xb0], 1
lea rcx, [rsp + 0x98]
call fcn.1400733c0
lea r13, [rsp + 0x138]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.140011760
mov rax, qword [rsp + 0x138]
mov rcx, rax
neg rcx
jno 0x1400102ef
mov byte [rsp + 0x2f], 1
mov eax, 1
mov qword [rsp + 0x48], rax
mov ecx, 8
xor eax, eax
xor edx, edx
xor r8d, r8d
mov r9d, 8
xor r10d, r10d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x60], 0
jmp 0x140010366
mov rcx, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x148]
mov r8, qword [rsp + 0x150]
mov r9, qword [rsp + 0x158]
mov r10, qword [rsp + 0x160]
mov r11, qword [rsp + 0x168]
mov qword [rsp + 0x30], r11
mov r11, qword [rsp + 0x170]
mov qword [rsp + 0x48], r11
mov r11, qword [rsp + 0x178]
mov qword [rsp + 0x60], r11
movzx r11d, byte [rsp + 0x180]
mov byte [rsp + 0x2f], r11b
mov r11d, dword [rsp + 0x181]
mov dword [rsp + 0x40], r11d
mov r11d, dword [rsp + 0x184]
mov dword [rsp + 0x43], r11d
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0xf8], r9
mov qword [rsp + 0x100], r10
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x20], r13
lea rdx, [rsp + 0x78]
mov rcx, r14
mov r8, r13
mov r9, r13
call sub.KERNEL32.dll_GetProcessTimes
movabs rax, 0xd6bf94d5e57a42bd
mul qword [rsp + 0x78]
shr rdx, 0x17
movabs r15, 0xfffffffd49ef6f00
add r15, rdx
xor r14d, r14d
cmp r15, rdi
cmovbe r14, r15
xor r12d, r12d
cmp qword [rsp + 0x68], 0
setne r13b
mov rcx, qword [rsp + 0x38]
mov edx, ebp
call fcn.14000fe00
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
mov rbp, qword [rsp + 0x38]
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.14000b1e0
test rax, rax
je 0x1400105be
sub rdi, r14
mov r12b, r13b
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rbp
mov rcx, qword [rsp + 0x90]
mov qword [rsi + 0x20], rcx
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x10], xmm0
mov rcx, qword [rsp + 0xe8]
mov qword [rsi + 0x38], rcx
movups xmm0, xmmword [rsp + 0xd8]
movups xmmword [rsi + 0x28], xmm0
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rsi + 0x60], xmm0
mov rcx, qword [rsp + 0x100]
mov qword [rsi + 0x70], rcx
movups xmm0, xmmword [rsp + 0xb8]
movups xmm1, xmmword [rsp + 0xc8]
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x50], xmm1
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x78], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x80], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsi + 0x88], rcx
movzx ecx, byte [rsp + 0x2f]
mov byte [rsi + 0x90], cl
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x43]
mov dword [rsi + 0x91], ecx
mov dword [rsi + 0x94], edx
movups xmm0, xmmword [rsp + 0x98]
movups xmm1, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x98], xmm0
movups xmmword [rsi + 0xa8], xmm1
mov qword [rsi], r12
mov rcx, qword [rsp + 0x68]
mov qword [rsi + 8], rcx
mov dword [rsi + 0xb8], 1
mov qword [rsi + 0xc0], rbx
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0xc8], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsi + 0xd0], rcx
xorps xmm0, xmm0
movups xmmword [rsi + 0xd8], xmm0
mov qword [rsi + 0xe8], rax
movups xmmword [rsi + 0x100], xmm0
movups xmmword [rsi + 0xf0], xmm0
mov qword [rsi + 0x110], r15
mov qword [rsi + 0x118], rdi
movups xmmword [rsi + 0x120], xmm0
movups xmmword [rsi + 0x130], xmm0
mov dword [rsi + 0x140], 0
mov byte [rsi + 0x144], 1
mov rax, rsi
add rsp, 0x348
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call fcn.1400b3800
jmp 0x1400105cd
mov ecx, 8
mov edx, 0x18
call fcn.1400b3820
ud2