Function at 0x140012120
Capabilities:
Enumerate process modules
Enumerate processes
Enumerate threads
Inject apc

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x5e8]
sub rsp, 0x6e8
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
movups xmm0, xmmword [0x1400206c8]
movups xmm1, xmmword [0x1400206d8]
movups xmmword [rbp + 0x3a0], xmm0
movups xmmword [rbp + 0x3b0], xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, eax
lea rdi, [rsp + 0x60]
mov ecx, 0x238
xor edx, edx
rep stosb byte [rdi], al
mov ecx, 2
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001219e
lea rcx, [0x140021db0]
call fcn.140012fe0
jmp 0x140012230
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400121c6
lea rcx, str.Process32First
call fcn.140012fe0
jmp 0x140012227
lea rdx, str.calc.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
jne 0x1400121ea
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x68]
jmp 0x140012232
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140012227
nop dword [rax]
lea rdx, str.calc.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x1400121de
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140012200
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
test esi, esi
jne 0x140012327
xor eax, eax
lea rdi, [rsp + 0x60]
mov ecx, 0x238
xor edx, edx
rep stosb byte [rdi], al
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001227d
lea rcx, [0x140021db0]
call fcn.140012fe0
lea rcx, str.GetProcessIdFromName
call fcn.140012fe0
xor eax, eax
jmp 0x14001263b
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400122bf
lea rcx, str.Process32First
call fcn.140012fe0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.GetProcessIdFromName
call fcn.140012fe0
xor eax, eax
jmp 0x14001263b
lea rdx, str.win32calc.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x140012319
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400122a3
nop word [rax + rax]
lea rdx, str.win32calc.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x140012319
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400122f0
jmp 0x1400122a3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x68]
test esi, esi
je 0x1400122ac
lea rcx, [0x14001c1e8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x14001234f
lea rcx, str.GetModuleHandle
call fcn.140012fe0
xor eax, eax
jmp 0x14001263b
lea rcx, str._t___Looking_for_LoadLibrary_in_kernel32_n
mov qword [rsp + 0x6e0], r15
call fcn.140008d70
lea rdx, [0x1400207f8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
mov r15, rax
test rax, rax
jne 0x140012393
lea rcx, [0x140020808]
call fcn.140012fe0
xor eax, eax
jmp 0x140012633
mov rdx, rax
mov qword [rsp + 0x720], r14
lea rcx, str._t___Found_at_0x_p_n
call fcn.140008d70
mov edx, esi
lea rcx, str._t___Getting_proc_id:__u_n
call fcn.140008d70
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
mov r14, rax
test rax, rax
jne 0x1400123e8
lea rcx, [0x140020788]
call fcn.140012fe0
xor eax, eax
jmp 0x14001262b
xor r9d, r9d
mov qword [rsp + 0x718], r13
lea r8, [rbp + 0x3c0]
mov edx, 0x104
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rdx, [rbp + 0x3c0]
lea rcx, str._t___Full_DLL_Path:__s_n
call fcn.140008d70
lea rax, [rbp + 0x3c0]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], bx
jne 0x140012430
lea rcx, str._t___Allocating_space_for_the_path_of_the_DLL_n
add rdi, rdi
call fcn.140008d70
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8, rdi
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
jne 0x14001247d
lea rcx, [0x1400208e0]
call fcn.140012fe0
jmp 0x140012618
mov rdx, r13
lea rcx, str._t___Writing_into_the_current_process_space_at_0x_p_n
call fcn.140008d00
mov r9, rdi
mov qword [rsp + 0x20], rbx
lea r8, [rbp + 0x3c0]
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400124bc
lea rcx, [0x140020938]
call fcn.140012fe0
jmp 0x140012603
xor edx, edx
mov qword [rsp + 0x710], r12
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400125fb
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400125f2
nop dword [rax]
xor ebx, ebx
cmp dword [rsp + 0x4c], esi
jne 0x1400125bb
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov r14, rax
test rax, rax
je 0x1400125bb
mov r8, r13
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
je 0x1400125b2
mov edx, esi
mov ecx, 8
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400125ad
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14001259f
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x140012599
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140012570
jmp 0x14001259f
mov r15d, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
jne 0x1400125d3
mov r15, qword [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140012500
jmp 0x1400125ed
mov rcx, r14
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str._t___Dll_has_been_injected_successfully_..._n
call fcn.140008d70
mov r14, qword [rsp + 0x38]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x710]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x718]
mov eax, ebx
mov r14, qword [rsp + 0x720]
mov r15, qword [rsp + 0x6e0]
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140016040
add rsp, 0x6e8
pop rdi
pop rsi
pop rbx
pop rbp
ret