Function at 0x140055e90
Capabilities:
Create http request
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x438]
sub rsp, 0x520
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400ae0c0]
xor rax, rsp
mov qword [rbp + 0x400], rax
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x35
lea rdx, str.https:__www.steamtools.net_res_ev_SteamtoolsSetup.exe
lea rcx, [rbp - 0x20]
call fcn.140038190
nop
lea rcx, [rbp - 0x80]
call fcn.14003c160
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14003a120
nop
mov r8d, 0x14
lea rdx, str.SteamtoolsSetup.exe
mov rcx, rax
call fcn.140038110
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140055f8a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055f85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055f85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088fac
movdqa xmm0, xmmword [0x14009c0d0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140055fe0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055fdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088fac
movdqa xmm0, xmmword [0x14009c0c0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Steamtools_Downloader
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x140056185
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x14005605b
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140056185
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
mov rcx, rbx
cmp rax, 0xffffffffffffffff
jne 0x1400560af
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140056185
mov esi, r15d
mov dword [rbp - 0x5c], r15d
mov dword [rbp - 0x50], 4
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x5c]
mov edx, 0x20000005
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
lea r9, [rbp - 0x60]
mov r8d, 0x400
lea rdx, [rbp]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140056161
movss xmm6, dword [0x14009bf1c]
nop dword [rax + rax]
mov r8d, dword [rbp - 0x60]
test r8d, r8d
je 0x140056161
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
add esi, dword [rbp - 0x60]
mov eax, esi
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mov eax, dword [rbp - 0x5c]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm1, xmm0
mulss xmm1, xmm6
movss dword [0x1400e1050], xmm1
lea r9, [rbp - 0x60]
mov r8d, 0x400
lea rdx, [rbp]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140056100
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rbp - 0x40]
call fcn.140053b30
mov byte [0x1400e12bc], 0
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x48], rax
call fcn.140089d10
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140039c80
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.14008a94c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400562ed
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140056230
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005622a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005622a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088fac
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14005626e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056269
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056269
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088fac
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400562bc
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400562b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400562b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088fac
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140088880
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.remove
call fcn.14003b010
int3