Function at 0x140001ad0
Capabilities:
Create http request
Delete file
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x590]
sub rsp, 0x690
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov r14, rdx
mov r15, rcx
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140001b32
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error_getting_temporary_file_path._n
call fcn.1400018c0
mov eax, 1
jmp 0x140001e5e
mov qword [rsp + 0x6c0], rbx
lea r8, str.tempfile.dat
mov qword [rsp + 0x688], rsi
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov qword [rsp + 0x680], rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor ebx, ebx
lea rcx, str.MD5Check
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea edx, [rbx + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
jne 0x140001ba2
lea ecx, [rbx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error_opening_internet_connection._n
call fcn.1400018c0
jmp 0x140001e27
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x140001be9
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, r14
lea rdx, str.Error_opening_URL:__s_n
mov rcx, rax
call fcn.1400018c0
jmp 0x140001e1e
lea r8, [0x140004c08]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
jne 0x140001df6
cmp qword [rsp + 0x30], rbx
je 0x140001df6
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rbp + 0x170]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001c73
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140001c73
mov r9, qword [rsp + 0x30]
lea rcx, [rbp + 0x170]
mov r8d, eax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rbp + 0x170]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001c32
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140001910
test al, al
jne 0x140001cb8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_calculating_MD5_hash_of_local_file._n
jmp 0x140001e39
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140001910
test al, al
jne 0x140001ce2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_calculating_MD5_hash_of_remote_file._n
jmp 0x140001e39
lea rcx, str.Local_MD5:
call fcn.140001010
mov rdi, rbx
movzx edx, byte [rsp + rdi + 0x40]
lea rcx, str._02x
call fcn.140001010
inc rdi
cmp rdi, 0x10
jl 0x140001cf1
lea rcx, [0x140004ddc]
call fcn.140001010
lea rcx, [0x140004de0]
call fcn.140001010
movzx edx, byte [rsp + rbx + 0x50]
lea rcx, str._02x
call fcn.140001010
inc rbx
cmp rbx, 0x10
jl 0x140001d23
lea rcx, [0x140004ddc]
call fcn.140001010
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x50]
jne 0x140001d9d
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x58]
jne 0x140001d9d
lea rcx, str.MD5_checksums_match._n
call fcn.140001010
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
je 0x140001d96
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error_deleting_temporary_file._n
call fcn.1400018c0
xor eax, eax
jmp 0x140001e46
lea rcx, str.MD5_checksums_do_not_match._n
call fcn.140001010
lea rax, str.MusicToSoundpad.exe
cmp r15, rax
jne 0x140001def
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.UPDATE_AVAILABLE..._PLEASE_DOWNLOAD_LATEST_VERSION_FROM_GITHUB..._n
call fcn.140001010
mov edx, 7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor eax, eax
jmp 0x140001e46
mov eax, 2
jmp 0x140001e46
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, [rsp + 0x60]
lea rdx, str.Error_creating_local_file:__s_n
call fcn.1400018c0
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_downloading_remote_file._n
mov rcx, rax
call fcn.1400018c0
mov eax, 1
mov rsi, qword [rsp + 0x688]
mov rbx, qword [rsp + 0x6c0]
mov rdi, qword [rsp + 0x680]
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400023f0
add rsp, 0x690
pop r15
pop r14
pop rbp
ret