Function at 0x1402875d8
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r13, rdx
mov r14, rcx
mov dword [rsp + 0x30], r8d
test r8d, r8d
jne 0x1402876a7
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x140287678
lea rax, str.Machine_info___client_loaded_modules_are_capped
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 0x60
and dword [rbp + 0x2c], 0
lea rax, [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov eax, 4
mov dword [rbp + 0x38], eax
and dword [rbp + 0x3c], 0
lea rdx, [rbp]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3a5a]
call fcn.140001158
lea r8, [rsp + 0x30]
mov rcx, qword [r14 + 0x20]
call fcn.140289f20
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1402ae860
add rsp, 0x360
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rsi, rax
and dword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x14028772f
lea rdx, str.Machine_info___Failed_in_first_call_of_EnumProcessModules
lea rcx, [rsp + 0x48]
call fcn.14004a9e4
nop
lea rdx, str.clientLoadedModules
lea rcx, [rbp - 0x78]
call fcn.14004a9e4
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 + 0x48]
lea rdx, [rbp - 0x78]
mov rcx, r14
call fcn.140288764
lea rcx, [rbp - 0x78]
call fcn.14004b500
nop
lea rcx, [rsp + 0x48]
call fcn.14004b500
jmp 0x140287686
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x140287686
shr ebx, 3
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.140288930
nop
mov r8d, ebx
shl r8d, 3
lea r9, [rsp + 0x38]
mov rdi, qword [rbp - 0x78]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x1402877d0
lea rdx, str.Machine_info___Failed_in_second_call_of_EnumProcessModules
lea rcx, [rsp + 0x68]
call fcn.14004a9e4
nop
lea rdx, str.clientLoadedModules
lea rcx, [rsp + 0x48]
call fcn.14004a9e4
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 + 0x68]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140288764
lea rcx, [rsp + 0x48]
call fcn.14004b500
nop
lea rcx, [rsp + 0x68]
call fcn.14004b500
jmp 0x14028797a
xor r15d, r15d
mov rsi, rdi
cmp rdi, qword [rbp - 0x70]
je 0x14028797a
inc r15d
cmp r15d, dword [rsp + 0x30]
ja 0x140287913
mov r8d, 0x104
lea rdx, [rbp + 0x40]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x1402878a7
lea rdx, [rbp + 0x40]
call fcn.14004a9e4
nop
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14004a9e4
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp]
mov rcx, r14
call fcn.140287f04
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.1400ab130
nop
lea rax, vtable.sense::cyberData::SenseClientModuleEntity.0
mov qword [rbp - 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x40]
call fcn.14004a36c
nop
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14009fcfc
nop
lea rcx, [r13 + 0x90]
lea rdx, [rbp - 0x50]
call fcn.140288fe8
nop
lea rcx, [rbp - 0x20]
call fcn.140052244
lea rcx, [rbp - 0x40]
call fcn.14004b500
nop
lea rcx, [rbp]
call fcn.140052244
nop
lea rcx, [rsp + 0x68]
call fcn.14004b500
nop
jmp 0x1402878f9
lea rdx, str.Machine_info___failed_calling_GetModuleFileName
call fcn.14004a9e4
nop
lea rdx, str.clientLoadedModule
lea rcx, [rsp + 0x68]
call fcn.14004a9e4
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 + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140288764
lea rcx, [rsp + 0x68]
call fcn.14004b500
nop
lea rcx, [rsp + 0x48]
call fcn.14004b500
add rsi, 8
cmp rsi, qword [rbp - 0x70]
jne 0x1402877e0
jmp 0x14028797a
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x14028796b
lea rax, str.Machine_info___client_loaded_modules_are_capped
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 0x60
and dword [rbp + 0x2c], 0
lea rax, [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov eax, 4
mov dword [rbp + 0x38], eax
and dword [rbp + 0x3c], 0
lea rdx, [rbp]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3a5a]
call fcn.140001158
lea r8, [rsp + 0x30]
mov rcx, qword [r14 + 0x20]
call fcn.140289f20
nop
test rdi, rdi
je 0x140287686
mov rax, qword [rbp - 0x68]
sub rax, rdi
sar rax, 3
mov rcx, rdi
movabs rdx, 0x1fffffffffffffff
cmp rax, rdx
ja 0x1402879d4
shl rax, 3
cmp rax, 0x1000
jb 0x1402879c7
test cl, 0x1f
jne 0x1402879d4
mov rdi, qword [rdi - 8]
cmp rdi, rcx
jae 0x1402879d4
sub rcx, rdi
sub rcx, 8
cmp rcx, 0x1f
ja 0x1402879d4
mov rcx, rdi
call fcn.1402aed28
jmp 0x140287686
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3