Function at 0x18005ada0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rdi, rdx
call fcn.18005a790
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18005add2
mov rcx, qword [rdi]
xor ebp, ebp
cmp r8, 2
jne 0x18005af73
lea rdx, [0x1800b4854]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005af73
cmp byte [0x180306086], bpl
je 0x18005ae07
mov byte [0x180306086], bpl
jmp 0x18005af73
mov ecx, 0x12c
cmp byte [0x180306087], bpl
je 0x18005aec1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x180306087], bpl
call fcn.18005ad00
mov esi, eax
mov dword [rsp + 0x30], 0x238
mov edx, eax
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x18005ae88
nop word [rax + rax]
lea rdx, str.winx.dll
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x18005aeb4
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x18005ae60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rbp
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [rsp + 0x2a8], 0x100
jmp 0x18005af4f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
jmp 0x18005ae94
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x180306087], 1
call fcn.18005ad00
mov esi, eax
mov dword [rsp + 0x30], 0x238
mov edx, eax
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x18005af2c
nop
lea rdx, str.winx.dll
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x18005b0c0
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x18005af00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rbp
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [rsp + 0x2a8], ebp
mov qword [rsp + 0x20], rbp
mov r9d, 4
lea r8, [rsp + 0x2a8]
lea rdx, [rbx + 0xeb60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x18005afad
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18005afa8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b0d1
mov rcx, r8
call fcn.180096ef4
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rbx, qword [rsp + 0x2b0]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18005affe
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18005aff9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b0d8
mov rcx, r8
call fcn.180096ef4
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rsp + 0x2b8]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18005b04f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18005b04a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b0df
mov rcx, r8
call fcn.180096ef4
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rsp + 0x2c0]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18005b09c
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18005b097
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b0e6
mov rcx, r8
call fcn.180096ef4
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov al, 1
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rbx, qword [rsp + 0x48]
jmp 0x18005af38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3