Function at 0x140ab6b00
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 [0x14100f500]
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 0x140ab6b60
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 0x140ab6bcb
mov rcx, qword [rcx]
lea r9, [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x140ab6c16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140dafc50]
call fcn.140ab7250
xor al, al
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.140cd9320
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 0x140ab6c4c
cmp rcx, 6
jne 0x140ab6c30
mov ebx, 1
jmp 0x140ab6c75
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 0x140ab6bf1
cmp rcx, 5
jne 0x140ab6c60
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 0x140ab6ca2
xor r14b, r14b
jmp 0x140ab6e76
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 0x140ab6ce1
xor r14b, r14b
jmp 0x140ab6e67
shl ebx, 0x17
bts ebx, 0x13
cmp qword [r12 + 0x18], 7
jbe 0x140ab6cf4
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 0x140ab6e55
cmp qword [r14 + 0x10], 0
je 0x140ab6d58
cmp qword [r14 + 0x18], 7
jbe 0x140ab6d40
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 0x140ab6dca
mov r9d, 4
mov r8, r14
mov edx, 5
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140ab6d96
mov ecx, 2
call fcn.140ce3254
mov rcx, rax
lea rdx, str.Could_not_unset_send_timeout__continuing..._n
call fcn.140ab71a0
mov r9d, 4
mov r8, r14
mov edx, 6
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140ab6dca
mov ecx, 2
call fcn.140ce3254
mov rcx, rax
lea rdx, str.Could_not_unset_receive_timeout__continuing..._n
call fcn.140ab71a0
mov eax, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x140ab6dd8
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 0x140ab6e55
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 0x140ab6e55
xor edx, edx
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.140cf86ec
test r13, r13
je 0x140ab6e37
mov dword [r13], eax
cmp eax, 0xc8
sete r14b
jne 0x140ab6e58
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140ab6220
movzx r14d, al
jmp 0x140ab6e58
xor r14b, r14b
test rbx, rbx
je 0x140ab6e67
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rdi, rdi
je 0x140ab6e76
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rsi, rsi
je 0x140ab6e84
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, r14b
jmp 0x140ab6bf3