Function at 0x1400879d0
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 [0x14011bbd8]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov r12, r9
mov r14, r8
mov r15, 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 0x140087a30
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], 0x68
lea rax, [rbp - 0x10]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x10
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 rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x140087a9b
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, dword [rcx + 0x10]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x140087aec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400c8a20]
call fcn.14000110e
xor al, al
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.140001b36
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, str.https
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140087b1a
cmp rcx, 6
jne 0x140087b00
lea ebx, [rcx - 5]
jmp 0x140087b45
mov ebx, edi
mov rcx, rdi
lea rdx, [rbp - 0x10]
lea r8, str.http
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140087ac7
cmp rcx, 5
jne 0x140087b30
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 0x140087b72
xor r14b, r14b
jmp 0x140087d42
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 0x140087bb1
xor r14b, r14b
jmp 0x140087d33
shl ebx, 0x17
bts ebx, 0x13
cmp qword [r15 + 0x18], 8
jb 0x140087bc2
mov r15, qword [r15]
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, r15
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140087d21
cmp qword [r14 + 0x10], 0
je 0x140087c26
cmp qword [r14 + 0x18], 8
jb 0x140087c0e
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 0x140087c94
mov r9d, 4
mov r8, r14
lea edx, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140087c62
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Could_not_unset_send_timeout__continuing..._n
call fcn.140001140
mov r9d, 4
mov r8, r14
lea edx, [r9 + 2]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140087c94
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Could_not_unset_receive_timeout__continuing..._n
call fcn.140001140
mov r9, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140087ca3
mov r9, qword [r12]
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140087d21
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x18]
mov edx, 0x13
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140087d21
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
test r13, r13
je 0x140087d03
mov dword [r13], eax
cmp eax, 0xc8
sete r14b
jne 0x140087d24
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140086db0
movzx r14d, al
jmp 0x140087d24
xor r14b, r14b
test rbx, rbx
je 0x140087d33
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rdi, rdi
je 0x140087d42
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rsi, rsi
je 0x140087d50
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, r14b
jmp 0x140087ac9