Function at 0x140060c70
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x508]
sub rsp, 0x608
mov rax, qword [0x1401740a0]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
mov rax, qword [rcx + 0x40]
mov rsi, rcx
mov rcx, qword [rcx + 0x48]
mov r14, rdx
mov qword [rsp + 0x48], rdx
mov r8, qword [rax]
lea rax, [rcx - 1]
mov r15, qword [r8 + 0x19928]
mov qword [rsp + 0x58], r15
cmp rax, 0xfffffffffffffffd
ja 0x140060d0a
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x438
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140060d0a
nop word [rax + rax]
mov rcx, qword [rbp - 0x48]
cmp r14, rcx
jb 0x140060cf8
mov eax, dword [rbp - 0x40]
add rax, rcx
cmp r14, rax
jb 0x140060e01
mov rcx, qword [rsi + 0x48]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140060ce0
mov r15d, dword [rsi]
mov ecx, 0x400000
mov qword [rsp + 0x650], r12
mov ebx, 0x1f
mov qword [rsp + 0x600], r13
mov r12d, ecx
mov r13, r14
mov edi, ebx
lea eax, [r15 - 1]
and eax, r14d
cmovne r15d, eax
nop word [rax + rax]
mov rax, qword [rsi + 0x40]
cmp ecx, r15d
mov r8, qword [rsi + 0x38]
cmovb r15d, ecx
mov r14d, r15d
mov rcx, qword [rax]
sub r13, r14
lea rax, [rsp + 0x50]
mov r9d, r15d
mov rdx, r13
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x19928]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140060f54
cmp qword [rsp + 0x50], r14
jne 0x140060f54
lea r11d, [r15 - 1]
movsxd r14, r11d
test r11d, r11d
js 0x140060f45
xor r9d, r9d
test ebx, ebx
js 0x140060ded
mov r10d, r11d
mov r8, r14
sub r10d, ebx
nop dword [rax + rax]
lea eax, [rbx + r10]
test eax, eax
js 0x140060f38
lea rax, str._r_nXMDbegin
movzx edx, word [rax + rdi*2]
cmp dx, 0xffff
je 0x140060ddf
mov rax, qword [rsi + 0x38]
movzx ecx, byte [rax + r8]
cmp cx, dx
jne 0x140060f31
dec rdi
dec r9d
dec r8
sub ebx, 1
jns 0x140060db0
movsxd rax, r11d
inc r13
movsxd rcx, r9d
add rcx, rax
add r13, rcx
jmp 0x140060f57
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rbp - 0x30]
lea r8, [rbp - 0x30]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 2]
mov byte [r8], cl
lea r8, [r8 + 1]
test cl, cl
jne 0x140060e20
mov rdx, qword [rsi + 0x10]
lea ecx, [rax + 1]
lea rbx, [rbp - 0x30]
add rbx, rcx
lea r8, [rbp - 0x30]
mov r9, rbx
lea rcx, [rsi + 8]
call fcn.1400616c0
mov rdx, qword [rsi + 0x10]
lea r8, [rbp - 0x30]
mov r9, rbx
lea rcx, [rsi + 8]
call fcn.1400616c0
sub r14d, dword [rbp - 0x48]
lea r9, [rsp + 0x3c]
mov rdx, qword [rsi + 0x10]
lea r8, [rsp + 0x38]
lea rcx, [rsi + 8]
mov dword [rsp + 0x38], r14d
call fcn.1400616c0
mov rdx, qword [rsi + 0x10]
lea r9, [rbp - 0x3c]
lea r8, [rbp - 0x40]
lea rcx, [rsi + 8]
call fcn.1400616c0
mov rdx, qword [rbp - 0x48]
lea rax, [rsp + 0x40]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov dword [rsp + 0x34], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140060f13
cmp qword [rsp + 0x40], 0x40
jne 0x140060f13
movsxd rdx, dword [rbp - 0x64]
lea rax, [rsp + 0x40]
add rdx, qword [rbp - 0x48]
lea r8, [rbp + 0x3e0]
mov r9d, 0x108
mov qword [rsp + 0x20], rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140060f13
mov eax, dword [rsp + 0x34]
cmp qword [rsp + 0x40], 0x108
cmove eax, dword [rbp + 0x3e8]
mov dword [rsp + 0x34], eax
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x34]
lea rcx, [rsi + 8]
call fcn.1400616c0
mov al, 1
jmp 0x140061175
mov ebx, 0x1f
mov edi, ebx
dec r11d
sub r14, 1
jns 0x140060d98
sub r12d, r15d
mov r15d, dword [rsi]
mov ecx, r12d
jne 0x140060d40
xor r13d, r13d
mov rcx, qword [rsp + 0x48]
mov r12d, 0x400000
mov eax, dword [rsi]
mov r15, rcx
dec eax
and eax, ecx
mov ecx, r12d
xor ebx, ebx
mov edi, dword [rsi]
mov rdx, r15
mov r8, qword [rsi + 0x38]
sub edi, eax
mov rax, qword [rsi + 0x40]
cmp ecx, edi
cmovb edi, ecx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rsp + 0x38]
mov r14d, edi
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x19928]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140061026
cmp qword [rsp + 0x38], r14
jne 0x140061026
xor r11d, r11d
test edi, edi
je 0x140061012
cmp ebx, 0x20
jae 0x140061004
lea rdx, [0x140147510]
mov eax, r11d
lea r9, [rdx + rbx*2]
nop dword [rax]
cmp eax, edi
jae 0x14006100a
movzx r10d, word [r9]
cmp r10w, 0xffff
je 0x140060ff4
mov rcx, qword [rsi + 0x38]
mov edx, eax
movzx r8d, byte [rdx + rcx]
cmp r8w, r10w
jne 0x1400610de
inc ebx
add r9, 2
inc eax
cmp ebx, 0x20
jb 0x140060fd0
cmp ebx, 0x20
je 0x1400610e5
inc r11d
cmp r11d, edi
jb 0x140060fb6
sub r12d, edi
xor eax, eax
add r15, r14
mov ecx, r12d
test r12d, r12d
jne 0x140060f70
xor ebx, ebx
mov r12, qword [rsp + 0x650]
test r13, r13
je 0x14006116b
mov rdx, qword [rsi + 0x10]
lea r9, [0x140147510]
lea r8, str._r_nXMDbegin
lea rcx, [rsi + 8]
call fcn.1400616c0
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x31]
lea r8, [rsp + 0x30]
mov byte [rsp + 0x30], 0
lea rcx, [rsi + 8]
call fcn.1400616c0
mov rdx, qword [rsi + 0x10]
lea r9, [0x140147550]
lea r8, [0x140147510]
lea rcx, [rsi + 8]
call fcn.1400616c0
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x31]
lea r8, [rsp + 0x30]
mov byte [rsp + 0x30], 0
lea rcx, [rsi + 8]
call fcn.1400616c0
mov rax, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov rdx, qword [rsi + 0x10]
lea r8, [rsp + 0x38]
sub rax, r13
lea rcx, [rsi + 8]
mov qword [rsp + 0x38], rax
call fcn.1400616c0
test rbx, rbx
je 0x1400610f0
sub rbx, r13
add rbx, 0x20
mov qword [rsp + 0x38], rbx
jmp 0x1400610f9
xor ebx, ebx
jmp 0x14006100a
mov ebx, r11d
add rbx, r15
jmp 0x140061028
mov qword [rsp + 0x38], 0
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsi + 8]
call fcn.1400616c0
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
lea rdx, [r13 + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov dword [rsp + 0x34], 0
lea r8, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140061148
cmp qword [rsp + 0x40], 4
je 0x140061150
mov dword [rsp + 0x34], 0
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x34]
lea rcx, [rsi + 8]
call fcn.1400616c0
mov al, 1
jmp 0x14006116d
xor al, al
mov r13, qword [rsp + 0x600]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400f5be0
add rsp, 0x608
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret