Function at 0x140a80ae0
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 [0x140db81c0]
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 0x140a80b40
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 0x140a80bab
mov rcx, qword [rcx]
lea r9, [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x140a80bf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140c911d8]
call fcn.140a81230
xor al, al
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.140c4bf60
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 dword [rax]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140a80c2c
cmp rcx, 6
jne 0x140a80c10
mov ebx, 1
jmp 0x140a80c55
mov ebx, edi
mov rcx, rdi
lea rdx, [rbp - 0x10]
lea r8, str.http
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140a80bd1
cmp rcx, 5
jne 0x140a80c40
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 0x140a80c82
xor r14b, r14b
jmp 0x140a80e56
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 0x140a80cc1
xor r14b, r14b
jmp 0x140a80e47
shl ebx, 0x17
bts ebx, 0x13
cmp qword [r12 + 0x18], 7
jbe 0x140a80cd4
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 0x140a80e35
cmp qword [r14 + 0x10], 0
je 0x140a80d38
cmp qword [r14 + 0x18], 7
jbe 0x140a80d20
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 0x140a80daa
mov r9d, 4
mov r8, r14
mov edx, 5
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140a80d76
mov ecx, 2
call fcn.140c51de8
mov rcx, rax
lea rdx, str.Could_not_unset_send_timeout__continuing..._n
call fcn.140a81180
mov r9d, 4
mov r8, r14
mov edx, 6
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140a80daa
mov ecx, 2
call fcn.140c51de8
mov rcx, rax
lea rdx, str.Could_not_unset_receive_timeout__continuing..._n
call fcn.140a81180
mov eax, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x140a80db8
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 0x140a80e35
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 0x140a80e35
xor edx, edx
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.140c65eb0
test r13, r13
je 0x140a80e17
mov dword [r13], eax
cmp eax, 0xc8
sete r14b
jne 0x140a80e38
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140a80200
movzx r14d, al
jmp 0x140a80e38
xor r14b, r14b
test rbx, rbx
je 0x140a80e47
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rdi, rdi
je 0x140a80e56
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rsi, rsi
je 0x140a80e64
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, r14b
jmp 0x140a80bd3