Function at 0x140003610
Capabilities:
Enumerate process modules

Disassembly:
push rbx
push r13
mov eax, 0x1288
call fcn.140006430
sub rsp, rax
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x1260], rax
mov r13, rcx
lea r8, [rsp + 0x24]
lea rcx, [rsp + 0x50]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x14000368c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_enumerate_processes._Error:
mov ebx, eax
call fcn.140001a70
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001c40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x1400038b3
mov ebx, dword [rsp + 0x24]
mov qword [rsp + 0x12a0], rbp
mov qword [rsp + 0x12a8], rsi
mov qword [rsp + 0x12b0], rdi
mov qword [rsp + 0x1280], r12
mov qword [rsp + 0x1278], r14
xor r14d, r14d
shr ebx, 2
mov qword [rsp + 0x1270], r15
mov dword [rsp + 0x20], ebx
test ebx, ebx
je 0x14000385e
mov r8d, dword [rsp + r14*4 + 0x50]
test r8d, r8d
je 0x140003852
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x140003852
mov r9d, 0x104
lea r8, [rsp + 0x1050]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x140003849
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1050]
mov qword [rsp + 0x38], 0
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x40], 7
inc r8
cmp word [rax + r8*2], 0
jne 0x140003744
lea rdx, [rsp + 0x1050]
lea rcx, [rsp + 0x28]
call fcn.140004970
cmp qword [r13 + 0x18], 8
mov r10, r13
jb 0x14000376f
mov r10, qword [r13]
mov rsi, qword [rsp + 0x40]
lea rbx, [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
cmp rsi, 8
mov r11, qword [r13 + 0x10]
mov rax, qword [rsp + 0x38]
cmovae rbx, rdi
cmp r11, rax
ja 0x14000380a
test r11, r11
je 0x1400038d7
sub rax, r11
lea rbp, [rbx + 2]
mov rdx, rbx
lea rbp, [rbp + rax*2]
nop dword [rax]
mov rax, rbp
sub rax, rdx
sar rax, 1
je 0x14000380a
movzx ecx, word [r10]
nop
cmp word [rdx], cx
je 0x1400037d1
add rdx, 2
sub rax, 1
jne 0x1400037c0
jmp 0x14000380a
mov r8, r11
mov rax, r10
test r11, r11
je 0x1400037fa
mov r9, rdx
sub r9, r10
movzx ecx, word [rax]
cmp word [r9 + rax], cx
jne 0x1400038ce
add rax, 2
sub r8, 1
jne 0x1400037e2
sub rdx, rbx
sar rdx, 1
cmp rdx, 0xffffffffffffffff
jne 0x1400038d7
cmp rsi, 8
jb 0x140003845
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000383d
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003923
mov rcx, rdi
call fcn.14000562c
mov ebx, dword [rsp + 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14d
cmp r14d, ebx
jb 0x1400036d2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Process_not_found.
call fcn.140001a70
mov rcx, rax
lea rdx, [0x140001c40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
mov r14, qword [rsp + 0x1278]
mov r12, qword [rsp + 0x1280]
mov rdi, qword [rsp + 0x12b0]
mov rsi, qword [rsp + 0x12a8]
mov rbp, qword [rsp + 0x12a0]
mov r15, qword [rsp + 0x1270]
mov rcx, qword [rsp + 0x1260]
xor rcx, rsp
call fcn.1400055d0
add rsp, 0x1288
pop r13
pop rbx
ret
add rdx, 2
jmp 0x1400037b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + r14*4 + 0x50]
cmp rsi, 8
jb 0x14000391c
lea rdx, [rsi*2 + 2]
mov r8, rdi
cmp rdx, 0x1000
jb 0x140003914
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub r8, rdi
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140003923
mov rcx, rdi
call fcn.14000562c
mov eax, ebx
jmp 0x140003883
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3