Function at 0x140061341
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x708
mov esi, r8d
mov r14, rcx
lea r15, [rsp + 0x88]
mov qword [r15], rdx
call fcn.14006297d
mov rdi, rax
lea rcx, [r14 + 0xa0]
call fcn.14005e721
mov r13, rax
add r14, 0x40
mov rcx, r14
mov rdx, r15
call fcn.14005c7e4
test rax, rax
je 0x14006145a
mov r15, rax
mov rbx, qword [rax + 0xc0]
test rbx, rbx
je 0x1400614a6
mov r12, qword [rbx + 0x10]
mov rcx, r12
call fcn.14005fb87
cmp rax, qword [r15 + 0xc8]
jne 0x14006145a
lea rdx, [rsp + 0x100]
and dword [rdx], 0
mov rcx, r12
call sub.KERNEL32.dll_GetExitCodeProcess
xor ebp, ebp
test eax, eax
je 0x1400614a8
cmp dword [rsp + 0x100], 0x103
jne 0x1400614a8
mov rcx, qword [rbx + 0x10]
xorps xmm0, xmm0
lea rdx, [rsp + 0x100]
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
mov r8d, 0x50
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x14006143d
mov rax, qword [rsp + 0x110]
mov qword [r15 + 0xb0], rax
mov rax, qword [rsp + 0x148]
mov qword [r15 + 0xb8], rax
mov rcx, r15
mov edx, esi
mov r8, r13
mov r9, rdi
call fcn.14005f8ea
mov byte [r15 + 0x14c], 0
mov bpl, 1
jmp 0x1400614a8
mov r15, qword [rsp + 0x88]
mov rcx, r15
call fcn.14005f6eb
test rax, rax
je 0x1400614a6
mov r12, rdx
mov qword [rsp + 0x90], rdx
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x468]
mov rcx, rdx
xor edx, edx
mov r9d, 0x30
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
je 0x1400614be
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
mov eax, ebp
add rsp, 0x708
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0xb8], r13
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xc0]
and qword [rdx], 0
lea r9, [rsp + 0x100]
and dword [r9], 0
mov dword [rsp + 0x20], 3
mov rcx, r12
mov r8d, 4
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x140061554
mov r13, qword [rsp + 0xc0]
lea rbp, [rsp + 0x100]
mov r8d, 0x20a
mov rcx, rbp
xor edx, edx
call fcn.140064710
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9d, 0x105
call sub.PSAPI.DLL_GetModuleBaseNameW
lea rcx, [rsp + 0xc8]
mov r8d, 0x105
mov rdx, rbp
call fcn.140060542
jmp 0x140061572
and qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 1
and qword [rsp + 0xd8], 0
lea r13, [rsp + 0xe0]
lea rbp, [rsp + 0x90]
mov rcx, r13
mov rdx, rbp
call fcn.14005f88f
lea rbx, [rsp + 0x5b8]
mov rcx, rbx
mov rdx, r13
call fcn.140059c30
mov rcx, rbx
call fcn.1400478f0
lea rbx, [rsp + 0x100]
mov rcx, rbx
mov rdx, rbp
call fcn.14005fd9c
mov al, byte [rbx + 0x48]
mov bpl, 1
mov rdx, rdi
mov edi, esi
cmp al, 2
jne 0x14006161f
mov eax, 8
mov qword [rsp + 0x80], rax
mov eax, 1
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x37], 1
xor eax, eax
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x68], rax
mov eax, 8
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x58], rax
jmp 0x1400616b7
mov byte [rsp + 0x37], al
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x149]
mov dword [rsp + 0x310], eax
mov eax, dword [rsp + 0x14c]
mov dword [rsp + 0x313], eax
lea r13, [rsp + 0x3a8]
mov eax, dword [r13 - 0x98]
mov ecx, dword [r13 - 0x95]
mov dword [rsp + 0x3b], ecx
mov dword [rsp + 0x38], eax
mov rcx, r12
mov qword [rsp + 0xa8], rdx
call fcn.14005fb5d
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], rdx
xor ebx, ebx
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
setne bl
lea rdx, [rsp + 0x90]
mov rcx, r13
mov r8d, edi
call fcn.14005f73a
mov rcx, r12
call fcn.14005a1ee
mov rcx, qword [rsp + 0xd8]
mov qword [r13 + 0x70], rcx
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [r13 + 0x60], xmm0
movups xmm0, xmmword [rsp + 0xe0]
movups xmm1, xmmword [rsp + 0xf0]
lea r12, [rsp + 0x5b8]
movups xmm2, xmmword [r12]
movups xmm3, xmmword [r12 + 0x10]
movaps xmmword [r13 - 0x38], xmm2
movaps xmmword [r13 - 0x28], xmm3
xorps xmm2, xmm2
movaps xmmword [r13 - 0x98], xmm2
movaps xmmword [r13 - 0x88], xmm2
movaps xmmword [r13 - 0x78], xmm0
movaps xmmword [r13 - 0x68], xmm1
mov rcx, qword [rsp + 0x40]
mov qword [r13 - 0x58], rcx
mov rcx, qword [rsp + 0x50]
mov qword [r13 - 0x50], rcx
mov rcx, qword [rsp + 0x48]
mov qword [r13 - 0x48], rcx
mov cl, byte [rsp + 0x37]
mov byte [r13 - 0x40], cl
mov ecx, dword [rsp + 0x3b]
mov dword [r13 - 0x3c], ecx
mov ecx, dword [rsp + 0x38]
mov dword [r13 - 0x3f], ecx
mov qword [r13 - 0x18], rbx
mov qword [r13 - 0x10], rsi
mov qword [r13 - 8], r15
movaps xmmword [r13 + 0x18], xmm2
mov qword [r13 + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [r13 + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [r13 + 0x38], rax
movups xmmword [r13 + 0x40], xmm2
movups xmmword [r13 + 0x50], xmm2
mov rax, qword [rsp + 0x78]
mov qword [r13 + 0x78], rax
mov rax, qword [rsp + 0x80]
mov qword [r13 + 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [r13 + 0x88], rax
mov rax, qword [rsp + 0x68]
mov qword [r13 + 0x90], rax
mov rax, qword [rsp + 0x60]
mov qword [r13 + 0x98], rax
mov rax, qword [rsp + 0x58]
mov qword [r13 + 0xa0], rax
mov dword [r13 + 0xa8], 1
and dword [r13 + 0xb0], 0
mov byte [r13 + 0xb4], 1
lea rbx, [rsp + 0x100]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x30], xmm1
movaps xmmword [rbx], xmm2
movaps xmmword [rbx + 0x10], xmm2
lea rdx, [rsp + 0x310]
mov r8d, 0x150
mov rcx, r12
call fcn.140063aa0
mov rcx, r12
mov edx, edi
mov r8, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xa8]
call fcn.14005f8ea
mov byte [r12 + 0x14c], 0
mov r8d, 0x150
mov rcx, rbx
mov rdx, r12
call fcn.140063aa0
mov r8, qword [rsp + 0x88]
lea rsi, [rsp + 0x468]
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14005c646
mov rcx, rsi
call fcn.1400598cc
jmp 0x1400614a8