Function at 0x180051fa0
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 + 0x3f], rax
xor r15d, r15d
mov rax, qword [0x1801936c8]
test rax, rax
jne 0x18005201d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], 3
lea r9, [rbp - 0x19]
lea r8d, [r15 + 8]
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x180052016
mov rax, qword [rbp - 0x21]
mov qword [0x1801936c8], rax
jmp 0x18005201d
mov rax, qword [0x1801936c8]
mov rcx, qword [0x180193ea8]
lea rsi, [rcx + rax]
movabs r12, 0x7fffffffffffffff
cmp qword [0x180194458], r15
jne 0x180052192
call fcn.180065660
mov rbx, rax
mov qword [0x180194458], rax
mov dword [rbp + 0x2f], 0x2484c741
mov qword [rbp + 0x33], 0xa28
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], r15
mov r9d, recvfrom
lea r8, [rbp + 0x2f]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14, qword [0x180194458]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea r8, [r14 + 0xc]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.180065780
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov rbx, qword [rbp - 9]
sub rbx, qword [rbp - 0x11]
je 0x18005213b
cmp rbx, r12
ja 0x18005231e
cmp rbx, 0x1000
jb 0x180052102
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180052324
call fcn.1800b1cf8
test rax, rax
je 0x1800520fb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18005210d
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 - 9]
mov rdx, qword [rbp - 0x11]
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 + 0xc]
call fcn.180065510
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x180052192
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052181
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052181
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b1cf0
mov qword [rbp - 0x11], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
movzx eax, byte [0x18019367a]
cmp al, byte [0x1801935d7]
je 0x1800522eb
mov byte [0x1801935d7], al
test al, al
je 0x1800522b6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
mov dword [rsp + 0x20], r15d
lea r9d, [rax + 0xa]
mov r8, rsi
mov rdx, qword [0x180194458]
lea rcx, [rbp + 7]
call fcn.180065780
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov rbx, qword [rbp + 0xf]
sub rbx, qword [rbp + 7]
je 0x18005226a
cmp rbx, r12
ja 0x18005232a
cmp rbx, 0x1000
jb 0x180052231
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180052318
call fcn.1800b1cf8
test rax, rax
je 0x18005222a
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18005223c
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 + 0xf]
mov rdx, qword [rbp + 7]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.180065510
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1800522eb
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800522af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800522af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b1cf0
jmp 0x1800522eb
mov dword [rbp + 0x1f], 0x110f41f3
mov dword [rbp + 0x23], 0xa282484
mov word [rbp + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], r15
mov r9d, 0xa
lea r8, [rbp + 0x1f]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0x3f]
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