Function at 0x140032540
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov rax, qword [0x1400501c8]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r14, qword [rbp + 0x4f0]
xor esi, esi
mov r15, qword [rbp + 0x4e0]
mov r12, rdx
mov r13, qword [rbp + 0x4e8]
mov rbx, rcx
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x50], r8
test r14, r14
je 0x14003259b
mov dword [r14], esi
mov rcx, rdx
call fcn.140031400
test al, al
je 0x140032979
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x68]
call fcn.14000aca0
cmp qword [rbx + 0x18], 8
lea rax, [rbp + 0x38]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x260]
mov qword [rbp - 0x58], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x60], 0x68
mov dword [rsp + 0x70], 0x10
mov dword [rbp - 0x80], 0x100
mov dword [rbp - 0x50], 0x100
jb 0x140032604
mov rbx, qword [rbx]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x140032979
xor bl, bl
lea rdx, [rbp + 0x38]
mov rcx, rsi
lea r8, str.https
nop
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140032649
cmp rcx, 6
jne 0x140032630
mov bl, 1
jmp 0x140032679
mov rcx, rsi
lea rdx, [rbp + 0x38]
lea r8, str.http
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140032979
cmp rcx, 5
jne 0x140032660
xor r9d, r9d
mov qword [rsp + 0x578], rdi
xor r8d, r8d
mov dword [rsp + 0x20], esi
xor edx, edx
lea rcx, str.Breakpad_1.0__Windows_
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
jne 0x1400326b6
mov rdi, qword [rsp + 0x578]
xor r14b, r14b
movzx eax, r14b
jmp 0x14003297b
movzx r8d, word [rbp - 0x7c]
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x38], rsi
xor r9d, r9d
mov dword [rsp + 0x30], esi
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rsi, rax
test rax, rax
jne 0x1400326f1
xor r14b, r14b
jmp 0x140032962
neg bl
lea r8, [rbp + 0x260]
lea rdx, str.POST
sbb eax, eax
xor ecx, ecx
mov qword [rsp + 0x38], rcx
and eax, 0x800000
bts eax, 0x13
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rbx, rax
test rax, rax
jne 0x14003273d
xor r14b, r14b
jmp 0x140032959
lea rcx, [rbp + 0x10]
call fcn.1400314e0
xor eax, eax
mov qword [rbp + 8], 7
lea rdx, str.Content_Type:_multipart_form_data__boundary
mov qword [rbp], rax
lea rcx, [rbp - 0x10]
mov word [rbp - 0x10], ax
lea r8d, [rax + 0x2c]
call fcn.1400051c0
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x10]
xor r8d, r8d
lea rcx, [rbp - 0x10]
call fcn.140007000
cmp qword [rbp + 8], 8
lea rdx, [rbp - 0x10]
mov r9d, 0x20000000
mov rcx, rbx
cmovae rdx, qword [rbp - 0x10]
or r8d, 0xffffffff
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov r8, qword [rsp + 0x48]
lea rax, [rbp - 0x30]
mov rdx, qword [rsp + 0x50]
lea r9, [rbp + 0x10]
mov rcx, r12
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
call fcn.1400315a0
test al, al
je 0x1400328ca
test r15, r15
je 0x140032843
mov r9d, 4
mov r8, r15
mov rcx, rbx
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140032812
lea ecx, [rax + 2]
call fcn.1400200a8
mov rcx, rax
lea rdx, str.Could_not_unset_send_timeout__continuing..._n
call fcn.1400356c0
mov r9d, 4
mov r8, r15
mov rcx, rbx
lea edx, [r9 + 2]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140032843
lea ecx, [rax + 2]
call fcn.1400200a8
mov rcx, rax
lea rdx, str.Could_not_unset_receive_timeout__continuing..._n
call fcn.1400356c0
cmp qword [rbp - 0x18], 0x10
lea r9, [rbp - 0x30]
mov eax, dword [rbp - 0x20]
mov rcx, rbx
cmovae r9, qword [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
xor r15d, r15d
test eax, eax
je 0x1400328cd
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 8
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r15
lea edx, [r15 + 0x13]
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1400328cd
xor edx, edx
lea r8d, [r15 + 0xa]
lea rcx, [rbp + 0x30]
call fcn.14001b2e8
test r14, r14
je 0x1400328ab
mov dword [r14], eax
cmp eax, 0xc8
sete r14b
test r14b, r14b
je 0x1400328d0
mov rdx, r13
mov rcx, rbx
call fcn.140032110
movzx r14d, al
jmp 0x1400328d0
xor r15d, r15d
xor r14b, r14b
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
jb 0x1400328ea
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
inc r8
call fcn.140033f50
mov r8, qword [rbp + 8]
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r15
mov byte [rbp - 0x30], 0
cmp r8, 8
jb 0x140032914
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
inc r8
call fcn.140005310
mov r8, qword [rbp + 0x28]
mov qword [rbp + 8], 7
mov qword [rbp], r15
mov word [rbp - 0x10], r15w
cmp r8, 8
jb 0x14003293f
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
inc r8
call fcn.140005310
mov rcx, rbx
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r15
mov word [rbp + 0x10], r15w
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x578]
movzx eax, r14b
jmp 0x14003297b
xor al, al
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140008e40
add rsp, 0x580
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret