Function at 0x140011af0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rbp + 0x410], rax
movups xmm0, xmmword [0x140044c78]
xor esi, esi
xor eax, eax
movups xmm1, xmmword [0x140044c88]
lea rdi, [rbp - 0x60]
mov qword [rsp + 0x60], rsi
mov ecx, 0x238
xor edx, edx
rep stosb byte [rdi], al
lea ecx, [rsi + 2]
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm1
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140011b66
lea rcx, [0x140046370]
call fcn.140012d90
jmp 0x140011b93
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140011baf
lea rcx, str.Process32First
call fcn.140012d90
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140016110
add rsp, 0x530
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.notepad.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x140011bfd
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140011b8a
lea rdx, str.notepad.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x140011bfd
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140011bd5
jmp 0x140011b8a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rbp - 0x58]
test edi, edi
je 0x140011b93
mov edx, edi
mov qword [rsp + 0x550], rbx
lea rcx, str._t___Getting_proc_id:__u_n
call fcn.140009570
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140011c56
lea rcx, [0x140044d38]
call fcn.140012d90
mov rbx, qword [rsp + 0x550]
mov eax, esi
jmp 0x140011b95
lea rcx, [0x1400407d8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x140011c7c
lea rcx, str.GetModuleHandle
call fcn.140012d90
jmp 0x140011f22
lea rcx, [0x1400407b8]
mov qword [rsp + 0x528], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
test rax, rax
jne 0x140011caa
lea rcx, str.GetModuleHandle
call fcn.140012d90
jmp 0x140011f1a
mov qword [rsp + 0x558], r12
lea rdx, str.RtlNtStatusToDosError
mov rcx, rdi
mov qword [rsp + 0x520], r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str._t___Looking_for_NtCreateThreadEx_in_ntdll_n
mov r15, rax
call fcn.140009570
lea rdx, [0x140045018]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
jne 0x140011d02
lea rcx, [0x140044db8]
call fcn.140012d90
jmp 0x140011f0a
mov rdx, r12
mov qword [rsp + 0x560], r13
lea rcx, str._t___Found_at_0x_p_n
call fcn.140009570
lea rcx, str._t___Looking_for_LoadLibrary_in_kernel32_n
call fcn.140009570
lea rdx, [0x140044da8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x140011d4e
lea rcx, [0x140044db8]
call fcn.140012d90
jmp 0x140011f02
mov rdx, r13
lea rcx, str._t___Found_at_0x_p_n
call fcn.140009570
xor r9d, r9d
lea r8, [rbp + 0x200]
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rdx, [rbp + 0x200]
lea rcx, str._t___Full_DLL_Path:__s_n
call fcn.140009570
lea rax, [rbp + 0x200]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], si
jne 0x140011da0
lea rcx, str._t___Allocating_space_for_the_path_of_the_DLL_n
add rdi, rdi
call fcn.140009570
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8, rdi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x140011ded
lea rcx, [0x140044e90]
call fcn.140012d90
jmp 0x140011f02
mov rdx, r14
lea rcx, str._t___Writing_into_the_current_process_space_at_0x_p_n
call fcn.140009500
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, [rbp + 0x200]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011e2c
lea rcx, [0x140044ee8]
call fcn.140012d90
jmp 0x140011eed
xor eax, eax
lea rdi, [rsp + 0x68]
mov ecx, 0x28
mov r9, rbx
rep stosb byte [rdi], al
lea rax, [rbp - 0x70]
mov qword [rsp + 0x68], 0x28
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x60]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x70], 0x10003
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov qword [rsp + 0x48], rsi
mov edx, 0x1fffff
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x78], SafeArrayLock
call r12
test eax, eax
jns 0x140011ec1
test r15, r15
je 0x140011ea8
mov ecx, eax
call r15
mov ecx, eax
jmp 0x140011ead
mov ecx, 0x54f
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.NtCreateThreadEx
call fcn.140012d90
jmp 0x140011eed
lea rcx, str.Remote_thread_has_been_created_successfully_..._n
call fcn.140009570
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r13, qword [rsp + 0x560]
mov r12, qword [rsp + 0x558]
mov r15, qword [rsp + 0x520]
mov r14, qword [rsp + 0x528]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x550]
mov eax, esi
jmp 0x140011b95