Function at 0x140005282
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 0x140005767
mov r12d, dword [rsp + 0x20]
cmp r12d, ebp
jbe 0x14000535e
mov r15, r12
mov rax, r12
sub r15, r14
jbe 0x14000534b
mov r9d, 8
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.14000482c
mov rbx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe0]
lea rcx, [rbx + rax*8]
mov edx, 1
cmp rdx, r15
jae 0x140005344
and qword [rcx], 0
inc rdx
add rcx, 8
inc rax
jmp 0x14000532f
and qword [rcx], 0
inc rax
mov qword [rsp + 0xe0], rax
mov r14, rax
mov ebp, r12d
jmp 0x1400052d0
mov rax, qword [rsp + 0xd0]
mov rcx, rax
neg rcx
jo 0x140005781
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 0x1400056b4
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 0x14000546e
cmp eax, 0x105
jae 0x140005781
mov r8d, eax
mov rcx, r13
mov rdx, rsi
call fcn.140006f71
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
lea r13, [rsp + 0xb8]
mov rcx, r13
mov rdx, rsi
call fcn.14000a006
lea rcx, [rsp + 0x68]
mov rdx, r13
call fcn.140003084
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.140002e8f
jmp 0x140005488
call fcn.14000676d
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 0x140005537
cmp eax, 0x105
jae 0x140005781
mov r8d, eax
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.140006f71
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
lea rbp, [rsp + 0xb8]
mov rcx, rbp
mov rdx, rsi
call fcn.14000a006
lea rcx, [rsp + 0x68]
mov rdx, rbp
call fcn.140003084
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.140002e8f
cmp r15, rdi
sete al
cmp r13, rdi
sete cl
or cl, al
je 0x14000556a
mov rsi, qword [rsp + 0x50]
jmp 0x14000554a
call fcn.14000676d
mov eax, eax
and rbp, r12
or rbp, rax
mov rsi, rbp
mov r13, rdi
mov rcx, r13
mov rdx, rsi
call fcn.140001268
mov rcx, r15
mov rdx, qword [rsp + 0x40]
call fcn.140001268
mov rbp, rsi
jmp 0x14000569e
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.140006806
lea rcx, [rsp + 0xd0]
mov rdi, qword [rsp + 0x80]
mov rdx, rdi
mov r12, qword [rsp + 0x88]
mov r8, r12
call fcn.140006806
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.140004dea
test al, al
jne 0x1400056cc
mov rcx, qword [rsp + 0xd0]
mov rdx, r15
call fcn.140002e8f
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140002e8f
mov rcx, qword [rsp + 0x58]
mov rdx, r13
call fcn.140002e8f
lea rcx, [rsp + 0x20]
mov r13, qword [rsp + 0x50]
mov rdx, r13
mov r8, rbp
call fcn.140006806
lea rcx, [rsp + 0xd0]
mov rdx, rdi
mov r8, r12
call fcn.140006806
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.140004dea
test al, al
jne 0x14000570f
mov rcx, qword [rsp + 0xd0]
mov rdx, r15
call fcn.140002e8f
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140002e8f
mov rcx, qword [rsp + 0x48]
mov rdx, r13
call fcn.140002e8f
movabs rdi, 0x8000000000000000
movabs r12, 0xffffffff00000000
mov rbp, r13
add r14, 0xfffffffffffffff8
lea rsi, [rsp + 0xd0]
lea r13, [rsp + 0x20]
jmp 0x1400053bb
lea rcx, [rsp + 0x98]
mov qword [rcx + 8], rbx
call fcn.140004f5c
xor eax, eax
jmp 0x140005753
mov qword [rsp + 0xa0], rbx
mov rcx, qword [rsp + 0xd0]
mov rdx, r15
call fcn.140002e8f
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140002e8f
mov rcx, qword [rsp + 0x58]
mov rdx, r13
call fcn.140002e8f
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
call fcn.140001268
jmp 0x140005741
mov qword [rsp + 0xa0], rbx
mov rcx, qword [rsp + 0xd0]
mov rdx, r15
call fcn.140002e8f
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140002e8f
mov rcx, qword [rsp + 0x48]
mov rdx, r13
call fcn.140002e8f
lea rcx, [rsp + 0x98]
call fcn.140004f5c
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.14000676d
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
call fcn.140004a13
ud2