Function at 0x1400044f0
Capabilities:
Create directory

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140018008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov r14, rcx
xorps xmm0, xmm0
lea rdx, [0x140010d08]
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
mov r8d, 7
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
call fcn.14000c2a0
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x48]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x140004578
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
setne dil
jmp 0x14000457b
xor dil, dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400045bb
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045b6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dd74
mov qword [rsp + 0xb0], rsi
test dil, dil
je 0x1400045eb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_ensure_directory_exists:_C:_temp
call fcn.14000af60
lea rdx, [0x14000b130]
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]
mov esi, 2
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rdi, rax
test rax, rax
je 0x14000472d
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14000460f
mov rdx, qword [rbx]
lea r8, [0x140010d3c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
je 0x140004674
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_file:
call fcn.14000af60
cmp qword [rbx + 0x18], 0x10
mov r8, qword [rbx + 0x10]
jb 0x140004646
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000cf80
lea rdx, [0x14000b130]
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]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov eax, 0x17
jmp 0x14000472f
cmp qword [rsp + 0x40], 0
je 0x140004661
cmp qword [r14 + 0x18], 0x10
jb 0x140004686
mov r14, qword [r14]
mov r8, r14
mov edx, 0x2712
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x1400044e0]
mov edx, 0x4e2b
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, qword [rsp + 0x40]
mov edx, 0x2711
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov edx, 0x34
mov rcx, rdi
lea r8d, [rdx - 0x33]
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov rcx, qword [rsp + 0x40]
mov esi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test esi, esi
je 0x140004724
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.curl_easy_perform___failed:
call fcn.14000af60
mov ecx, esi
mov rbx, rax
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000af60
lea rdx, [0x14000b130]
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]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov eax, esi
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000dd10
add rsp, 0x80
pop r14
pop rdi
pop rbx
ret