Function at 0x140012130
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 0x1400121ae
lea rcx, [0x140021de0]
call fcn.140012ff0
jmp 0x140012240
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400121d6
lea rcx, str.Process32First
call fcn.140012ff0
jmp 0x140012237
lea rdx, str.calc.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
jne 0x1400121fa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x68]
jmp 0x140012242
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140012237
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 0x1400121ee
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140012210
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
test esi, esi
jne 0x140012337
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 0x14001228d
lea rcx, [0x140021de0]
call fcn.140012ff0
lea rcx, str.GetProcessIdFromName
call fcn.140012ff0
xor eax, eax
jmp 0x14001264b
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400122cf
lea rcx, str.Process32First
call fcn.140012ff0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.GetProcessIdFromName
call fcn.140012ff0
xor eax, eax
jmp 0x14001264b
lea rdx, str.win32calc.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x140012329
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400122b3
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 0x140012329
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140012300
jmp 0x1400122b3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x68]
test esi, esi
je 0x1400122bc
lea rcx, [0x14001c1e8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x14001235f
lea rcx, str.GetModuleHandle
call fcn.140012ff0
xor eax, eax
jmp 0x14001264b
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 0x1400123a3
lea rcx, [0x140020808]
call fcn.140012ff0
xor eax, eax
jmp 0x140012643
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 0x1400123f8
lea rcx, [0x140020788]
call fcn.140012ff0
xor eax, eax
jmp 0x14001263b
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 0x140012440
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 0x14001248d
lea rcx, [0x1400208e0]
call fcn.140012ff0
jmp 0x140012628
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 0x1400124cc
lea rcx, [0x140020938]
call fcn.140012ff0
jmp 0x140012613
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 0x14001260b
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140012602
nop dword [rax]
xor ebx, ebx
cmp dword [rsp + 0x4c], esi
jne 0x1400125cb
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 0x1400125cb
mov r8, r13
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
je 0x1400125c2
mov edx, esi
mov ecx, 8
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400125bd
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400125af
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400125a9
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140012580
jmp 0x1400125af
mov r15d, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
jne 0x1400125e3
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 0x140012510
jmp 0x1400125fd
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.140016050
add rsp, 0x6e8
pop rdi
pop rsi
pop rbx
pop rbp
ret