Function at 0x1800506d0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1801925c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r15d, r15d
cmp qword [0x180194418], r15
jne 0x180050721
mov ecx, dword [0x180193c78]
call fcn.180065660
mov qword [0x180194418], rax
mov rcx, qword [0x1801936c8]
test rcx, rcx
jne 0x18005076a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x27]
mov r8d, 8
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x180050763
mov rcx, qword [rbp - 0x21]
mov qword [0x1801936c8], rcx
jmp 0x18005076a
mov rcx, qword [0x1801936c8]
mov rsi, qword [0x180193c78]
add rsi, rcx
movabs r12, 0x7fffffffffffffff
mov ecx, dword [0x180192874]
movzx eax, byte [0x1801936a0]
cmp al, byte [0x18019369b]
jne 0x18005079f
cmp ecx, dword [0x180192870]
je 0x180050950
mov dword [0x180192870], ecx
mov rdi, qword [0x180194418]
add rdi, 0x19
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x180181a9c]
movss dword [rbp - 0x11], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp - 0x11]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x2f], 0x5100ff3
mov rbx, qword [0x180194418]
sub edi, ebx
sub edi, 8
mov dword [rbp - 0x19], edi
mov byte [rbp + 0x33], dil
movzx eax, byte [rbp - 0x18]
mov byte [rbp + 0x34], al
movzx eax, byte [rbp - 0x17]
mov byte [rbp + 0x35], al
movzx eax, byte [rbp - 0x16]
mov byte [rbp + 0x36], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp + 0x2f]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14, qword [0x180194418]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov dword [rsp + 0x20], 8
xor r9d, r9d
lea r8, [r14 + 8]
mov rdx, rsi
lea rcx, [rbp - 9]
call fcn.180065780
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov rbx, qword [rbp - 1]
sub rbx, qword [rbp - 9]
je 0x1800508f2
cmp rbx, r12
ja 0x180050acf
cmp rbx, 0x1000
jb 0x1800508b9
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180050ad5
call fcn.1800b1cf8
test rax, rax
je 0x1800508b2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800508c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800b1cf8
mov rdi, rax
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], rdi
lea rcx, [rdi + rbx]
mov qword [rbp - 0x29], rcx
mov rbx, qword [rbp - 1]
mov rdx, qword [rbp - 9]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x39]
lea rcx, [r14 + 8]
call fcn.180065510
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x180050949
mov rdx, qword [rbp + 7]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050938
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050938
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b1cf0
mov qword [rbp - 9], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movzx eax, byte [0x1801936a0]
cmp al, byte [0x18019369b]
je 0x180050a9c
mov byte [0x18019369b], al
test al, al
je 0x180050a6d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
mov dword [rsp + 0x20], r15d
lea r9d, [rax + 8]
mov r8, rsi
mov rdx, qword [0x180194418]
lea rcx, [rbp + 0xf]
call fcn.180065780
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov rbx, qword [rbp + 0x17]
sub rbx, qword [rbp + 0xf]
je 0x180050a21
cmp rbx, r12
ja 0x180050adb
cmp rbx, 0x1000
jb 0x1800509e8
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180050ac9
call fcn.1800b1cf8
test rax, rax
je 0x1800509e1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800509f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800b1cf8
mov rdi, rax
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], rdi
lea rdx, [rdi + rbx]
mov qword [rbp - 0x29], rdx
mov rbx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0xf]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.180065510
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x180050a9c
mov rdx, qword [rbp + 0x1f]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050a66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050a66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b1cf0
jmp 0x180050a9c
mov dword [rbp + 0x2f], 0x83100ff3
mov dword [rbp + 0x33], 0x500
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp + 0x2f]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800b1bb0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180003530
nop
call fcn.180057180
int3
call fcn.180003530
nop
call fcn.180057180
int3