Function at 0x140012ea0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x750
mov rdi, rsp
mov ecx, 0x1d4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x760]
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x740], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x768]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
test rax, rax
je 0x140012f1d
mov dword [rsp + 0x730], 1
jmp 0x140012f28
mov dword [rsp + 0x730], 0
mov eax, dword [rsp + 0x730]
mov dword [rsp + 0x264], eax
mov rcx, qword [rsp + 0x760]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
test rax, rax
jne 0x140012f52
mov eax, dword [rsp + 0x30]
jmp 0x14001322a
mov qword [rsp + 0x268], 0
cmp dword [rsp + 0x264], 0
je 0x14001302a
lea rcx, [0x140048878]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x270], 0
je 0x140012fbd
lea rdx, [0x140048898]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x268], rax
cmp qword [rsp + 0x268], 0
jne 0x140012fbd
mov eax, dword [rsp + 0x30]
jmp 0x14001322a
mov r8, qword [rsp + 0x768]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rax, [rsp + rax*2 + 0x4e]
lea rdx, [0x1400485a4]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
je 0x140013010
lea r8, [0x1400485b4]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, qword [rsp + 0x760]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x140013042
mov r8, qword [rsp + 0x760]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsp + 0x50]
call fcn.140001c64
lea rdx, [rsp + 0x50]
lea rcx, str.KillProcessByName:_Looking_for_Process:
call fcn.14001385c
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x278], rax
cmp qword [rsp + 0x278], 0xffffffffffffffff
jne 0x14001309e
cmp qword [rsp + 0x278], 0
je 0x140013095
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
jmp 0x14001322a
mov dword [rsp + 0x290], 0x238
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400130e4
cmp qword [rsp + 0x278], 0
je 0x1400130db
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
jmp 0x14001322a
lea rax, [rsp + 0x4f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x714], 0x104
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x264], 0
jne 0x140013133
lea r8, [rsp + 0x2bc]
mov edx, 0x104
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x140013190
mov r8d, dword [rsp + 0x298]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140013190
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x738], rax
lea r9, [rsp + 0x714]
lea r8, [rsp + 0x4f0]
xor edx, edx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x738]
call qword [0x1400197b0]
test eax, eax
jne 0x140013190
jmp 0x1400131dc
lea rcx, [rsp + 0x4f0]
call fcn.140001c64
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400131dc
lea rdx, [rsp + 0x4f0]
lea rcx, str.KillProcessByName:_Found_an_instance_of_process:
call fcn.14001385c
mov ecx, dword [rsp + 0x298]
call fcn.140012de0
test eax, eax
jne 0x1400131dc
xor eax, eax
jmp 0x14001322a
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400130e4
cmp qword [rsp + 0x278], 0
je 0x140013212
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x38], 0
je 0x140013225
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14004ac28]
call fcn.140015370
mov rax, rdi
mov rcx, qword [rsp + 0x740]
xor rcx, rsp
call fcn.140015470
add rsp, 0x750
pop rdi
ret