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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa28]
sub rsp, 0xb28
mov rax, qword [0x140f4c000]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov r15, r9
mov r14, r8
mov r12, rdx
mov rax, qword [rbp + 0xa90]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0xa98]
mov qword [rsp + 0x50], rax
mov r13, qword [rbp + 0xaa0]
xor edi, edi
test r13, r13
je 0x140ade260
mov dword [r13], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x60], WSAGetLastError
lea rax, [rbp - 0x10]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], reloc.WS2_32.dll_recv
lea rax, [rbp + 0x10]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x100
lea rax, [rbp + 0x210]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], 0x400
mov edx, dword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x140ade2cb
mov rcx, qword [rcx]
lea r9, [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x140ade316
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140d0bab0]
call fcn.140ade950
xor al, al
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.140cbacb0
add rsp, 0xb28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rdi
lea rdx, [rbp - 0x10]
lea r8, [0x140d0bab8]
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140ade34c
cmp rcx, 6
jne 0x140ade330
mov ebx, 1
jmp 0x140ade375
mov ebx, edi
mov rcx, rdi
lea rdx, [rbp - 0x10]
lea r8, [0x140d0bac8]
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140ade2f1
cmp rcx, 5
jne 0x140ade360
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Breakpad_1.0__Windows_
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140ade3a2
xor r14b, r14b
jmp 0x140ade576
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
xor r9d, r9d
movzx r8d, word [rbp - 0x7c]
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rdi, rax
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x140ade3e1
xor r14b, r14b
jmp 0x140ade567
shl ebx, 0x17
bts ebx, 0x13
cmp qword [r12 + 0x18], 7
jbe 0x140ade3f4
mov r12, qword [r12]
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x210]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140ade555
cmp qword [r14 + 0x10], 0
je 0x140ade458
cmp qword [r14 + 0x18], 7
jbe 0x140ade440
mov r14, qword [r14]
mov r9d, 0x20000000
mov r8d, 0xffffffff
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x140ade4ca
mov r9d, 4
mov r8, r14
mov edx, 5
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140ade496
mov ecx, 2
call fcn.140cc4b14
mov rcx, rax
lea rdx, str.Could_not_unset_send_timeout__continuing..._n
call fcn.140ade8a0
mov r9d, 4
mov r8, r14
mov edx, 6
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140ade4ca
mov ecx, 2
call fcn.140cc4b14
mov rcx, rax
lea rdx, str.Could_not_unset_receive_timeout__continuing..._n
call fcn.140ade8a0
mov eax, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x140ade4d8
mov r15, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, r15
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140ade555
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x18]
mov edx, reloc.WS2_32.dll_send
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140ade555
xor edx, edx
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.140cd9cfc
test r13, r13
je 0x140ade537
mov dword [r13], eax
cmp eax, 0xc8
sete r14b
jne 0x140ade558
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140add920
movzx r14d, al
jmp 0x140ade558
xor r14b, r14b
test rbx, rbx
je 0x140ade567
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rdi, rdi
je 0x140ade576
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rsi, rsi
je 0x140ade584
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, r14b
jmp 0x140ade2f3