Function at 0x140001d08
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3598]
mov eax, 0x3670
call fcn.140005e10
sub rsp, rax
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rbp + 0x3560], rax
mov r8, qword [rcx + 0x10]
mov rbx, rcx
lea rcx, [rbp + 0x2f30]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbp + 0x2f30]
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharUpperW]
cmp dword [rbx + 8], 0
jne 0x140001d8a
lea r8, [rbp + 0x2f30]
xor edx, edx
mov rcx, rbx
call fcn.14000178c
test al, al
jne 0x140001f8a
xor r8d, r8d
lea rdx, [rbp + 0x2f30]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfullpath]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharUpperW]
cmp dword [rbx + 8], 0
jne 0x140001dcd
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14000178c
test al, al
je 0x140001dcd
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140001f8a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rbx + 8]
test ecx, ecx
je 0x140001e0f
lea rdx, [rbp + 0x3350]
call fcn.1400013b0
lea r8, [rbp + 0x2f30]
mov rcx, rbx
test eax, eax
je 0x140001e00
lea rdx, [rbp + 0x3350]
jmp 0x140001e02
xor edx, edx
call fcn.14000178c
test al, al
jne 0x140001f8a
mov eax, dword [rbx + 8]
test eax, eax
je 0x140001e21
mov dword [rsp + 0x30], eax
mov edi, 1
jmp 0x140001e64
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x140001e55
mov r9, qword [rbx + 0x10]
lea rdx, str.D:_a_work1_s_src_vctoolsCompilerUtc_src_toolspogopogosweep_sweepdll.cpp
mov r8d, 0x2bb
mov ecx, 0x408
call fcn.1400059ec
mov edi, dword [rsp + 0x20]
shr edi, 2
test edi, edi
je 0x140001f6f
lea r15, [rsp + 0x30]
xor r12d, r12d
mov r8d, dword [r15]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140001f5f
lea r9, [rsp + 0x20]
mov r8d, 0x2000
lea rdx, [rbp + 0xf30]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x140001f56
mov r14d, dword [rsp + 0x20]
xor r13d, r13d
shr r14d, 3
test r14d, r14d
je 0x140001f56
lea rax, [rbp + 0xf30]
mov qword [rsp + 0x28], rax
mov rdx, qword [rax]
lea r8, [rbp + 0x3140]
mov r9d, 0x104
mov rcx, rsi
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
lea rcx, [rbp + 0x3140]
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharUpperW]
lea rdx, [rbp + 0x2f30]
lea rcx, [rbp + 0x3140]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140001f3c
mov ecx, dword [r15]
lea rdx, [rbp + 0x3350]
call fcn.1400013b0
lea r8, [rbp + 0x3140]
mov rcx, rbx
test eax, eax
je 0x140001f31
lea rdx, [rbp + 0x3350]
jmp 0x140001f33
xor edx, edx
call fcn.14000178c
test al, al
jne 0x140001fba
mov rax, qword [rsp + 0x28]
inc r13d
add rax, 8
mov qword [rsp + 0x28], rax
cmp r13d, r14d
jb 0x140001ecc
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
inc r12d
add r15, 4
cmp r12d, edi
jb 0x140001e6c
mov r9, qword [rbx + 0x10]
lea rdx, str.D:_a_work1_s_src_vctoolsCompilerUtc_src_toolspogopogosweep_sweepdll.cpp
mov r8d, 0x2fd
mov ecx, 0x408
call fcn.1400059ec
mov rcx, qword [rbp + 0x3560]
xor rcx, rsp
call fcn.140002e50
lea r11, [rsp + 0x3670]
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
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x140001f8a