Function at 0x140001410
Capabilities:
Allocate or change rwx memory
Create thread
Get file size
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
push rbp
sub rsp, 0x70
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rdx
cmp ecx, 2
jge 0x140001451
lea rcx, str.____Please_Specify_Input_.ER_File_To_Run_...__n
call fcn.1400013b0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001710
add rsp, 0x70
pop rbp
ret
mov edx, 4
mov qword [rsp + 0x98], rdi
lea rcx, str._i__BUFF_SIZE_:___0x_0.4X_____NULL_BYTES_:___0x_0.4X___n
mov qword [rsp + 0x60], r15
lea r8d, [rdx - 3]
call fcn.1400013b0
mov rcx, qword [rbp + 8]
xor r15d, r15d
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x50], r15d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400014d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x140003350]
lea rcx, str.______s____FAILED____t_d__n
call fcn.1400013b0
xor eax, eax
jmp 0x1400016d4
xor edx, edx
mov qword [rsp + 0x80], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000150e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x140003360]
lea rcx, str.______s____FAILED____t_d__n
call fcn.1400013b0
xor eax, eax
jmp 0x1400016cc
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x68], r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
jne 0x14000154c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140003370]
jmp 0x1400016ae
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r15
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x50]
test eax, eax
je 0x140001692
cmp edx, ebx
jne 0x140001692
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 8]
lea rcx, str._i__Deobfuscating___s__...
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
call fcn.1400013b0
lea r9, [rsp + 0x48]
mov rdx, rbx
lea r8, [rsp + 0x40]
mov rcx, rsi
call fcn.140001160
test eax, eax
jne 0x1400015bf
mov eax, 0xffffffff
jmp 0x1400016bf
lea rcx, str.___DONE__n
call fcn.1400013b0
mov rsi, qword [rsp + 0x40]
lea rcx, str._t____Deobfuscated_Payload_Size_:__ld__n_t____Deobfuscated_Payload_Located_At_:_0x_p__n
mov rbx, qword [rsp + 0x48]
mov r8, rsi
mov rdx, rbx
call fcn.1400013b0
lea rcx, str.____Press__Enter__To_Run_...
call fcn.1400013b0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x14000162a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140003458]
jmp 0x1400016ae
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, str._i__Running_Payload_Thread_...
call fcn.1400013b0
lea r9, str.pew_pew
mov qword [rsp + 0x28], r15
mov r8, rdi
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x140001676
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140003490]
jmp 0x1400016ae
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.___DONE__n
call fcn.1400013b0
jmp 0x1400016bd
mov r8d, ebx
lea rcx, str._i__Read__ld_from__ld_Bytes__n
call fcn.1400013b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1400033a0]
mov r8d, eax
lea rcx, str.______s____FAILED____t_d__n
call fcn.1400013b0
xor eax, eax
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x98]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001710
add rsp, 0x70
pop rbp
ret