Function at 0x14002a8d0
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x140125998]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], edx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
jne 0x14002aa6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x140121088]
mov r9, qword [rcx + 0x10]
mov r8d, eax
lea rdx, [rbp - 0x40]
lea rcx, [0x140121088]
call r9
cmp qword [rax + 0x18], 0x10
jb 0x14002a969
mov rax, qword [rax]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
lea r9, str.Injector::DoInjectDLL
lea r8, str.__s__OpenProcess_failed:__s___d_
mov edx, 0x800
lea rcx, [rbp - 0x20]
call fcn.140029dc0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002a9cc
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a9c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a9c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2238
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], bl
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14002a9f0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.14000bf20
nop
lea rcx, [rdi + 0x100]
lea rdx, [rsp + 0x40]
call fcn.14002a660
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.140003a40
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14002aa67
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aa62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002aa62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2238
xor al, al
jmp 0x14002ad56
mov r15, qword [rdi + 0xd8]
mov r13, qword [rdi + 0xe0]
cmp r15, r13
je 0x14002ad4b
xor ebx, ebx
nop word [rax + rax]
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.140002ba0
nop
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rsi, qword [rbp - 0x40]
mov r14, qword [rbp - 0x30]
cmp r14, 8
jae 0x14002aad1
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x70], xmm0
mov edi, 7
jmp 0x14002ab0f
mov rdi, r14
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x70]
call fcn.14000bd90
mov qword [rsp + 0x70], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x80], r14
lea rsi, [rsp + 0x70]
cmp rdi, 8
cmovae rsi, qword [rsp + 0x70]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
xor dil, dil
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8d, [r9 + 4]
mov r14d, 1
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x14002ac0e
lea rdx, [rsp + 0x58]
lea rcx, str.S_1_15_2_1
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x14002ac0e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x64], xmm0
mov qword [rbp - 0x50], 5
mov dword [rbp - 0x70], 0xe0000000
mov dword [rbp - 0x6c], 2
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x54], ebx
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x48], rax
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rdx, [rbp - 0x70]
mov ecx, r14d
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x14002ac0e
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8d, [r14 + 3]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
movzx edi, dil
test eax, eax
cmove edi, r14d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002ac1e
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002ac2e
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002ac3e
call qword [sym.imp.KERNEL32.dll_LocalFree]
test dil, dil
je 0x14002b000
mov rax, qword [rbp - 0x78]
lea rsi, [rax + rax]
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, rsi
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x14002af06
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r8, qword [rsp + 0x70]
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14002ae8b
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14002ad80
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x2000
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14002ad35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ae84
call fcn.1400e2238
nop
lea rcx, [rbp - 0x40]
call fcn.14000bc60
add r15, 0x20
cmp r15, r13
jne 0x14002aa90
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400e25b0
mov rbx, qword [rsp + 0x940]
add rsp, 0x8f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, str.Injector::DoInjectDLL
lea r8, str.__s__CreateRemoteThread_Failed
mov edx, 0x800
lea rcx, [rbp - 0x20]
call fcn.140029dc0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002adc0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.14000bf20
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0x100
lea rdx, [rsp + 0x40]
call fcn.14002a660
mov rcx, rax
lea rdx, [rbp - 0x70]
call fcn.140003a40
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14002ae36
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ae31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b0b9
call fcn.1400e2238
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14002b0c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b0c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b0c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r9, str.Injector::DoInjectDLL
lea r8, str.__s__WriteProcessMemory_Failed
mov edx, 0x800
lea rcx, [rbp - 0x20]
call fcn.140029dc0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002aec6
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.14000bf20
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0x100
lea rdx, [rsp + 0x40]
call fcn.14002a660
mov rcx, rax
lea rdx, [rbp - 0x70]
call fcn.140003a40
nop
jmp 0x14002adfb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x140121088]
mov r9, qword [rcx + 0x10]
mov r8d, eax
lea rdx, [rbp - 0x70]
lea rcx, [0x140121088]
call r9
cmp qword [rax + 0x18], 0x10
jb 0x14002af34
mov rax, qword [rax]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str.Injector::DoInjectDLL
lea r8, str.__s__Failed_to_alloc__llu_bytes._Error:__s___d_
mov edx, 0x800
lea rcx, [rbp - 0x20]
call fcn.140029dc0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14002af9c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002af97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002af97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2238
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002afc0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.14000bf20
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0x100
lea rdx, [rsp + 0x40]
call fcn.14002a660
mov rcx, rax
lea rdx, [rbp - 0x70]
call fcn.140003a40
nop
jmp 0x14002adfb
lea r9, str.Injector::DoInjectDLL
lea r8, str.__s__SetAccessControl_Failed
mov edx, 0x800
lea rcx, [rbp - 0x20]
call fcn.140029dc0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002b040
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.14000bf20
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0x100
lea rdx, [rsp + 0x40]
call fcn.14002a660
mov rcx, rax
lea rdx, [rbp - 0x70]
call fcn.140003a40
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14002ae36
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ae31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ae31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400e2238
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
lea rcx, [rbp - 0x40]
call fcn.14000bc60
xor al, al
jmp 0x14002ad56