Function at 0x140086770
Capabilities:
Prepare http request
Receive http response
Set http header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x50]
call fcn.1400f3470
nop
xor r14d, r14d
mov dword [rbp + 0x68], r14d
mov r9d, 0x20119
lea r8, str.SOFTWAREMcAfeeWebAdvisor
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x50]
call fcn.1400f3680
lea r15, str.EventSender.cpp
lea r12, vtable.std::ios_base.0
test eax, eax
jne 0x140086894
lea r8, [rbp + 0x68]
lea rdx, str.AdhocTelemetryAzure
lea rcx, [rbp + 0x50]
call fcn.1400f36a0
mov dword [rsp + 0x40], eax
test eax, 0xfffffffd
je 0x140086894
call fcn.1400595a0
lea r8d, [r14 + 2]
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], 0x5d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.Querying_AdhocTelemetryAzure_value_failed:
lea rcx, [rsp + 0x58]
call fcn.140026650
lea rcx, [rsp + 0x58]
call fcn.14003cd50
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14002b9e0
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
mov eax, r14d
mov dword [rbp + 0x68], eax
jmp 0x140086897
mov eax, dword [rbp + 0x68]
cmp eax, 1
sete bl
lea rcx, [rbp + 0x50]
call fcn.1400f3520
test bl, bl
jne 0x14008690e
call fcn.1400595a0
mov r8d, 3
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], 0x105
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.Not_sending_to_Azure_as_AdhocTelemetryAzure_registry_key_is_set_to_false
lea rcx, [rsp + 0x58]
call fcn.140026650
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
mov al, 1
jmp 0x140086f95
cmp byte [rdi + 0x40], 0
jne 0x140086976
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], 0x10b
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.Failed_to_send_event_to_Azure__event_sender_not_initialized_for_Azure.
lea rcx, [rsp + 0x58]
call fcn.140026650
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
jmp 0x140086f93
lea rbx, [rdi + 0x48]
cmp qword [rbx], 0
je 0x140086f20
cmp qword [rbx + 8], 0
jne 0x140086f20
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea r9, [rbp + 0x50]
movzx r8d, word [rdi + 0xa4]
mov rdx, qword [rdi + 0x98]
mov rcx, rbx
call fcn.14009bb30
test al, al
je 0x140086f20
mov qword [rbp + 0x68], rdi
mov eax, r14d
mov ecx, 0x800000
cmp dword [rdi + 0x94], 2
cmove eax, ecx
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x140086e91
cmp qword [rdi + 0x58], 0
jne 0x140086e91
lea r8, [rdi + 0xe8]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rdi + 0x4e8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rdi + 0x58], rax
test rax, rax
je 0x140086e91
mov qword [rsp + 0x48], rdi
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r14w
xor r8d, r8d
lea rdx, [0x140194f20]
lea rcx, [rbp + 0x70]
call fcn.140028220
nop
lea rdx, [rbp + 0x70]
mov rcx, rdi
call fcn.140085c30
test al, al
jne 0x140086ac5
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], 0x121
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.Failed_to_create_access_token
lea rcx, [rsp + 0x58]
call fcn.140026650
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
xor dil, dil
jmp 0x140086e6e
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x80]
sub rax, rcx
cmp rax, 0xf
jb 0x140086fc0
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rax, qword [rbp + 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayDestroy
lea r9, str.Authorization:
lea rcx, [rbp + 0x90]
call fcn.1400264d0
nop
lea rdx, [rdi + 0x4f0]
cmp qword [rdx + 0x18], 8
jb 0x140086b2c
mov rdx, qword [rdx]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140086deb
mov r9d, 0x40000000
mov r8d, dword [rdi + 0x500]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x140086deb
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rdx, qword [rbp + 0x90]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140086d76
mov r9d, 0x40000000
mov r8d, dword [rbp + 0xa0]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x140086d76
mov eax, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x140086ba2
mov rsi, qword [rsi]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140086cfe
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, rsi
xor edx, edx
mov r8d, 0xffffffff
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
jne 0x140086cfe
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140086c86
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp eax, 1
jne 0x140086c86
mov rcx, rbx
call fcn.14009bc60
mov dword [rsp + 0x40], eax
cmp dword [rdi + 0x680], eax
je 0x140086c7e
cmp dword [rdi + 0x684], eax
je 0x140086c7e
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], 0x141
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.HTTP_status_error_for_Azure:
lea rcx, [rsp + 0x58]
call fcn.140026650
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140064800
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
jmp 0x140086e5e
mov dil, 1
jmp 0x140086e61
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], 0x13a
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.HTTP_receive_response_failed_for_Azure:
lea rcx, [rsp + 0x58]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14003cd90
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
jmp 0x140086e5e
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], 0x134
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.HTTP_send_request_failed_for_Azure:
lea rcx, [rsp + 0x58]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14003cd90
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
jmp 0x140086e5e
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], 0x12e
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.HTTP_add_request_header_failed_for_Azure_Authorization:
lea rcx, [rsp + 0x58]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14003cd90
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
jmp 0x140086e5e
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], 0x129
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.HTTP_add_request_header_failed_for_AZURE_CONTENT_TYPE:
lea rcx, [rsp + 0x58]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14003cd90
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
xor dil, dil
lea rcx, [rbp + 0x90]
call fcn.1400285b0
nop
lea rcx, [rbp + 0x70]
call fcn.1400285b0
nop
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140086f07
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 0x10], r14
jmp 0x140086f07
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], 0x119
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.HTTP_open_request_failed:
lea rcx, [rsp + 0x58]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14003cd90
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
xor dil, dil
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140086f1a
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbx + 8], r14
movzx eax, dil
jmp 0x140086f95
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], 0x111
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026620
lea rdx, str.HTTP_connection_failed:
lea rcx, [rsp + 0x58]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14003cd90
lea rcx, [rbp - 0x10]
call fcn.14005be70
nop
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1400fa82c
nop
xor al, al
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140028c60
nop
int3