Function at 0x180051bd0
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
mov rax, qword [0x1801936c8]
test rax, rax
jne 0x180051c4d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x27]
lea r8d, [r15 + 8]
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x180051c46
mov rax, qword [rbp - 0x21]
mov qword [0x1801936c8], rax
jmp 0x180051c4d
mov rax, qword [0x1801936c8]
mov rcx, qword [0x180193e58]
lea rsi, [rcx + rax]
movabs r12, 0x7fffffffffffffff
cmp qword [0x180194450], r15
jne 0x180051e08
call fcn.180065660
mov qword [0x180194450], rax
lea rdi, [rax + 0x19]
mov dword [rbp - 0x11], r15d
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], 0xd100ff3
mov rbx, qword [0x180194450]
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 [0x180194450]
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 0x180051db1
cmp rbx, r12
ja 0x180051f8e
cmp rbx, 0x1000
jb 0x180051d78
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180051f94
call fcn.1800b1cf8
test rax, rax
je 0x180051d71
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180051d83
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 - 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 0x180051e08
mov rdx, qword [rbp + 7]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051df7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051df7
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 [0x18019367e]
cmp al, byte [0x18019367b]
je 0x180051f5b
mov byte [0x18019367b], al
test al, al
je 0x180051f2c
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 [0x180194450]
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 0x180051ee0
cmp rbx, r12
ja 0x180051f9a
cmp rbx, 0x1000
jb 0x180051ea7
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180051f88
call fcn.1800b1cf8
test rax, rax
je 0x180051ea0
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180051eb2
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 0x180051f5b
mov rdx, qword [rbp + 0x1f]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051f25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051f25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b1cf0
jmp 0x180051f5b
mov dword [rbp + 0x2f], 0x8e100ff3
mov dword [rbp + 0x33], 0x870
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