Function at 0x446ab0
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x508
mov qword [rcx], 0
mov qword [rcx + 8], 8
mov qword [rsp + 0x38], rcx
mov qword [rcx + 0x10], 0
mov ecx, 8
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x446e3e
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0xd0]
mov r8d, 0x438
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0xd0], 0x438
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
mov rbx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x446e36
lea rsi, [rsp + 0x508]
lea r14, [rsp + 0x40]
jmp 0x446bae
mov rax, qword [rcx + 8]
mov r8, rdx
shl r8, 6
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movups xmm2, xmmword [rsp + 0xb0]
movups xmm3, xmmword [rsp + 0xc0]
movups xmmword [rax + r8 + 0x30], xmm3
movups xmmword [rax + r8 + 0x20], xmm2
movups xmmword [rax + r8 + 0x10], xmm1
movups xmmword [rax + r8], xmm0
inc rdx
mov qword [rcx + 0x10], rdx
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
lea r14, [rsp + 0x40]
jne 0x446e36
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rsp + r8*2 + 0x300], 0
je 0x446c20
lea rax, [rsp + r8*2]
add rax, 0x300
cmp word [rax + 2], 0
je 0x446c07
cmp word [rax + 4], 0
je 0x446c0c
cmp word [rax + 6], 0
je 0x446c12
cmp word [rax + 8], 0
je 0x446c18
add r8, 5
add rax, 0xa
cmp rax, rsi
jne 0x446bc0
mov r8d, 0x104
jmp 0x446c20
inc r8
jmp 0x446c20
add r8, 2
jmp 0x446c20
add r8, 3
jmp 0x446c20
add r8, 4
nop dword [rax]
mov rcx, r14
lea rdx, [rsp + 0x300]
call fcn.00415980
mov rbp, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
movzx edi, byte [rsp + 0x58]
lea rcx, [rsp + 0x48]
mov eax, dword [rcx + 0x11]
mov ecx, dword [rcx + 0x14]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x33], ecx
mov rcx, r14
mov rdx, r13
mov r8, r12
call fcn.004079f0
cmp qword [rsp + 0x40], 0
je 0x446e17
lea rax, [rsp + 0x48]
mov r15, qword [rax + 0x10]
mov qword [rsp + 0x70], r15
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
mov rbx, qword [rsp + 0x68]
mov r9d, 0x40
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.00470bf0
test rax, rax
sete cl
cmp rdx, 0x40
setb dl
or dl, cl
mov ecx, 0
cmove rcx, rax
jne 0x446e00
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x446e00
mov eax, dword [rcx + 0x3c]
mov qword [rsp + 0x88], rax
mov rcx, r14
mov rdx, rbx
mov r8, r15
lea r9, [rsp + 0x88]
call fcn.00409d80
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x446e00
mov r14, qword [rax + 0x30]
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
mov ecx, 0x10
mov edx, 8
call fcn.004018c0
test rax, rax
je 0x446e57
mov r15, rax
mov eax, dword [rsp + 0xf0]
mov qword [r15], r14
mov qword [r15 + 8], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x33]
mov dword [rsp + 0x43], ecx
mov dword [rsp + 0x40], eax
mov rcx, rbx
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rsp + 0x60]
call fcn.004be984
cmp dil, 2
mov rbx, qword [rsp + 0x28]
je 0x446b90
mov r8, qword [rsp + 0x80]
sub r8, r14
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r12
mov byte [rsp + 0xa8], dil
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x43]
lea rdx, [rsp + 0xa9]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], 1
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0xc8], 1
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0x10]
cmp rdx, qword [rcx]
jne 0x446b47
mov rdi, rcx
call fcn.00468300
mov rdx, qword [rdi + 0x10]
mov rcx, rdi
jmp 0x446b47
mov rcx, rbx
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rsp + 0x60]
call fcn.004be984
mov rbx, qword [rsp + 0x28]
test rbp, rbp
je 0x446b90
mov r8d, 1
mov rcx, r13
mov rdx, rbp
call fcn.004018d0
jmp 0x446b90
mov rcx, rbx
call fcn.004be984
mov rax, qword [rsp + 0x38]
add rsp, 0x508
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x10
mov edx, 8
call fcn.0048d440
ud2