Function at 0x4c92e0
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 0x4c966e
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 0x4c9666
lea rsi, [rsp + 0x508]
lea r14, [rsp + 0x40]
jmp 0x4c93de
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 0x4c9666
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rsp + r8*2 + 0x300], 0
je 0x4c9450
lea rax, [rsp + r8*2]
add rax, 0x300
cmp word [rax + 2], 0
je 0x4c9437
cmp word [rax + 4], 0
je 0x4c943c
cmp word [rax + 6], 0
je 0x4c9442
cmp word [rax + 8], 0
je 0x4c9448
add r8, 5
add rax, 0xa
cmp rax, rsi
jne 0x4c93f0
mov r8d, 0x104
jmp 0x4c9450
inc r8
jmp 0x4c9450
add r8, 2
jmp 0x4c9450
add r8, 3
jmp 0x4c9450
add r8, 4
nop dword [rax]
mov rcx, r14
lea rdx, [rsp + 0x300]
call fcn.004981b0
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.0048a220
cmp qword [rsp + 0x40], 0
je 0x4c9647
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.004f3420
test rax, rax
sete cl
cmp rdx, 0x40
setb dl
or dl, cl
mov ecx, 0
cmove rcx, rax
jne 0x4c9630
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x4c9630
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.0048c5b0
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x4c9630
mov r14, qword [rax + 0x30]
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
mov ecx, 0x10
mov edx, 8
call fcn.00422020
test rax, rax
je 0x4c9687
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.00543234
cmp dil, 2
mov rbx, qword [rsp + 0x28]
je 0x4c93c0
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 0x4c9377
mov rdi, rcx
call fcn.004eab30
mov rdx, qword [rdi + 0x10]
mov rcx, rdi
jmp 0x4c9377
mov rcx, rbx
call sub.kernel32.dll_UnmapViewOfFile
mov rcx, qword [rsp + 0x60]
call fcn.00543234
mov rbx, qword [rsp + 0x28]
test rbp, rbp
je 0x4c93c0
mov r8d, 1
mov rcx, r13
mov rdx, rbp
call fcn.00422030
jmp 0x4c93c0
mov rcx, rbx
call fcn.00543234
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.0050fe70
ud2