Function at 0x140013638
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x750
lea rdi, [rsp + 0x30]
mov ecx, 0x1c8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x760]
mov rax, qword [section..data]
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 0x1400136b7
mov dword [rsp + 0x730], 1
jmp 0x1400136c2
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 0x1400136ec
mov eax, dword [rsp + 0x30]
jmp 0x1400139c4
mov qword [rsp + 0x268], 0
cmp dword [rsp + 0x264], 0
je 0x1400137c4
lea rcx, [0x14004b0f8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x270], 0
je 0x140013757
lea rdx, [0x14004b118]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x268], rax
cmp qword [rsp + 0x268], 0
jne 0x140013757
mov eax, dword [rsp + 0x30]
jmp 0x1400139c4
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, [0x14004b134]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
je 0x1400137aa
lea r8, [0x14004b138]
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 0x1400137dc
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.1400022c0
lea rdx, [rsp + 0x50]
lea rcx, str.KillProcessByName:_Looking_for_Process:
call fcn.140013fc0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x278], rax
cmp qword [rsp + 0x278], 0xffffffffffffffff
jne 0x140013838
cmp qword [rsp + 0x278], 0
je 0x14001382f
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
jmp 0x1400139c4
mov dword [rsp + 0x290], 0x238
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14001387e
cmp qword [rsp + 0x278], 0
je 0x140013875
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x30]
jmp 0x1400139c4
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 0x1400138cd
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 0x14001392a
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 0x14001392a
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 [0x1400197c0]
test eax, eax
jne 0x14001392a
jmp 0x140013976
lea rcx, [rsp + 0x4f0]
call fcn.1400022c0
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 0x140013976
lea rdx, [rsp + 0x4f0]
lea rcx, str.KillProcessByName:_Found_an_instance_of_process:
call fcn.140013fc0
mov ecx, dword [rsp + 0x298]
call fcn.140013588
test eax, eax
jne 0x140013976
xor eax, eax
jmp 0x1400139c4
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14001387e
cmp qword [rsp + 0x278], 0
je 0x1400139ac
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x38], 0
je 0x1400139bf
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14004dbe0]
call fcn.140015a64
mov rax, rdi
mov rcx, qword [rsp + 0x740]
xor rcx, rsp
call fcn.140015b70
add rsp, 0x750
pop rdi
ret