Function at 0x1402a8a00
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x350
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r13, rdx
mov r14, rcx
mov dword [rsp + 0x30], r8d
xor r12d, r12d
test r8d, r8d
jne 0x1402a8adb
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402a8aa3
lea rax, str.Machine_info___client_loaded_modules_are_capped
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0x60
lea rax, [rsp + 0x30]
mov qword [rbp + 0x20], rax
lea eax, [r12 + 4]
mov qword [rbp + 0x28], rax
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e6714]
call fcn.140001158
lea r8, [rsp + 0x30]
mov rcx, qword [r14 + 0x20]
call fcn.1402ab4b4
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1402dfdb0
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rsi, rax
mov dword [rsp + 0x38], r12d
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x1402a8b8d
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
lea rdx, str.Machine_info___Failed_in_first_call_of_EnumProcessModules
lea rcx, [rsp + 0x60]
call fcn.14004d5c4
nop
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r12w
lea rdx, str.clientLoadedModules
lea rcx, [rbp - 0x80]
call fcn.14004d5c4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1402a9cc4
lea rcx, [rbp - 0x80]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x60]
call fcn.14004e0f0
jmp 0x1402a8ab1
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x1402a8ab1
shr ebx, 3
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1402a9e90
nop
mov r8d, ebx
shl r8d, 3
lea r9, [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x1402a8c57
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
lea rdx, str.Machine_info___Failed_in_second_call_of_EnumProcessModules
lea rcx, [rsp + 0x60]
call fcn.14004d5c4
nop
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r12w
lea rdx, str.clientLoadedModules
lea rcx, [rbp - 0x80]
call fcn.14004d5c4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1402a9cc4
lea rcx, [rbp - 0x80]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x60]
call fcn.14004e0f0
jmp 0x1402a8e4a
mov r15d, r12d
mov rsi, rdi
cmp rdi, qword [rsp + 0x48]
je 0x1402a8e4a
mov ebx, 7
inc r15d
cmp r15d, dword [rsp + 0x30]
ja 0x1402a8de9
mov r8d, 0x104
lea rdx, [rbp + 0x30]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1402a8d5d
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], rbx
mov word [rbp - 0x80], r12w
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.14004d5c4
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x60], r12w
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14004d5c4
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.1402a9428
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.1400b5438
nop
lea rax, vtable.sense::cyberData::SenseClientModuleEntity.0
mov qword [rbp - 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14004cf4c
nop
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1400a776c
nop
lea rcx, [r13 + 0x90]
lea rdx, [rbp - 0x60]
call fcn.1402aa56c
nop
lea rcx, [rbp - 0x30]
call fcn.1400550a8
lea rcx, [rbp - 0x50]
call fcn.14004e0f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400550a8
nop
lea rcx, [rsp + 0x60]
call fcn.14004e0f0
nop
lea rcx, [rbp - 0x80]
call fcn.14004e0f0
mov ebx, 7
jmp 0x1402a8dd8
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x60], r12w
lea rdx, str.Machine_info___failed_calling_GetModuleFileName
lea rcx, [rsp + 0x60]
call fcn.14004d5c4
nop
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], rbx
mov word [rbp - 0x80], r12w
lea rdx, str.clientLoadedModule
lea rcx, [rbp - 0x80]
call fcn.14004d5c4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1402a9cc4
lea rcx, [rbp - 0x80]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x60]
call fcn.14004e0f0
add rsi, 8
cmp rsi, qword [rsp + 0x48]
jne 0x1402a8c6d
jmp 0x1402a8e4a
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402a8e3b
lea rax, str.Machine_info___client_loaded_modules_are_capped
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0x60
lea rax, [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov eax, 4
mov qword [rbp + 0x28], rax
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e6714]
call fcn.140001158
lea r8, [rsp + 0x30]
mov rcx, qword [r14 + 0x20]
call fcn.1402ab4b4
nop
test rdi, rdi
je 0x1402a8ab1
mov rax, qword [rsp + 0x50]
sub rax, rdi
sar rax, 3
mov rcx, rdi
movabs rdx, 0x1fffffffffffffff
cmp rax, rdx
ja 0x1402a8ea5
shl rax, 3
cmp rax, 0x1000
jb 0x1402a8e98
test cl, 0x1f
jne 0x1402a8ea5
mov rdi, qword [rdi - 8]
cmp rdi, rcx
jae 0x1402a8ea5
sub rcx, rdi
sub rcx, 8
cmp rcx, 0x1f
ja 0x1402a8ea5
mov rcx, rdi
call fcn.1402e0278
jmp 0x1402a8ab1
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3