Function at 0x180066c80
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2200]
mov eax, 0x2300
call fcn.180140760
sub rsp, rax
mov rax, qword [0x1801d5600]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
mov rdi, rdx
mov qword [rbp - 0x78], rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r14, rax
lea r9, [rbp - 0x70]
mov r8d, 0x2000
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x180066f0b
xor r15d, r15d
mov esi, r15d
test dword [rbp - 0x70], 0xfffffff8
jbe 0x180066f0b
nop dword [rax]
mov edx, esi
mov r9d, 0x104
lea r8, [rbp + 0x1fe0]
mov rdx, qword [rbp + rdx*8 - 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x180066efb
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rax, [rbp + 0x1fe0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180066d42
lea rdx, [rbp + 0x1fe0]
lea rcx, [rbp - 0x48]
call fcn.180004730
nop
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova r8, qword [rbp - 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, dword [rbp - 0x38]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
test eax, eax
jle 0x180066f7c
mov rdx, rbx
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.18000a390
nop
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rcx, qword [rbp - 0x68]
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova r8, qword [rbp - 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov r9d, dword [rbp - 0x38]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1800042c0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180080320
mov rdx, rax
mov rcx, rdi
call fcn.1800041c0
lea rcx, [rsp + 0x68]
call fcn.180004450
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x68]
call fcn.1800042c0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180080320
mov rbx, rax
lea rax, [rbp - 0x68]
cmp rax, rbx
je 0x180066eab
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180066e7d
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066e78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180066f4b
call fcn.18013facc
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rcx, [rsp + 0x48]
call fcn.180004450
mov rax, qword [rdi + 0x10]
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180066ec6
mov r9, qword [rdi]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rcx, qword [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x58]
call fcn.180004db0
cmp rax, 0xffffffffffffffff
jne 0x180066f52
lea rcx, [rbp - 0x68]
call fcn.180004450
nop
lea rcx, [rbp - 0x48]
call fcn.1800043e0
inc esi
mov eax, dword [rbp - 0x70]
shr eax, 3
cmp esi, eax
jb 0x180066d00
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call fcn.180004450
xor al, al
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.18013fa70
lea r11, [rsp + 0x2300]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x68]
call fcn.180004450
nop
lea rcx, [rbp - 0x48]
call fcn.1800043e0
nop
mov rcx, rdi
call fcn.180004450
mov al, 1
jmp 0x180066f1f
lea rdx, str.Error_converting_wide_string_to_narrow_string
lea rcx, [rsp + 0x48]
call fcn.180005160
lea rdx, [0x1801d1150]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3