Function at 0x1400012e0
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x340
mov rax, qword [0x14001a008]
xor rax, rsp
mov qword [rsp + 0x330], rax
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000132f
xor al, al
jmp 0x14000168d
mov dword [rsp + 0x4c], 0x260
cmp qword [rsp + 0x368], 0
je 0x14000134f
mov eax, dword [rsp + 0x370]
mov dword [rsp + 0x48], eax
jmp 0x140001357
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov eax, eax
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400013a2
xor al, al
jmp 0x14000168d
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x260
rep stosb byte [rdi], al
lea rdx, [0x140017b18]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd0], rax
lea rdx, [0x140017b28]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd8], rax
lea rdx, [0x140017b38]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax]
mov word [rsp + 0x42], ax
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x42]
mov word [rax], cx
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
cmp word [rsp + 0x42], 0
jne 0x14000142e
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
cmp byte [rsp + 0x40], 0
jne 0x14000149f
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
cmp dword [rsp + 0x44], 0
je 0x140001567
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x328], rax
mov eax, dword [rsp + 0x44]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x368]
mov rdx, qword [rsp + 0x328]
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x140001567
xor al, al
jmp 0x14000168d
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x260
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1400015a7
xor al, al
jmp 0x14000168d
mov dword [rsp + 0x20], 0x10
mov r9d, 0x1000
mov r8d, 0x190
xor edx, edx
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400015e5
xor al, al
jmp 0x14000168d
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0x190
lea r8, [0x140001260]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x140001624
xor al, al
jmp 0x14000168d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x140001671
xor al, al
jmp 0x14000168d
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x98], 0
mov al, 1
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.140001bd0
add rsp, 0x340
pop rdi
ret