Function at 0x14005dab0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1090
call fcn.14006e4e0
sub rsp, rax
mov rax, qword [0x14018f040]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rsi, r9
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.WinINet_Example
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
je 0x14005dbed
cmp qword [rbx + 0x18], 0xf
jbe 0x14005db23
mov rbx, qword [rbx]
mov r8d, 0x50
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
test rax, rax
je 0x14005dbe4
lea rax, [0x140181f80]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r13
cmp qword [rsi + 0x18], 0xf
jbe 0x14005db76
mov rsi, qword [rsi]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80000000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rsi
lea rdx, [0x140181f84]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
test rax, rax
je 0x14005dbdb
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, 0x7a
lea rdx, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36_r_n
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x14005dc12
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
xor r8d, r8d
lea rdx, [0x14017df30]
mov rcx, rdi
call fcn.1400622f0
jmp 0x14005dd16
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov rbx, r13
mov qword [rsp + 0x60], rbx
mov ebp, recvfrom
mov qword [rsp + 0x68], rbp
mov byte [rsp + 0x50], bl
lea r9, [rsp + 0x48]
mov r8d, 0x1000
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14005dcea
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14005dcea
mov esi, eax
mov rax, rbp
sub rax, rbx
cmp rsi, rax
ja 0x14005dca1
lea rax, [rbx + rsi]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rbp, 0xf
cmova rax, qword [rsp + 0x50]
add rbx, rax
mov r8d, esi
lea rdx, [rsp + 0x80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14005dcbb
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x80]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140062160
lea r9, [rsp + 0x48]
mov r8d, 0x1000
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14005dcea
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jmp 0x14005dc54
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.14006d0a0
mov rbx, qword [rsp + 0x10e0]
add rsp, 0x1090
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret