Function at 0x1400018d0
Capabilities:
Create directory
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor esi, esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1400057d0]
movdqu xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x60], si
lea rdx, [rbp - 0x60]
call fcn.140001440
test al, al
je 0x140001e26
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rbx, qword [rbp - 0x60]
lea rax, [0x140005708]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx - 0x20], rdi
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x10], rax
mov byte [rbp + 0x6c], sil
mov byte [rbp + 0x62], sil
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
mov qword [rbp + 0x70], rsi
mov rax, qword [0x1400099f0]
mov qword [rbp + 0x64], rax
mov qword [rbp + 0x58], rsi
lea r8d, [rsi + 0x21]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140002d50
test rax, rax
jne 0x140001a18
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [rsi + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], rdi
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x24], edx
cmp qword [rbp + 0x70], 0
je 0x140001e1c
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x48], 1
mov word [rsp + 0x4a], si
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x28]
mov qword [rbp - 0x80], rcx
test rcx, rcx
sete byte [rbp - 0x78]
mov word [rbp - 0x76], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm6, xmmword [rsp + 0x40]
test rcx, rcx
je 0x140001ac1
call qword [sym.imp.MSVCP140.dll_public:_unsigned_short_int___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::sgetc_void____ptr64]
mov ecx, 0xffff
cmp cx, ax
je 0x140001ab0
mov word [rbp - 0x76], ax
mov rax, qword [rbp - 0x80]
mov byte [rbp - 0x78], 1
movaps xmm0, xmmword [rbp - 0x80]
jmp 0x140001ac6
mov rax, rsi
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 1
movaps xmm0, xmmword [rbp - 0x80]
jmp 0x140001ac6
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x140001bbc
test rax, rax
je 0x140001bc5
movdqa xmmword [rsp + 0x40], xmm6
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400037d0
nop
lea rcx, [rbp - 0x80]
call fcn.140001290
nop
lea r8, str.download_temp_
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140002e40
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
je 0x140001b7e
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
test eax, eax
je 0x140001b7e
lea rdx, str.Failed_to_create_download_directory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140002fd0
mov rcx, rax
lea rdx, [0x1400031b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140001be0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rax, rax
je 0x140001add
movdqa xmm0, xmmword [0x1400057d0]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], si
jmp 0x140001afb
call fcn.140003d7c
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, rdi
cmp rax, 0xa
jb 0x140001c30
lea rax, [rdi + 0xa]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 7
cmova rbx, qword [rsp + 0x40]
lea rcx, [rbx + rdi*2]
mov r8d, 0x14
lea rdx, str.output.exe
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x14], si
lea rax, [rsp + 0x40]
jmp 0x140001c48
mov qword [rsp + 0x20], 0xa
mov edx, 0xa
lea rcx, [rsp + 0x40]
call fcn.1400035d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140001cbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003d7c
movdqa xmm0, xmmword [0x1400057d0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140001610
test al, al
je 0x140001d55
lea rdx, str.Executable_created_at:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002fd0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.140003a70
mov rcx, rax
lea rdx, [0x1400031b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbp - 0x10]
call fcn.140002c60
test rax, rax
jne 0x140001d80
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140001dc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003d7c
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140001e1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003d7c
nop
lea rcx, [rbp - 0x20]
call fcn.140001ea0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140001e69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003d7c
xor eax, eax
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140003d20
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret