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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a8bc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x200
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x128], xmm0
mov dword [ebp - 0x128], 0x5c8168
mov dword [ebp - 0x124], 0
sub esp, 8
mov dword [ebp - 4], 0
mov eax, esp
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x128]
push 0x20119
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [eax], str.SOFTWAREMcAfeeWebAdvisor
mov dword [eax + 4], 0x1a
call fcn.0041ee10
test eax, eax
jne 0x48c343
lea eax, [ebp - 0x12c]
push eax
sub esp, 8
lea ecx, [ebp - 0x128]
mov eax, esp
mov dword [eax], str.AdhocTelemetryAzure
mov dword [eax + 4], 0x13
call fcn.00423680
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x48c3ed
cmp eax, 2
je 0x48c3ed
call fcn.0044f060
push 2
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x130]
mov dword [ebp - 0x130], str.EventSender.cpp
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x12c], 0x5c
call fcn.0041a580
mov edx, str.Querying_AdhocTelemetryAzure_value_failed:
lea ecx, [ebp - 0x210]
call fcn.0041a5e0
mov edx, 0x432150
lea ecx, [ebp - 0x210]
call fcn.00423bd0
lea edx, [ebp - 0x11c]
lea ecx, [ebp - 0x210]
call fcn.00430260
lea ecx, [ebp - 0x1b8]
call fcn.0044dd10
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
xor eax, eax
cmp eax, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x124]
sete byte [ebp - 0x16d]
mov dword [ebp - 0x128], 0x5c8168
test eax, eax
je 0x48c371
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x16d], 0
jne 0x48c3f8
call fcn.0044f060
push 3
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x128]
mov dword [ebp - 0x128], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x124], 0x104
call fcn.0041a580
mov edx, str.Not_sending_to_Azure_as_AdhocTelemetryAzure_registry_key_is_set_to_false
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov al, 1
jmp 0x48cb22
mov eax, dword [ebp - 0x12c]
jmp 0x48c345
cmp byte [esi + 0x28], 0
jne 0x48c457
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x128]
mov dword [ebp - 0x128], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x124], 0x10a
call fcn.0041a580
lea ecx, [ebp - 0xb8]
call fcn.0048ee00
lea ecx, [ebp - 0x60]
call fcn.0044dd10
mov dword [ebp - 4], 3
jmp 0x48cb0d
cmp dword [esi + 0x2c], 0
lea ecx, [esi + 0x2c]
movzx eax, word [esi + 0x68]
je 0x48ca97
cmp dword [esi + 0x30], 0
jne 0x48ca97
lea edx, [ebp - 0x16c]
mov dword [ebp - 0x164], 0
push edx
push eax
push dword [esi + 0x60]
xorps xmm0, xmm0
movq qword [ebp - 0x16c], xmm0
call fcn.004979f0
test al, al
je 0x48ca97
mov dword [ebp - 0x12c], esi
xor eax, eax
mov dword [ebp - 4], 8
cmp dword [esi + 0x5c], 2
mov ecx, 0x800000
cmove eax, ecx
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x48c9e1
cmp dword [esi + 0x34], 0
jne 0x48c9e1
push eax
push 0
push 0
push 0
lea eax, [esi + 0x8c]
push eax
push dword [esi + 0x48c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0x34], eax
test eax, eax
je 0x48c9e1
mov dword [ebp - 0x124], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x148]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
push 0x5c7a40
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x134], 0
call fcn.00419c40
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.0048b640
test al, al
jne 0x48c5ba
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x11c], 0x120
call fcn.0041a580
mov edx, str.Failed_to_create_access_token
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov byte [ebp - 0x16d], 0
jmp 0x48c9b8
mov ecx, dword [ebp - 0x138]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xf
jb 0x48cb42
cmp dword [ebp - 0x134], 8
lea eax, [ebp - 0x148]
push ecx
cmovae eax, dword [ebp - 0x148]
push eax
push 0xf
push str.Authorization:
push ecx
push dword [ebp - 0x124]
lea ecx, [ebp - 0x160]
call fcn.00420d00
lea eax, [esi + 0x490]
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x48c611
mov eax, dword [eax]
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x48c917
push 0x40000000
push dword [esi + 0x4a0]
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x48c917
cmp dword [ebp - 0x14c], 8
lea eax, [ebp - 0x160]
mov ecx, dword [esi + 0x34]
cmovae eax, dword [ebp - 0x160]
test ecx, ecx
je 0x48c89f
push 0x40000000
push dword [ebp - 0x150]
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x48c89f
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x48c67e
mov edi, dword [edi]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x48c824
push 0
push ecx
push ecx
push edi
push 0xffffffffffffffff
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
jne 0x48c824
mov eax, dword [esi + 0x34]
test eax, eax
je 0x48c7a9
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp eax, 1
jne 0x48c7a9
mov edi, dword [esi + 0x34]
test edi, edi
jne 0x48c6ca
xor eax, eax
jmp 0x48c718
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0050cdd0
add esp, 0xc
mov dword [ebp - 0x11c], 0xff
lea eax, [ebp - 0x11c]
push 0
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0x13
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x48c718
lea eax, [ebp - 0x118]
push eax
call fcn.00537f20
add esp, 4
mov dword [ebp - 0x11c], eax
cmp dword [esi + 0x5a0], eax
je 0x48c79d
cmp dword [esi + 0x5a4], eax
je 0x48c79d
call fcn.0044f060
push 1
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x168], str.EventSender.cpp
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x164], 0x140
call fcn.0041a580
mov edx, str.HTTP_status_error_for_Azure:
lea ecx, [ebp - 0x210]
call fcn.0041a5e0
lea edx, [ebp - 0x11c]
lea ecx, [ebp - 0x210]
call fcn.0041a6e0
lea ecx, [ebp - 0x1b8]
call fcn.0044dd10
mov byte [ebp - 4], 0x12
jmp 0x48c98d
mov byte [ebp - 0x16d], 1
jmp 0x48c9ad
call fcn.0044f060
push 1
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x168], str.EventSender.cpp
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x164], 0x139
call fcn.0041a580
mov edx, str.HTTP_receive_response_failed_for_Azure:
lea ecx, [ebp - 0x210]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x210]
call fcn.004301e0
lea ecx, [ebp - 0x1b8]
call fcn.0044dd10
mov byte [ebp - 4], 0x11
jmp 0x48c98d
call fcn.0044f060
push 1
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x168], str.EventSender.cpp
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x164], 0x133
call fcn.0041a580
mov edx, str.HTTP_send_request_failed_for_Azure:
lea ecx, [ebp - 0x210]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x210]
call fcn.004301e0
lea ecx, [ebp - 0x1b8]
call fcn.0044dd10
mov byte [ebp - 4], 0x10
jmp 0x48c98d
call fcn.0044f060
push 1
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x168], str.EventSender.cpp
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x164], 0x12d
call fcn.0041a580
mov edx, str.HTTP_add_request_header_failed_for_Azure_Authorization:
lea ecx, [ebp - 0x210]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x210]
call fcn.004301e0
lea ecx, [ebp - 0x1b8]
call fcn.0044dd10
mov byte [ebp - 4], 0xf
jmp 0x48c98d
call fcn.0044f060
push 1
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x168], str.EventSender.cpp
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x164], pe_nt_image_headers32
call fcn.0041a580
mov edx, str.HTTP_add_request_header_failed_for_AZURE_CONTENT_TYPE:
lea ecx, [ebp - 0x210]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x210]
call fcn.004301e0
lea ecx, [ebp - 0x1b8]
call fcn.0044dd10
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1b8]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.004f317c
add esp, 4
mov byte [ebp - 0x16d], 0
lea ecx, [ebp - 0x160]
call fcn.004196c0
lea ecx, [ebp - 0x148]
call fcn.004196c0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x48ca77
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x34], 0
jmp 0x48ca77
call fcn.0044f060
push 1
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x168], str.EventSender.cpp
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x164], 0x118
call fcn.0041a580
mov edx, str.HTTP_open_request_failed:
lea ecx, [ebp - 0x210]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x210]
call fcn.004301e0
lea ecx, [ebp - 0x1b8]
call fcn.0044dd10
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov byte [ebp - 0x16d], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x48ca8c
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x30], 0
mov al, byte [ebp - 0x16d]
jmp 0x48cb22
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x168], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x164], 0x110
call fcn.0041a580
mov edx, str.HTTP_connection_failed:
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0xb8]
call fcn.004301e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
mov dword [ebp - 4], 7
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.std::ios_base.0
push eax
call fcn.004f317c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00417d10
int3