Function at 0x1400045f0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [0x1400fc740]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, r9
mov rdi, r8
mov r15, rdx
mov rsi, rcx
xor r13d, r13d
mov edx, dword [rcx + 8]
lea ecx, [r13 + 0x18]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140004724
mov qword [rbp - 0x80], 0x238
mov qword [rbp - 0x78], r13
mov dword [rbp - 0x70], r13d
mov qword [rbp - 0x68], r13
mov dword [rbp - 0x60], r13d
mov qword [rbp - 0x58], r13
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call fcn.140078c28
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xb0]
call fcn.140078c28
xor eax, eax
mov dword [rbp + 0x1b4], eax
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.KERNEL32.dll_Module32First
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x140004724
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.KERNEL32.dll_Module32First
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x140004724
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], rax
nop
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r13b
jne 0x1400046e0
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400057d0
test al, al
jne 0x14000474e
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x1400046d0
mov byte [r15 + 8], r13b
mov rax, r15
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140077f60
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edi, dword [rbp - 0x60]
mov r12, qword [rbp - 0x68]
mov ecx, edi
call fcn.140078068
mov rbx, rax
test rax, rax
je 0x140004773
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.140078c28
jmp 0x140004776
mov rbx, r13
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], r13
mov r9, rdi
mov r8, rbx
mov rdx, r12
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r8, r14
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140003ff0
nop
mov r11, r13
sub rdi, qword [r14 + 8]
mov rsi, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
cmp r11, rdi
jae 0x140004874
mov rax, r13
mov r8, rsi
sub r8, r9
sar r8, 2
test r8, r8
je 0x1400047fa
lea r10, [r11 + rbx]
nop word [rax + rax]
mov edx, dword [r9 + rax*4]
movzx ecx, byte [r10 + rax]
cmp ecx, edx
je 0x1400047f2
cmp edx, 0xffffffff
jne 0x14000486c
inc rax
cmp rax, r8
jb 0x1400047e0
lea rax, [r12 + r11]
mov qword [r15], rax
mov byte [r15 + 8], 1
test r9, r9
je 0x140004856
mov rax, qword [rsp + 0x48]
sub rax, r9
sar rax, 2
lea rdx, [rax*4]
mov rax, r9
cmp rdx, 0x1000
jb 0x140004840
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400048b3
mov rcx, r9
call fcn.140077c8c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
test rbx, rbx
je 0x140004728
mov rcx, rbx
call fcn.140077c8c
jmp 0x140004728
inc r11
jmp 0x1400047b6
mov byte [r15 + 8], 0
test r9, r9
je 0x140004856
mov rax, qword [rsp + 0x48]
sub rax, r9
sar rax, 2
lea rdx, [rax*4]
mov rax, r9
cmp rdx, 0x1000
jb 0x140004840
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004840
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3