Function at 0x140078608
Capabilities:
Connect to http server

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0x90
xor esi, esi
lea rcx, [rbp - 0x39]
mov r12, rdx
mov ebx, esi
xor edx, edx
mov qword [rbp - 0x41], rbx
mov edi, esi
lea r8d, [rsi + 0x38]
call fcn.1400547d0
mov r13, qword [rbp + 0x8f]
mov r14, qword [rbp + 0x6f]
mov r15, qword [rbp + 0x67]
jmp 0x140078660
xor esi, esi
mov dword [rbp - 0x49], esi
test rbx, rbx
je 0x140078678
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, rsi
mov qword [rbp - 0x41], rbx
test rdi, rdi
je 0x140078686
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [r12]
lea rdx, [rbp - 0x39]
mov rdi, rsi
call fcn.14007d5bc
mov esi, eax
test eax, eax
js 0x140078896
xor esi, esi
test r14, r14
je 0x1400786b0
mov rcx, r14
cmp word [r14], si
jne 0x1400786b4
mov rcx, qword [rbp - 0x19]
test r15, r15
je 0x1400786c2
mov r9, r15
cmp word [r15], si
jne 0x1400786c6
mov r9, qword [rbp - 0x21]
movzx r8d, word [rbp - 0x29]
mov eax, 3
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
lea edx, [rax - 2]
cmp dword [rbp - 0x39], edx
cmove eax, edx
mov rdx, qword [rbp - 0x31]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x47]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rdi, rax
test rax, rax
je 0x14007882c
test r15, r15
je 0x140078759
cmp word [r15], si
je 0x140078759
test r14, r14
je 0x140078759
cmp word [r14], si
je 0x140078759
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, r15
mov edx, 0x2b
mov r9d, eax
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x140078759
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, r14
mov edx, 0x2c
mov r9d, eax
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9, qword [rbp - 0x11]
lea rax, [rbp - 0x41]
mov r8d, dword [rbp - 0x39]
mov rcx, rdi
mov rdx, qword [rbp + 0x57]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x5f]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 9]
mov qword [rsp + 0x20], rax
call fcn.140078904
mov esi, eax
test eax, eax
js 0x1400787ef
mov rbx, qword [rbp - 0x41]
lea r9, [rbp - 0x49]
mov r8, qword [rbp + 0x77]
mov rcx, rbx
mov rdx, r12
mov qword [rsp + 0x20], r13
call fcn.140078b0c
xor ecx, ecx
mov esi, eax
test eax, eax
js 0x1400787d5
cmp dword [rbp - 0x49], ecx
jne 0x14007865e
mov rax, qword [rbp + 0x7f]
mov qword [rax], rdi
mov edi, ecx
mov rax, qword [rbp + 0x87]
mov qword [rax], rbx
mov ebx, ecx
jmp 0x1400788c1
mov rax, qword [r12]
mov edx, 0x23f
mov qword [rsp + 0x30], rax
lea rax, str.Failed_to_send_request_to_URL:__ls
jmp 0x140078875
mov rax, qword [r12]
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
mov qword [rsp + 0x30], rax
mov r9d, 0xf
lea rax, str.Failed_to_open_internet_URL:__ls
mov edx, 0x23c
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r8d, [r9 - 0xa]
call fcn.1400012b4
mov rbx, qword [rbp - 0x41]
jmp 0x1400788c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
mov r14d, 0x230
or esi, 0x80070000
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
test eax, eax
mov edx, r14d
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
mov r8d, esi
call fcn.1400012b0
mov rax, qword [r12]
mov edx, r14d
mov qword [rsp + 0x30], rax
lea rax, str.Failed_to_connect_to_URL:__ls
mov r8d, 5
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
mov dword [rsp + 0x20], esi
lea r9d, [r8 + 0xa]
call fcn.1400012b4
jmp 0x1400788c1
mov r9d, 0xf
lea rax, str.Failed_to_break_URL_into_server_and_resource_parts.
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
mov edx, 0x22d
mov dword [rsp + 0x20], esi
lea r8d, [r9 - 0xa]
call fcn.1400012b4
lea rcx, [rbp - 0x39]
call fcn.14007d62c
test rbx, rbx
je 0x1400788d8
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rdi, rdi
je 0x1400788e6
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0xd8]
mov eax, esi
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret