Function at 0x140001970
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x178
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], 0xfffffffffffffffe
mov r14, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [0x14002768c]
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
mov qword [rbp + 0x98], r14
je 0x140001a87
lea rdx, str.LoadLibraryW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rdi, rax
mov rcx, r14
call fcn.1400117d0
mov r8, rdx
lea r15, [rbp + 0x50]
mov rcx, r15
mov rdx, rax
call fcn.140010310
xor eax, eax
cmp rax, qword [rbp + 0x50]
jo 0x140001f35
movups xmm0, xmmword [rbp + 0x50]
movups xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0xb0], xmm1
movaps xmmword [rbp + 0xa0], xmm0
lea rcx, [rbp + 0xa0]
call fcn.1400117d0
mov rcx, rax
call fcn.1400025a0
mov qword [rbp + 0xe8], rax
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x140001a44
mov rcx, qword [rbp + 0xa8]
mov r8d, 1
call fcn.140001530
mov qword [rbp - 0x10], rdi
mov rbx, qword [rbx]
mov dword [rsp + 0x20], 4
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
mov r9d, 0x3000
call qword [sym.imp.kernel32.dll_VirtualAllocEx]
mov r14, rax
mov qword [rbp - 0x18], 0
mov rax, qword [rbp + 0xe8]
test rax, rax
je 0x140001a9f
mov r8, qword [rax + 0x10]
jmp 0x140001aa6
call fcn.140002f10
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
mov qword [rsi], 1
jmp 0x140001f00
lea r8, [0x140027728]
lea r12, [rbp - 0x18]
mov qword [rsp + 0x20], r12
mov r9d, 0x208
mov rcx, rbx
mov rdx, r14
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
test eax, eax
je 0x140001ac9
xor eax, eax
jmp 0x140001ae0
call fcn.140002f10
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0xe0], edx
mov eax, 1
mov qword [rbp + 0xd0], rax
mov rax, qword [0x140039278]
mov rax, qword [rax]
cmp rax, 1
ja 0x140001c9f
movzx edx, byte [0x140039010]
movzx eax, dl
lea ecx, [rax - 1]
cmp ecx, 2
jb 0x140001b2b
test eax, eax
je 0x140001c9f
lea rcx, section..data
call fcn.1400256c0
mov edx, eax
test al, al
je 0x140001c9f
mov rcx, qword [section..data]
call fcn.140003990
test al, al
je 0x140001c9f
mov rcx, qword [section..data]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140001f6d
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rbp + 0xa0], r8
mov qword [rbp + 0xa8], rax
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0x18], r12
lea rax, [fcn.140024320]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x28], rax
lea rax, [0x140001580]
mov qword [rbp + 0x30], rax
lea rax, str.WriteProcessMemory:_written__bytes__returned
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x70], 0
lea rax, [rbp + 0x18]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 2
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r15
lea rax, [0x1400277b8]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x38]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], rdx
lea r15, [rbp - 0x48]
mov rdx, r15
call fcn.140004640
mov rax, qword [0x1400392a0]
movzx eax, byte [rax]
test al, al
jne 0x140001df3
mov rax, qword [0x140039268]
mov rax, qword [rax]
cmp rax, 4
jb 0x140001df3
mov rdi, qword [section..data]
movups xmm0, xmmword [rdi + 0x20]
mov qword [rbp + 0x80], 4
movups xmmword [rbp + 0x88], xmm0
call fcn.140004210
mov r13, rax
mov r12, rdx
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [r12 + 0x18]
test al, al
je 0x140001df3
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp], xmm0
mov qword [rsp + 0x20], r15
mov r9, rbp
mov rcx, rdi
mov rdx, r13
mov r8, r12
call fcn.140003b40
jmp 0x140001df3
mov rax, qword [0x1400392a0]
movzx eax, byte [rax]
test al, al
jne 0x140001df3
mov rax, qword [0x140039268]
mov rax, qword [rax]
cmp rax, 4
jb 0x140001df3
mov rax, qword [section..data]
mov qword [rbp - 8], rax
movups xmm0, xmmword [rax + 0x20]
mov qword [rbp - 0x30], 4
movups xmmword [rbp - 0x28], xmm0
call fcn.140004210
mov r13, rdx
lea rdx, [rbp - 0x30]
mov rcx, rax
mov rdi, rax
call qword [r13 + 0x18]
test al, al
je 0x140001df3
mov rcx, qword [section..data]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140001f87
lea r9, [rcx + 0x30]
mov r10, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rbp + 0xa0], r10
mov qword [rbp + 0xa8], rax
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0x18], r12
lea rax, [fcn.140024320]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x28], rax
lea rax, [0x140001580]
mov qword [rbp + 0x30], rax
lea rax, str.WriteProcessMemory:_written__bytes__returned
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x70], 0
lea rax, [rbp + 0x18]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 2
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], r15
lea rax, [0x1400277b8]
mov qword [rbp + 0x90], rax
lea rax, [rbp + 0x80]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], 1
mov qword [rbp + 0x48], r9
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp], xmm0
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, rbp
mov rcx, qword [rbp - 8]
mov rdx, rdi
mov r8, r13
call fcn.140003b40
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
mov r9, qword [rbp - 0x10]
call qword [sym.imp.kernel32.dll_CreateRemoteThread]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffe
jae 0x140001eac
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [rbp + 0x50], 0
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetExitCodeThread]
test eax, eax
je 0x140001eb3
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x140001eba
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
mov r9d, 0x8000
call qword [sym.imp.kernel32.dll_VirtualFreeEx]
test eax, eax
je 0x140001ec1
mov qword [rsi], 0
cmp qword [rbp + 0xd0], 0
je 0x140001e9e
cmp qword [rbp + 0xd8], 0
je 0x140001e9e
lea rcx, [rbp + 0xd8]
call fcn.140002bf0
lea rcx, [rbp + 0xe8]
call fcn.140002300
jmp 0x140001f00
call fcn.140002f10
jmp 0x140001ec6
call fcn.140002f10
jmp 0x140001ec6
call fcn.140002f10
jmp 0x140001ec6
call fcn.140002f10
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
mov qword [rsi], 1
cmp qword [rbp + 0xd0], 0
je 0x140001ef4
cmp qword [rbp + 0xd8], 0
je 0x140001ef4
lea rcx, [rbp + 0xd8]
call fcn.140002bf0
lea rcx, [rbp + 0xe8]
call fcn.140002300
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax]
test rdx, rdx
je 0x140001f1e
mov rcx, qword [rax + 8]
mov r8d, 1
call fcn.140001530
mov rax, rsi
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0xa0], rax
lea rax, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhudhook_0.7.1_srcinject.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140027610]
lea r9, fcn.140001030
lea r8, [rbp + 0xa0]
mov edx, 0x2b
call fcn.140026c40
jmp 0x140001f9f
lea rcx, [0x14002772a]
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhudhook_0.7.1_srcinject.rs
mov edx, 0x22
call fcn.140026850
jmp 0x140001f9f
lea rcx, [0x14002772a]
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhudhook_0.7.1_srcinject.rs
mov edx, 0x22
call fcn.140026850
ud2