Function at 0x180051030
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
cmp qword [0x180194438], r15
jne 0x180051081
mov ecx, dword [0x180193d68]
call fcn.180065660
mov qword [0x180194438], rax
mov rcx, qword [0x1801936c8]
test rcx, rcx
jne 0x1800510ca
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], 3
lea r9, [rbp - 0x19]
mov r8d, 8
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x1800510c3
mov rcx, qword [rbp - 0x21]
mov qword [0x1801936c8], rcx
jmp 0x1800510ca
mov rcx, qword [0x1801936c8]
mov rsi, qword [0x180193d68]
add rsi, rcx
movzx eax, byte [0x18019368b]
cmp al, byte [0x180193689]
je 0x180051387
mov byte [0x180193689], al
mov dword [rbp + 0x2f], 0xf4400b0
mov dword [rbp + 0x33], 0xff3f8b6
mov dword [rbp + 0x37], 0xc88710
mov word [rbp + 0x3b], r15w
mov rbx, qword [0x180194438]
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 [0x180194438]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
mov dword [rsp + 0x20], recvfrom
xor r9d, r9d
lea r8, [r14 + 0xe]
mov rdx, rsi
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]
movabs r12, 0x7fffffffffffffff
sub rbx, qword [rbp + 7]
je 0x1800511f6
cmp rbx, r12
ja 0x1800513ba
cmp rbx, 0x1000
jb 0x1800511bd
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1800513c0
call fcn.1800b1cf8
test rax, rax
je 0x1800511b6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800511c8
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, [rbx + rdi]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x39]
lea rcx, [r14 + 0xe]
call fcn.180065510
cmp byte [0x180193689], 0
je 0x180051313
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
mov dword [rsp + 0x20], r15d
lea r9d, [rax + 0xc]
mov r8, rsi
mov rdx, qword [0x180194438]
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 0x1800512c7
cmp rbx, r12
ja 0x1800513c6
cmp rbx, 0x1000
jb 0x18005128e
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1800513b4
call fcn.1800b1cf8
test rax, rax
je 0x180051287
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180051299
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, [rdi + rbx]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.180065510
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x18005134a
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005130c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005130c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b1cf0
jmp 0x18005134a
mov dword [rbp + 0x1f], 0xf8b60f44
mov dword [rbp + 0x23], 0x87100ff3
mov dword [rbp + 0x27], reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], r15
mov r9d, recvfrom
lea r8, [rbp + 0x1f]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x180051387
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051382
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051382
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b1cf0
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