Function at 0x140006231
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2d8
mov qword [rsp + 0x88], rdx
lea rsi, [rsp + 0xd0]
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
lea rdi, [rsp + 0x20]
and dword [rdi], 0
mov qword [rsp + 0x80], rcx
xor r14d, r14d
mov ebx, 8
xor ebp, ebp
mov rcx, 0xffffffffffffffff
mov rdx, rbx
mov r8d, r14d
mov r9, rdi
call sub.psapi.dll_EnumProcessModules
test eax, eax
je 0x140006716
mov r12d, dword [rsp + 0x20]
cmp r12d, ebp
jbe 0x14000630d
mov r15, r12
mov rax, r12
sub r15, r14
jbe 0x1400062fa
mov r9d, 8
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.14000585f
mov rbx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe0]
lea rcx, [rbx + rax*8]
mov edx, 1
cmp rdx, r15
jae 0x1400062f3
and qword [rcx], 0
inc rdx
add rcx, 8
inc rax
jmp 0x1400062de
and qword [rcx], 0
inc rax
mov qword [rsp + 0xe0], rax
mov r14, rax
mov ebp, r12d
jmp 0x14000627f
mov rax, qword [rsp + 0xd0]
mov rcx, rax
neg rcx
jo 0x140006730
movabs rdi, 0x8000000000000000
movabs r12, 0xffffffff00000000
lea rcx, [rbx + r14*8]
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rcx
shl r14, 3
lea rsi, [rsp + 0xd0]
lea r13, [rsp + 0x20]
test r14, r14
je 0x140006663
mov r15, qword [rbx]
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x60], r15
mov rdx, r15
mov r8, rsi
mov r9d, 0x104
call sub.psapi.dll_GetModuleBaseNameW
test eax, eax
je 0x14000641d
cmp eax, 0x105
jae 0x140006730
mov r8d, eax
mov rcx, r13
mov rdx, rsi
call fcn.140007a75
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
lea r13, [rsp + 0xb8]
mov rcx, r13
mov rdx, rsi
call fcn.140008be1
lea rcx, [rsp + 0x68]
mov rdx, r13
call fcn.1400040bc
mov r15, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
lea rsi, [rsp + 0xd0]
call fcn.140003fc1
jmp 0x140006437
call fcn.140007715
mov eax, eax
mov rcx, qword [rsp + 0x40]
and rcx, r12
or rcx, rax
mov qword [rsp + 0x40], rcx
mov r15, rdi
add rbx, 8
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x60]
mov r8, rsi
mov r9d, 0x104
call sub.psapi.dll_GetModuleFileNameExW
test eax, eax
je 0x1400064e6
cmp eax, 0x105
jae 0x140006730
mov r8d, eax
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.140007a75
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
lea rbp, [rsp + 0xb8]
mov rcx, rbp
mov rdx, rsi
call fcn.140008be1
lea rcx, [rsp + 0x68]
mov rdx, rbp
call fcn.1400040bc
mov r13, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rbp, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140003fc1
cmp r15, rdi
sete al
cmp r13, rdi
sete cl
or cl, al
je 0x140006519
mov rsi, qword [rsp + 0x50]
jmp 0x1400064f9
call fcn.140007715
mov eax, eax
and rbp, r12
or rbp, rax
mov rsi, rbp
mov r13, rdi
mov rcx, r13
mov rdx, rsi
call fcn.14000780b
mov rcx, r15
mov rdx, qword [rsp + 0x40]
call fcn.14000780b
mov rbp, rsi
jmp 0x14000664d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r15
lea rcx, [rsp + 0x20]
mov r13, qword [rsp + 0x40]
mov rdx, r13
mov r8, qword [rsp + 0x90]
call fcn.1400077ae
lea rcx, [rsp + 0xd0]
mov rdi, qword [rsp + 0x80]
mov rdx, rdi
mov r12, qword [rsp + 0x88]
mov r8, r12
call fcn.1400077ae
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov r15, qword [rsp + 0xd8]
mov r9, qword [rsp + 0xe0]
mov rcx, rsi
mov r8, r15
call fcn.140001297
test al, al
jne 0x14000667b
mov rcx, qword [rsp + 0xd0]
mov rdx, r15
call fcn.140003fc1
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140003fc1
mov rcx, qword [rsp + 0x58]
mov rdx, r13
call fcn.140003fc1
lea rcx, [rsp + 0x20]
mov r13, qword [rsp + 0x50]
mov rdx, r13
mov r8, rbp
call fcn.1400077ae
lea rcx, [rsp + 0xd0]
mov rdx, rdi
mov r8, r12
call fcn.1400077ae
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov r15, qword [rsp + 0xd8]
mov r9, qword [rsp + 0xe0]
mov rcx, rsi
mov r8, r15
call fcn.140001297
test al, al
jne 0x1400066be
mov rcx, qword [rsp + 0xd0]
mov rdx, r15
call fcn.140003fc1
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140003fc1
mov rcx, qword [rsp + 0x48]
mov rdx, r13
call fcn.140003fc1
movabs rdi, 0x8000000000000000
movabs r12, 0xffffffff00000000
mov rbp, r13
add r14, 0xfffffffffffffff8
lea rsi, [rsp + 0xd0]
lea r13, [rsp + 0x20]
jmp 0x14000636a
lea rcx, [rsp + 0x98]
mov qword [rcx + 8], rbx
call fcn.140005f28
xor eax, eax
jmp 0x140006702
mov qword [rsp + 0xa0], rbx
mov rcx, qword [rsp + 0xd0]
mov rdx, r15
call fcn.140003fc1
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140003fc1
mov rcx, qword [rsp + 0x58]
mov rdx, r13
call fcn.140003fc1
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
call fcn.14000780b
jmp 0x1400066f0
mov qword [rsp + 0xa0], rbx
mov rcx, qword [rsp + 0xd0]
mov rdx, r15
call fcn.140003fc1
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140003fc1
mov rcx, qword [rsp + 0x48]
mov rdx, r13
call fcn.140003fc1
lea rcx, [rsp + 0x98]
call fcn.140005f28
mov rax, qword [rsp + 0x60]
add rsp, 0x2d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140007715
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
call fcn.140005a46
ud2