Function at 0x140006290
Capabilities:
Check if file exists
Download url
Execute command
Receive data
Terminate process

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140039040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.Checking_for_SteamCMD..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
lea rdx, [0x140004430]
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, str.steamcmd_steamcmd.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140006488
lea rdx, str.SteamCMD_cannot_be_found__downloading..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
lea rdx, [0x140004430]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov ecx, 0x80
call fcn.1400129a0
mov rdx, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x140035310]
movdqu xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [str.https:__steamcdn_a.akamaihd.net_client_installer_steamcmd.zip]
movups xmmword [rax], xmm1
movaps xmm0, xmmword [0x140031c60]
movups xmmword [rax + 0x10], xmm0
movaps xmm1, xmmword [0x140031c70]
movups xmmword [rax + 0x20], xmm1
movaps xmm0, xmmword [0x140031c80]
movups xmmword [rax + 0x30], xmm0
movaps xmm1, xmmword [0x140031c90]
movups xmmword [rax + 0x40], xmm1
movaps xmm0, xmmword [0x140031ca0]
movups xmmword [rax + 0x50], xmm0
movaps xmm1, xmmword [0x140031cb0]
movups xmmword [rax + 0x60], xmm1
movsd xmm0, qword [0x140031cc0]
movsd qword [rax + 0x70], xmm0
movzx eax, word [0x140031cc8]
mov word [rdx + 0x78], ax
xor eax, eax
mov word [rdx + 0x7a], ax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.steamcmd.zip
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
lea rdx, str.Download_finished__extracting..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
lea rdx, [0x140004430]
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, str.powershell.exe__Command__Expand_Archive__Path_steamcmd.zip__Force_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.steamcmd_steamcmd.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140006443
lea rdx, str.Error:_download_blocked_or_unzip_failed_for_SteamCmd__please_download_it_manually_from:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
lea rdx, [0x140004430]
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 rdx, str.https:__steamcdn_a.akamaihd.net_client_installer_steamcmd.zip_and_unzip_it_to_steamcmd_steamcmd.exe
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
lea rdx, [0x140004430]
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 ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140006488
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006483
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006483
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400129e4
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140012980
add rsp, 0x68
ret