Function at 0x140004800
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1290]
mov eax, 0x1390
call fcn.1400750c0
sub rsp, rax
mov rax, qword [0x140238b80]
xor rax, rsp
mov qword [rbp + 0x1280], rax
mov r12, rcx
xor ebx, ebx
lea r8, [rsp + 0x40]
mov edx, 0x1000
lea rcx, [rbp + 0x70]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x140004886
lea rdx, str.Error:_Unable_to_enumerate_processes._Code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140002380
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
jmp 0x140004be5
mov r15d, ebx
test dword [rsp + 0x40], 0xfffffffc
jbe 0x140004bb6
nop word [rax + rax]
mov eax, r15d
mov r8d, dword [rbp + rax*4 + 0x70]
test r8d, r8d
je 0x140004ba3
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
je 0x140004ba3
mov r9d, 0x104
lea r8, [rbp + 0x1070]
xor edx, edx
mov rcx, rax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140004b61
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
lea rax, [rbp + 0x1070]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140004910
lea rdx, [rbp + 0x1070]
lea rcx, [rsp + 0x48]
call fcn.140002860
nop
lea rbx, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x60]
cmp r14, 7
cmova rbx, rsi
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x140004a31
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14007a6ec]
mov r8d, 0x100
movzx eax, word [rcx]
cmp ax, r8w
jae 0x1400049cb
movzx eax, al
mov byte [rsp + rax + 0x70], 1
add rcx, 2
lea rax, [0x14007a6f0]
cmp rcx, rax
jne 0x140004971
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
nop dword [rax + rax]
movzx eax, word [rdx]
cmp ax, r8w
jae 0x1400049c0
cmp byte [rsp + rax + 0x70], 0
jne 0x140004a29
cmp rdx, rbx
je 0x140004a31
sub rdx, 2
jmp 0x1400049b0
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
mov r9d, 0x5c
nop word [rax + rax]
mov eax, 2
movzx r8d, word [rdx]
lea rcx, [0x14007a6ec]
cmp r9w, r8w
je 0x140004a29
cmp rax, 1
je 0x140004a1e
dec rax
add rcx, 2
cmp word [rcx], r8w
jne 0x140004a06
test rcx, rcx
jne 0x140004a29
cmp rdx, rbx
je 0x140004a31
sub rdx, 2
jmp 0x1400049f0
sub rdx, rbx
sar rdx, 1
jmp 0x140004a38
mov rdx, 0xffffffffffffffff
cmp rdx, 0xffffffffffffffff
je 0x140004af3
inc rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
cmp rdi, rdx
jb 0x140004c8a
sub rdi, rdx
mov r8, 0xffffffffffffffff
cmp rdi, r8
cmovb r8, rdi
lea rax, [rsp + 0x48]
cmp r14, 7
cmova rax, rsi
lea rdx, [rax + rdx*2]
lea rcx, [rsp + 0x20]
call fcn.140002860
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140004ad0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004acb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c27
call fcn.14007509c
movups xmm1, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm0
psrldq xmm0, 8
movq r14, xmm0
movq rsi, xmm1
lea rdx, [rsp + 0x48]
cmp r14, 7
cmova rdx, rsi
mov rcx, r12
cmp qword [r12 + 0x18], 7
jbe 0x140004b0f
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140004c2e
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140004b98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c77
call fcn.14007509c
jmp 0x140004b98
lea rdx, str.Error:_GetModuleFileNameEx_failed._Code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140002380
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140003020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc r15d
mov eax, dword [rsp + 0x40]
shr eax, 2
cmp r15d, eax
jb 0x1400048a0
lea rdx, str.Process_not_found:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140002380
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 7
jbe 0x140004bda
mov r12, qword [r12]
mov rdx, r12
mov rcx, rax
call fcn.140002be0
lea rdx, [0x140003020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x1280]
xor rcx, rsp
call fcn.140075040
lea r11, [rsp + 0x1390]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
mov ebx, dword [rbp + rax*4 + 0x70]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140004c83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
mov eax, ebx
jmp 0x140004bf7
call fcn.1400052a0
int3