Function at 0x1400d6e10
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14017c080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400d70c1
mov esi, dword [rsp + 0x20]
shr esi, 3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov edi, r14d
mov qword [rsp + 0x38], r14
mov edx, esi
test esi, esi
je 0x1400d6e9b
lea rcx, [rsp + 0x28]
call fcn.1400d7870
mov rdi, qword [rsp + 0x38]
lea r8d, [rsi*8]
lea r9, [rsp + 0x20]
mov r15, qword [rsp + 0x28]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400d70ed
mov eax, dword [rsp + 0x20]
shr eax, 3
cmp esi, eax
cmovae esi, eax
mov r13d, esi
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov dword [rsp + 0x24], 1
mov qword [rsp + 0x40], r13
test esi, esi
je 0x1400d7022
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400d7660
test esi, esi
je 0x1400d7022
mov rsi, r15
nop dword [rax + rax]
mov r9d, 0x104
lea r8, [rbp - 0x50]
mov rdx, qword [rsi]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x1400d7095
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rcx
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140067360
nop
mov r9d, Ordinal_27
lea r8, [rsp + 0x48]
mov rdx, qword [rsi]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x1400d7119
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.14005fae0
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400d6fc2
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x78], 0
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov qword [rdx + 0x20], rax
add qword [rbx + 8], 0x28
jmp 0x1400d6fd0
lea r8, [rsp + 0x68]
mov rcx, rbx
call fcn.1400d79e0
nop
lea rcx, [rsp + 0x68]
call fcn.140048e70
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400d7012
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d700d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d7056
call fcn.140135744
inc r14d
add rsi, 8
cmp r14d, r13d
jb 0x1400d6f10
test r15, r15
je 0x1400d7068
sub rdi, r15
and rdi, 0xfffffffffffffff8
mov rax, r15
cmp rdi, 0x1000
jb 0x1400d705d
add rdi, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d705d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rdi
mov rcx, r15
call fcn.140135744
mov rax, rbx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140135a80
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetModuleBaseName
lea rcx, [rsp + 0x68]
call fcn.1400d6360
lea rdx, [0x140177e80]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.EnumProcessModules
lea rcx, [rsp + 0x28]
call fcn.1400d6360
lea rdx, [0x140177e80]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.EnumProcessModules
lea rcx, [rsp + 0x48]
call fcn.1400d6360
lea rdx, [0x140177e80]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetModuleInformation
lea rcx, [rsp + 0x68]
call fcn.1400d6360
lea rdx, [0x140177e80]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
int3