Function at 0x140001280
Capabilities:
Check http status code
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x6a0
mov rax, qword [0x14000c080]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov r14, rcx
xor esi, esi
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x44], 0x800000
mov dword [rsp + 0x48], esi
mov word [rsp + 0x60], si
call fcn.140004600
lea r8, [r14 + 0x430]
lea rcx, [rsp + 0x60]
mov edx, 0x103
call fcn.140001ddc
lea r8, [0x140009e80]
lea rcx, [rsp + 0x60]
mov edx, 0x103
call fcn.140001f6c
lea r8, [r14 + 0x20]
lea rcx, [rsp + 0x60]
mov edx, 0x103
call fcn.140001f6c
lea r8, [0x140009e84]
lea rcx, [rsp + 0x60]
mov edx, 0x103
call fcn.140001f6c
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], si
call fcn.140004600
mov ecx, dword [r14 + 8]
lea r8d, [rsi + 0xa]
lea rdx, [rsp + 0x270]
call fcn.140002078
lea rcx, [rsp + 0x60]
mov edx, 0x103
mov r8, rax
call fcn.140001f6c
lea r8, [0x140009e84]
lea rcx, [rsp + 0x60]
mov edx, 0x103
call fcn.140001f6c
mov ecx, dword [0x14000d118]
lea r8d, [rsi + 0xa]
lea rdx, [rsp + 0x270]
call fcn.140002078
lea rcx, [rsp + 0x60]
mov edx, 0x103
mov r8, rax
call fcn.140001f6c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.WININET.dll_InternetOpenW]
movzx r8d, word [0x14000d114]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
lea rdx, [r14 + 0x228]
mov rcx, rax
xor r9d, r9d
mov dword [rsp + 0x28], 3
mov r15, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [rsp + 0x44]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], ecx
lea r8, [rsp + 0x60]
lea rdx, [0x140009e88]
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x28], rsi
mov rbp, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [rsp + 0x44], 0x3380
mov r13, rax
lea r9d, [rsi + 4]
lea r8, [rsp + 0x44]
lea edx, [rsi + 0x1f]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea edx, [rsi + 0x54]
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
mov dword [rsp + 0x20], esi
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x14000148a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
mov dword [rsp + 0x20], esi
call qword [sym.imp.WININET.dll_HttpSendRequestW]
lea rcx, [rsp + 0x482]
xor edx, edx
mov r8d, 0x206
mov edi, 0x2800
mov dword [rsp + 0x40], esi
mov word [rsp + 0x480], si
call fcn.140004600
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x480]
mov edx, 0x13
mov rcx, r13
mov dword [rsp + 0x4c], 0x104
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
lea rcx, [rsp + 0x480]
mov ebx, eax
call fcn.140002094
test ebx, ebx
je 0x14000161d
cmp eax, 0xc8
jne 0x14000161d
mov rcx, rdi
mov qword [rsp + 0x6d8], r12
call fcn.140001ed0
mov r12, rax
nop dword [rax]
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1400015dc
mov ecx, dword [rsp + 0x40]
call fcn.140001ed0
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140004600
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov rdx, rbp
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r11d, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
cmp r11d, ecx
jae 0x140001585
mov r8d, ecx
lea rdx, [rbp + r11]
lea r9, [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [rsp + 0x40]
lea eax, [rsi + rcx]
cmp eax, edi
jbe 0x1400015b5
add edi, edi
mov rbx, r12
mov ecx, edi
call fcn.140001ed0
mov r8d, esi
mov rdx, rbx
mov rcx, rax
mov r12, rax
call fcn.140005f80
mov rcx, rbx
call fcn.140001d60
mov ecx, dword [rsp + 0x40]
mov r8d, ecx
mov ecx, esi
mov rdx, rbp
add rcx, r12
call fcn.140005f80
add esi, dword [rsp + 0x40]
mov rcx, rbp
call fcn.140001d60
cmp dword [rsp + 0x40], 0
jne 0x140001510
mov ecx, esi
mov ebx, esi
call fcn.140001ed0
mov r8, rbx
mov rdx, r12
mov rcx, rax
mov rsi, rax
call fcn.140005f80
mov r11d, dword [r14 + 8]
cmp r11b, 0xa
jae 0x140001608
lea ecx, [r11 + 1]
mov dword [r14 + 8], ecx
mov rcx, r12
call fcn.140001d60
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x6d8]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rsi
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.140001d40
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret