Function at 0x140046cb0
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 - 0x21d0]
mov eax, 0x22d0
call fcn.140088180
sub rsp, rax
mov rax, qword [0x1400c9028]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rdx
xor ebx, ebx
mov qword [rcx + 0x10], rbx
mov r8d, dword [0x1400f44f8]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [r14 + 0x18], rax
lea r9, [rsp + 0x70]
mov r8d, 0x2000
lea rdx, [rbp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov dword [rsp + 0x30], ebx
mov eax, dword [rsp + 0x70]
test rax, 0xfffffffffffffff8
jbe 0x140046ff9
lea r12, [rbp + 0xb0]
nop word [rax + rax]
mov r9d, 0x104
lea r8, [rbp + 0x20b0]
mov rdx, qword [r12]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
lea rax, [rbp + 0x20b0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140046d90
lea rdx, [rbp + 0x20b0]
lea rcx, [rsp + 0x78]
call fcn.1400070e0
nop
lea rbx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
setae r13b
mov r15, qword [rsp + 0x78]
cmovae rbx, r15
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x140046e37
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp + 8], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0xd]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0xc], 1
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
add rax, rbx
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
jne 0x140046e32
cmp rax, rbx
je 0x140046e37
dec rax
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
je 0x140046e20
sub rax, rbx
jmp 0x140046e3e
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
cmp rdi, rcx
jb 0x140047087
sub rdi, rcx
mov r8, 0xffffffffffffffff
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x78]
test r13b, r13b
cmovne rdx, r15
add rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.1400070e0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140046ec5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046ec0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047072
call fcn.140087384
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x78], xmm1
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140046ee5
mov rdx, qword [rsi]
lea rcx, [rsp + 0x78]
movq r8, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rcx, r8
movq r8, xmm1
cmp r8, qword [rsi + 0x10]
jne 0x140046f99
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140046f99
lea r9d, [rax + 0x18]
lea r8, [rbp - 0x68]
mov rdx, qword [r12]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rax, qword [r12]
mov qword [r14], rax
mov ebx, dword [rbp - 0x60]
mov qword [r14 + 8], rbx
mov ecx, ebx
call fcn.1400873b8
mov rdi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x60]
lea rbx, [r14 + 0x10]
cmp rbx, rax
je 0x140046f73
mov rcx, qword [rbx]
mov qword [rbx], rdi
test rcx, rcx
je 0x140046f7b
jmp 0x140046f76
mov rcx, rdi
call fcn.140087384
mov qword [rsp + 0x20], 0
mov r9, qword [r14 + 8]
mov r8, qword [rbx]
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140046fd5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046fd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047079
call fcn.140087384
mov ebx, dword [rsp + 0x30]
inc ebx
mov dword [rsp + 0x30], ebx
add r12, 8
mov ecx, dword [rsp + 0x70]
shr rcx, 3
movsxd rax, ebx
xor ebx, ebx
cmp rax, rcx
jb 0x140046d50
mov rax, qword [r14]
mov qword [r14 + 0x20], rax
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140047036
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140047031
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140047080
mov rcx, r8
call fcn.140087384
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, r14
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.1400870d0
mov rbx, qword [rsp + 0x2320]
add rsp, 0x22d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140006b20
int3