Function at 0x140063890
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 [0x1401770a0]
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 0x14006392a
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x438
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14006392a
nop word [rax + rax]
mov rcx, qword [rbp - 0x48]
cmp r14, rcx
jb 0x140063918
mov eax, dword [rbp - 0x40]
add rax, rcx
cmp r14, rax
jb 0x140063a21
mov rcx, qword [rsi + 0x48]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140063900
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 0x140063b74
cmp qword [rsp + 0x50], r14
jne 0x140063b74
lea r11d, [r15 - 1]
movsxd r14, r11d
test r11d, r11d
js 0x140063b65
xor r9d, r9d
test ebx, ebx
js 0x140063a0d
mov r10d, r11d
mov r8, r14
sub r10d, ebx
nop dword [rax + rax]
lea eax, [rbx + r10]
test eax, eax
js 0x140063b58
lea rax, [0x14014a4f0]
movzx edx, word [rax + rdi*2]
cmp dx, 0xffff
je 0x1400639ff
mov rax, qword [rsi + 0x38]
movzx ecx, byte [rax + r8]
cmp cx, dx
jne 0x140063b51
dec rdi
dec r9d
dec r8
sub ebx, 1
jns 0x1400639d0
movsxd rax, r11d
inc r13
movsxd rcx, r9d
add rcx, rax
add r13, rcx
jmp 0x140063b77
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 0x140063a40
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.1400642e0
mov rdx, qword [rsi + 0x10]
lea r8, [rbp - 0x30]
mov r9, rbx
lea rcx, [rsi + 8]
call fcn.1400642e0
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.1400642e0
mov rdx, qword [rsi + 0x10]
lea r9, [rbp - 0x3c]
lea r8, [rbp - 0x40]
lea rcx, [rsi + 8]
call fcn.1400642e0
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 0x140063b33
cmp qword [rsp + 0x40], 0x40
jne 0x140063b33
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 0x140063b33
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.1400642e0
mov al, 1
jmp 0x140063d95
mov ebx, 0x1f
mov edi, ebx
dec r11d
sub r14, 1
jns 0x1400639b8
sub r12d, r15d
mov r15d, dword [rsi]
mov ecx, r12d
jne 0x140063960
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 0x140063c46
cmp qword [rsp + 0x38], r14
jne 0x140063c46
xor r11d, r11d
test edi, edi
je 0x140063c32
cmp ebx, 0x20
jae 0x140063c24
lea rdx, str._r_nXMDend
mov eax, r11d
lea r9, [rdx + rbx*2]
nop dword [rax]
cmp eax, edi
jae 0x140063c2a
movzx r10d, word [r9]
cmp r10w, 0xffff
je 0x140063c14
mov rcx, qword [rsi + 0x38]
mov edx, eax
movzx r8d, byte [rdx + rcx]
cmp r8w, r10w
jne 0x140063cfe
inc ebx
add r9, 2
inc eax
cmp ebx, 0x20
jb 0x140063bf0
cmp ebx, 0x20
je 0x140063d05
inc r11d
cmp r11d, edi
jb 0x140063bd6
sub r12d, edi
xor eax, eax
add r15, r14
mov ecx, r12d
test r12d, r12d
jne 0x140063b90
xor ebx, ebx
mov r12, qword [rsp + 0x650]
test r13, r13
je 0x140063d8b
mov rdx, qword [rsi + 0x10]
lea r9, [0x14014a530]
lea r8, [0x14014a4f0]
lea rcx, [rsi + 8]
call fcn.1400642e0
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x31]
lea r8, [rsp + 0x30]
mov byte [rsp + 0x30], 0
lea rcx, [rsi + 8]
call fcn.1400642e0
mov rdx, qword [rsi + 0x10]
lea r9, [0x14014a4f0]
lea r8, str._r_nXMDend
lea rcx, [rsi + 8]
call fcn.1400642e0
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x31]
lea r8, [rsp + 0x30]
mov byte [rsp + 0x30], 0
lea rcx, [rsi + 8]
call fcn.1400642e0
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.1400642e0
test rbx, rbx
je 0x140063d10
sub rbx, r13
add rbx, 0x20
mov qword [rsp + 0x38], rbx
jmp 0x140063d19
xor ebx, ebx
jmp 0x140063c2a
mov ebx, r11d
add rbx, r15
jmp 0x140063c48
mov qword [rsp + 0x38], 0
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsi + 8]
call fcn.1400642e0
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 0x140063d68
cmp qword [rsp + 0x40], 4
je 0x140063d70
mov dword [rsp + 0x34], 0
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x34]
lea rcx, [rsi + 8]
call fcn.1400642e0
mov al, 1
jmp 0x140063d8d
xor al, al
mov r13, qword [rsp + 0x600]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400f8730
add rsp, 0x608
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret