Function at 0x140066520
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x24d0
call fcn.140219690
sub rsp, rax
mov rax, qword [0x140325680]
xor rax, rsp
mov qword [rsp + 0x24c0], rax
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 1
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x1400667cd
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400667c3
nop word [rax + rax]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
je 0x1400667ad
lea r9, [rsp + 0x280]
mov r8d, 0x2000
lea rdx, [rsp + 0x2b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400667a4
xor r14d, r14d
mov eax, dword [rsp + 0x280]
test rax, 0xfffffffffffffff8
jbe 0x1400667a4
nop dword [rax + rax]
mov r9d, 0x104
lea r8, [rsp + 0x22b0]
mov rdx, qword [rsp + r14*8 + 0x2b0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x140066783
lea rdx, [rsp + 0x22b0]
lea rcx, [rsp + 0x288]
call fcn.14006c8c0
nop
mov rbx, qword [r12 + 0x10]
mov r11, r12
cmp qword [r12 + 0x18], 7
jbe 0x140066681
mov r11, qword [r12]
lea rsi, [rsp + 0x288]
mov rdi, qword [rsp + 0x288]
mov rbp, qword [rsp + 0x2a0]
cmp rbp, 7
cmova rsi, rdi
mov rax, qword [rsp + 0x298]
cmp rbx, rax
ja 0x140066748
sub rax, rbx
test rbx, rbx
je 0x14006680a
lea r15, [rsi + 2]
lea r15, [r15 + rax*2]
mov rcx, rsi
movzx r10d, word [r11]
nop dword [rax]
mov rax, r15
sub rax, rcx
sar rax, 1
mov edx, 0
je 0x1400666fc
cmp word [rcx], r10w
je 0x1400666f9
cmp rax, 1
je 0x1400666fc
dec rax
add rcx, 2
cmp word [rcx], r10w
jne 0x1400666e6
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x140066748
mov r8, rbx
mov rdx, r11
test rbx, rbx
je 0x140066738
mov r9, rcx
sub r9, r11
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x140066801
add rdx, 2
sub r8, 1
jne 0x140066720
sub rcx, rsi
sar rcx, 1
cmp rcx, 0xffffffffffffffff
jne 0x14006680a
cmp rbp, 7
jbe 0x140066783
lea rdx, [rbp*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14006677b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066874
mov rcx, rdi
call fcn.140218a00
inc r14
mov eax, dword [rsp + 0x280]
shr rax, 3
cmp r14, rax
jb 0x140066630
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400665d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x24c0]
xor rcx, rsp
call fcn.1402189e0
lea r11, [rsp + 0x24d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
add rcx, 2
jmp 0x1400666d0
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140066826
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x140066834
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.140075360
nop
cmp rbp, 7
jbe 0x14006679f
lea rdx, [rbp*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140066867
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066874
mov rcx, rdi
call fcn.140218a00
jmp 0x14006679f
call fcn.14022ccd0
int3