Function at 0x14001b790
Capabilities:
Create thread
Inject thread
Resume thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x1400a33c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
test rdx, rdx
je 0x14001baad
test ecx, ecx
je 0x14001baad
mov rbx, rdx
call fcn.14001bad0
mov rsi, rax
cmp byte [0x140161ede], 1
je 0x14001b7fc
mov byte [0x140161ede], 1
movabs rax, 0x7262694c64616f4c
mov qword [0x140161ed0], rax
mov dword [0x140161ed8], 0x57797261
mov word [0x140161edc], 0xe100
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140161ed0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001b92e
mov r15, rax
mov rcx, rbx
call fcn.14005e254
lea rdi, [rax*2 + 2]
mov dword [rsp + 0x20], 4
mov rcx, rsi
xor edx, edx
mov r8, rdi
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x14001b96b
mov r14, rax
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, rax
mov r8, rbx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001b9d4
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
xor edi, edi
mov rcx, rsi
xor edx, edx
xor r8d, r8d
mov r9, r15
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14001ba3a
mov rbx, rax
mov r15, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x32
call r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, 0x23
call r15
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
mov r9d, 0xc000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [rsp + 0x44], 0
lea rdx, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [rsp + 0x44]
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
cmp ebx, 0x103
jne 0x14001baad
lea rcx, str.successful.wav
call fcn.140015440
mov edi, 1
jmp 0x14001baad
cmp byte [0x140161ef4], 1
je 0x14001b956
mov byte [0x140161ef4], 1
movaps xmm0, xmmword [0x14008f0d0]
movaps xmmword [0x140161ee0], xmm0
mov dword [0x140161ef0], 0x85fd0000
lea rdx, [0x140161ee0]
xor edi, edi
xor ecx, ecx
call fcn.140013370
jmp 0x14001baad
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
mov esi, eax
call rdi
cmp byte [0x140161f2e], 0
jne 0x14001b9c8
mov byte [0x140161f2e], 1
movaps xmm0, xmmword [0x14008f0c0]
movaps xmmword [0x140161f00], xmm0
movaps xmm0, xmmword [0x14008f0a0]
movaps xmmword [0x140161f10], xmm0
movabs rcx, 0x29003000200058
mov qword [0x140161f20], rcx
mov dword [0x140161f28], 0xa
mov word [0x140161f2c], 0x4b46
lea rdx, [0x140161f00]
jmp 0x14001ba9e
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
mov esi, eax
call rdi
cmp byte [0x140161f5e], 0
jne 0x14001ba31
mov byte [0x140161f5e], 1
movaps xmm0, xmmword [0x14008f0b0]
movaps xmmword [0x140161f30], xmm0
movaps xmm0, xmmword [0x14008f0a0]
movaps xmmword [0x140161f40], xmm0
movabs rcx, 0x29003000200058
mov qword [0x140161f50], rcx
mov dword [0x140161f58], 0xa
mov word [0x140161f5c], 0xd780
lea rdx, [0x140161f30]
jmp 0x14001ba9e
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
mov esi, eax
call rdi
cmp byte [0x140161f8e], 0
jne 0x14001ba97
mov byte [0x140161f8e], 1
movaps xmm0, xmmword [str.error_49__i__0x_error_48error_47error_46error_45_dc_pls1]
movaps xmmword [0x140161f60], xmm0
movaps xmm0, xmmword [0x14008f0a0]
movaps xmmword [0x140161f70], xmm0
movabs rcx, 0x29003000200058
mov qword [0x140161f80], rcx
mov dword [0x140161f88], 0xa
mov word [0x140161f8c], 0x23b9
lea rdx, [0x140161f60]
xor edi, edi
xor ecx, ecx
mov r8d, eax
mov r9d, esi
call fcn.140013370
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140046650
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret