Function at 0x140001470
Capabilities:
Create thread
Get system information on windows
Inject dll
Inject thread

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov byte [r8], 0
xor r12d, r12d
mov rbx, r8
mov rsi, rcx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r12 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x1400014dd
inc dword [0x140027cd0]
xor al, al
jmp 0x140001745
mov rcx, rax
mov qword [rsp + 0xc0], r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [r14 + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x140001500
xorps xmm0, xmm0
lea rcx, [rbp - 0x59]
movups xmmword [rbp - 0x59], xmm0
lea r15, [rax*2 + 2]
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp - 0x55]
test eax, eax
je 0x140001782
cmp dword [rbp - 0x31], r12d
je 0x140001782
mov r8d, eax
mov qword [rsp + 0xc8], rdi
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x140001733
mov r8d, dword [rbp - 0x55]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea rax, [rbp + 0xf]
mov qword [rbp + 0xf], r12
mov r9, r15
mov qword [rsp + 0x20], rax
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 1
jne 0x14000176b
cmp qword [rbp + 0xf], r15
jne 0x14000176b
mov r8d, dword [rbp - 0x55]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r8d, dword [rbp - 0x55]
lea rax, [rbp + 7]
mov r9d, 2
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov dword [rbp + 7], r12d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp eax, 1
jne 0x14000176b
cmp dword [rbp + 7], 4
jne 0x14000176b
mov r8d, dword [rbp - 0x55]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp eax, 1
jne 0x14000176b
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov r9, rax
mov dword [rsp + 0x28], r12d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r15, rax
test rax, rax
je 0x14000176b
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8d, dword [rbp - 0x55]
mov rdx, rdi
mov rcx, rsi
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14000168d
mov byte [rbx], 1
cmp r14d, 0xffffffff
je 0x140001768
cmp byte [rbx], 1
je 0x140001768
xor eax, eax
mov qword [rbp - 0x29], r12
xorps xmm0, xmm0
mov qword [rbp - 1], rax
lea r8, [rbp - 0x29]
mov rdx, rdi
mov rcx, rsi
lea r9d, [rax + 0x30]
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140001714
cmp qword [rbp - 0x29], rdi
je 0x1400016d8
mov byte [rbx], 1
cmp qword [rbp - 0x21], rdi
je 0x1400016e1
mov byte [rbx], 1
cmp dword [rbp - 0x19], 4
je 0x1400016ea
mov byte [rbx], 1
mov eax, dword [rbp - 0x55]
cmp qword [rbp - 0x11], rax
je 0x1400016f6
mov byte [rbx], 1
cmp dword [rbp - 9], 0x1000
je 0x140001702
mov byte [rbx], 1
cmp dword [rbp - 5], 2
je 0x14000170b
mov byte [rbx], 1
cmp dword [rbp - 1], 0x20000
je 0x140001717
mov byte [rbx], 1
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140001760
mov byte [rbx], 1
xor al, al
mov rdi, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140002110
add rsp, 0xd0
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret
cmp byte [rbx], 1
setne al
jmp 0x140001735
mov byte [rbx], 1
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140001733
mov byte [rbx], 1
xor al, al
jmp 0x14000173d