Function at 0x1400145f8
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0xcf0
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rsp + 0xce0], rax
mov r13, rcx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov esi, r14d
mov qword [rsp + 0x50], r14
mov edi, r14d
mov qword [rsp + 0x58], r14
mov ebx, r14d
mov dword [rsp + 0x48], 4
mov edx, 0x400
lea rcx, [r11 - 0xc28]
call fcn.1400144d4
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xe0]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140014832
lea esi, [r14 + 0x68]
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.14001e2f0
mov dword [rsp + 0x70], esi
lea rax, [rsp + 0x8e0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0x400
mov word [rsp + 0x94], r14w
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc0], 0x400
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], 0x400
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, eax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 3
lea r13, [0x140035cab]
mov qword [rsp + 0x20], r13
mov r9, r13
movzx r8d, word [rsp + 0x94]
mov rdx, qword [rsp + 0x88]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140014832
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x4440000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
lea r9, str.HTTP_1.1
lea r8, [rsp + 0x4e0]
lea rdx, str.HEAD
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140014832
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1400147e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x2ee2
je 0x1400147da
sub eax, 5
je 0x1400147da
cmp eax, 0x16
jne 0x1400147e3
mov ebx, 0x80004005
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x44]
mov edx, 0x20000013
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140014832
mov eax, dword [rsp + 0x44]
cmp eax, 0x197
jne 0x14001481b
mov ebx, 0x80070210
jmp 0x14001482e
cmp eax, 0x190
je 0x140014829
cmp eax, 0x194
jne 0x140014832
mov ebx, 0x80070211
mov dword [rsp + 0x40], ebx
test rdi, rdi
je 0x140014840
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rsi, rsi
je 0x14001484e
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test r12, r12
je 0x14001485c
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0xce0]
xor rcx, rsp
call fcn.14001eba0
lea r11, [rsp + 0xcf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret