Function at 0x14000b170
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4da0]
mov eax, 0x4ea0
call fcn.14007eb70
sub rsp, rax
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rbp + 0x4d90], rax
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x3e80
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x38]
mov r8d, 0x3e80
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x14000b54c
mov eax, dword [rsp + 0x38]
xor r15d, r15d
mov qword [rsp + 0x50], r15
test rax, 0xfffffffffffffff8
jbe 0x14000b4af
lea r13, [0x1400dcc88]
nop
xor edx, edx
lea rcx, [rbp + 0x3df0]
mov r8d, 0xfa0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + r15*8 + 0x70]
lea rdx, [rbp + 0x3df0]
mov r8d, 0x7cf
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rbp + 0x3df0]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000b250
mov r12, qword [rsp + r15*8 + 0x70]
add bx, bx
mov qword [rsp + 0x58], r12
test r12, r12
je 0x14000b496
test bx, bx
je 0x14000b496
xorps xmm0, xmm0
lea esi, [rbx + 2]
movups xmmword [rsp + 0x40], xmm0
movzx r14d, si
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r14d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x48], rax
mov rdi, rax
test rax, rax
je 0x14000b2d3
mov r8d, r14d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
movzx r8d, bx
lea rdx, [rbp + 0x3df0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + 0x40], bx
mov word [rsp + 0x42], si
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
test rdi, rdi
je 0x14000b48d
lea rdx, [rsp + 0x40]
lea rcx, [0x1400dbce0]
call fcn.14000caf0
mov r15, qword [rsp + 0x48]
mov r14, rax
mov qword [rsp + 0x60], rax
test r15, r15
je 0x14000b4db
movzx ebx, word [rsp + 0x40]
movzx edi, word [rsp + 0x42]
movzx esi, byte [rsp + 0x40]
test bx, bx
je 0x14000b4db
cmp bx, di
ja 0x14000b348
test sil, 1
jne 0x14000b348
mov edx, ebx
lea r8, [0x1400dbce8]
shr rdx, 1
mov rcx, r15
call fcn.140009570
test eax, eax
jne 0x14000b389
test bx, bx
je 0x14000b4db
cmp bx, di
ja 0x14000b3bc
test sil, 1
jne 0x14000b3bc
mov rax, 0xffffffffffffffff
inc rax
cmp word [r13 + rax*2], 0
jne 0x14000b363
test rax, rax
je 0x14000b3bc
mov rdx, rbx
mov r8, r13
shr rdx, 1
mov rcx, r15
call fcn.140009570
test eax, eax
je 0x14000b3bc
test r14, r14
je 0x14000b39e
cmp byte [r14], 0
je 0x14000b45b
mov rdx, qword [r14 + 0x10]
jmp 0x14000b3a0
xor edx, edx
xor r9d, r9d
lea r8, [rsp + 0x34]
test rdx, rdx
mov rcx, r15
sete r9b
call fcn.14000fa20
jmp 0x14000b515
test bx, bx
je 0x14000b4db
cmp bx, di
ja 0x14000b4db
test sil, 1
jne 0x14000b4db
mov rax, qword [0x1400ddc28]
mov r13, rbx
shr r13, 1
xor r12d, r12d
test rax, rax
je 0x14000b4d6
mov rbx, qword [0x1400ddc30]
mov rbx, qword [rbx + r12*8]
test r13, r13
je 0x14000b4c5
test rbx, rbx
je 0x14000b4c5
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [rbx + rsi*2], 0
jne 0x14000b415
cmp rsi, r13
ja 0x14000b4c5
xor r14d, r14d
test rsi, rsi
je 0x14000b45b
sub r15, rbx
movzx ecx, word [r15 + rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx ecx, word [rbx]
movzx edi, ax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
cmp di, ax
jne 0x14000b4b9
inc r14
add rbx, 2
cmp r14, rsi
jb 0x14000b433
mov ecx, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14000b481
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [rsp + 0x30]
mov r15, qword [rsp + 0x50]
lea r13, [0x1400dcc88]
cmp ecx, 1
je 0x14000b54c
mov eax, dword [rsp + 0x38]
inc r15
shr rax, 3
mov qword [rsp + 0x50], r15
cmp r15, rax
jb 0x14000b210
mov eax, 1
jmp 0x14000b54e
mov rax, qword [0x1400ddc28]
mov r15, qword [rsp + 0x48]
inc r12
cmp r12, rax
jb 0x14000b3f1
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
test r14, r14
je 0x14000b4ee
cmp byte [r14 + 1], 0
je 0x14000b4ee
mov eax, 0xbaadfeee
jmp 0x14000b521
cmp dword [0x1400dbce4], 0
je 0x14000b45b
cmp dword [0x1400ddd60], 0
je 0x14000b45b
lea rdx, [rsp + 0x34]
mov rcx, r15
call fcn.14000fc70
test eax, eax
jne 0x14000b45b
mov eax, dword [rsp + 0x34]
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8, r12
lea rdx, [rsp + 0x40]
lea rcx, [0x1400dbce0]
call fcn.14000bc20
xor ecx, ecx
test eax, eax
sete cl
mov dword [rsp + 0x30], ecx
jmp 0x14000b45f
xor eax, eax
mov rcx, qword [rbp + 0x4d90]
xor rcx, rsp
call fcn.14007e630
lea r11, [rsp + 0x4ea0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret