Function at 0x4933b0
Capabilities:
Check http status code
Initialize winhttp library
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 0x55b1d6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f8
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
cmp dword [ecx + 0x18], 0
jne 0x493473
call fcn.0044f060
push 1
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], 0x5d5c74
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x2e4], 0x53
call fcn.0041a580
mov edx, str.Invalid_Hash
lea ecx, [ebp - 0x158]
call fcn.0041a5e0
lea ecx, [ebp - 0x100]
call fcn.0044dd10
lea eax, [ebp - 0x100]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
xor al, al
jmp 0x493cfe
xorps xmm0, xmm0
mov dword [ebp - 0x2d0], 0
movups xmmword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2cc], 0xf
mov byte [ebp - 0x2e0], 0
lea eax, [ebp - 0x2e0]
mov dword [ebp - 4], 1
push eax
call fcn.00493d40
test al, al
jne 0x4934ba
mov byte [ebp - 0x2f1], al
jmp 0x493cc2
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], 0
xor esi, esi
movq qword [ebp - 0x2c8], xmm0
xor edi, edi
mov dword [ebp - 0x2c4], esi
mov dword [ebp - 0x2c0], edi
push edi
push edi
push edi
push edi
push 0x5d5434
mov byte [ebp - 4], 2
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x2c8], eax
test eax, eax
je 0x493c0e
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2e4], edi
push eax
push 0x1bb
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c8]
push str.home.mcafee.com
movq qword [ebp - 0x2ec], xmm0
call fcn.004979f0
mov esi, dword [ebp - 0x2c4]
mov edi, dword [ebp - 0x2c0]
test al, al
je 0x493c0e
test esi, esi
je 0x493c0e
test edi, edi
jne 0x493c0e
push 0x800000
push edi
push edi
push edi
push str._webservices_eulaservice.asmx
push str.POST
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
mov dword [ebp - 0x2c0], edi
test edi, edi
je 0x493c0e
push 0x20000000
push 0xffffffffffffffff
push str.Host:_home.mcafee.com
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x493c0e
push 0x20000000
push 0xffffffffffffffff
push str.SOAPAction:_http:__home.mcafee.com_SaveEulaTrackingDetails
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x493c0e
push 0x20000000
push 0xffffffffffffffff
push str.Content_Type:_text_xml__charsetutf_8
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x493c0e
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], 0x10
push 0
cmovae ecx, dword [ebp - 0x2e0]
push eax
push eax
push ecx
push 0xffffffffffffffff
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
jne 0x493c0e
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp eax, 1
jne 0x493c0e
push 0x100
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.0050cdd0
add esp, 0xc
mov dword [ebp - 0x2bc], 0xff
lea eax, [ebp - 0x2bc]
push 0
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0
push 0x13
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4939cc
lea eax, [ebp - 0x1b8]
push eax
call fcn.00537f20
add esp, 4
cmp eax, 0xc8
jne 0x4939cc
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0050cdd0
add esp, 0xc
mov dword [ebp - 0x2bc], 0x7f
lea eax, [ebp - 0x2bc]
push 0
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push 5
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x493727
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], 0x5d5c74
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x2e4], 0x74
call fcn.0041a580
mov edx, str.HTTP_query_content_length_failed_:
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], eax
lea ecx, [ebp - 0xb8]
call fcn.004301e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
mov byte [ebp - 4], 9
jmp 0x493c81
lea eax, [ebp - 0x98]
push eax
call fcn.00537f20
add esp, 4
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f8], eax
lea ecx, [eax + 1]
push 0x5b417e
push ecx
call fcn.0050a503
mov esi, eax
add esp, 8
mov dword [ebp - 0x2bc], esi
mov byte [ebp - 4], 0xa
test esi, esi
jne 0x4937df
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], 0x5d5c74
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x2e4], 0x7b
call fcn.0041a580
mov edx, str.Unable_to_allocate
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea edx, [ebp - 0x2f8]
lea ecx, [ebp - 0xb8]
call fcn.004301e0
mov edx, str._bytes_for_response
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
mov byte [ebp - 4], 0xb
jmp 0x493901
mov eax, dword [ebp - 0x2fc]
mov edx, esi
mov ecx, eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x304], esi
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x2fc], ecx
nop dword [eax + eax]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
push edx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp eax, 1
jne 0x493920
mov ecx, dword [ebp - 0x2f0]
test ecx, ecx
je 0x493920
cmp dword [ebp - 0x308], ecx
jb 0x493869
mov edx, dword [ebp - 0x304]
mov eax, dword [ebp - 0x2fc]
add edx, ecx
sub eax, ecx
mov dword [ebp - 0x304], edx
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2fc], eax
jmp 0x493810
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], 0x5d5c74
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x2e4], 0x86
call fcn.0041a580
mov edx, str.Not_enough_space_in_buffer:_bufferLength_
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea edx, [ebp - 0x2f8]
lea ecx, [ebp - 0xb8]
call fcn.004301e0
mov edx, str.__Read_
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea edx, [ebp - 0x2f0]
lea ecx, [ebp - 0xb8]
call fcn.004301e0
mov edx, 0x5d3b1c
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.std::ios_base.0
push eax
call fcn.004f317c
add esp, 4
mov byte [ebp - 0x2f1], 0
jmp 0x4939b4
call fcn.0044f060
push 3
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x300]
mov dword [ebp - 0x300], 0x5d5c74
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x2fc], 0x8e
call fcn.0041a580
mov edx, str.SaveEulaTrackingDetails_succeeded.
lea ecx, [ebp - 0x158]
call fcn.0041a5e0
lea ecx, [ebp - 0x100]
call fcn.0044dd10
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xd
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 - 4], 0xa
lea eax, [ebp - 0x2bc]
push dword [ebp - 0x2e4]
push eax
call fcn.00494050
mov esi, dword [ebp - 0x2bc]
mov byte [ebp - 0x2f1], al
test esi, esi
je 0x4939c1
push esi
call fcn.0050aa90
add esp, 4
mov esi, dword [ebp - 0x2c4]
jmp 0x493c9b
push 0x100
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.0050cdd0
add esp, 0xc
mov dword [ebp - 0x2e4], 0xff
lea eax, [ebp - 0x2e4]
push 0
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0
push 0x13
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x493a93
lea eax, [ebp - 0x1b8]
push eax
call fcn.00537f20
add esp, 4
cmp eax, 0x190
jne 0x493a93
call fcn.0044f060
push 1
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], 0x5d5c74
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x2e4], 0x93
call fcn.0041a580
mov edx, str.SaveEulaTrackingDetails_failed_with_status_code__400_
lea ecx, [ebp - 0x158]
call fcn.0041a5e0
lea ecx, [ebp - 0x100]
call fcn.0044dd10
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x100]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
jmp 0x493c8b
push 0x100
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.0050cdd0
add esp, 0xc
mov dword [ebp - 0x2e4], 0xff
lea eax, [ebp - 0x2e4]
push 0
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0
push 0x13
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x493b51
lea eax, [ebp - 0x1b8]
push eax
call fcn.00537f20
add esp, 4
cmp eax, 0x193
jne 0x493b51
call fcn.0044f060
push 1
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], 0x5d5c74
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x2e4], 0x99
call fcn.0041a580
lea ecx, [ebp - 0x158]
call fcn.00494dd0
lea ecx, [ebp - 0x100]
call fcn.0044dd10
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x100]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
jmp 0x493c8b
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], 0x5d5c74
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x2e4], 0x9e
call fcn.0041a580
mov edx, str.SaveEulaTrackingDetails_failed_with_error_code:
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
push 0x100
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.0050cdd0
add esp, 0xc
mov dword [ebp - 0x2e4], 0xff
lea eax, [ebp - 0x2e4]
push 0
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x13
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x493be9
lea eax, [ebp - 0x2b8]
push eax
call fcn.00537f20
add esp, 4
lea edx, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], eax
lea ecx, [ebp - 0xb8]
call fcn.0041a6e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
mov byte [ebp - 4], 0x10
jmp 0x493c81
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], 0x5d5c74
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x2e4], 0x6b
call fcn.0041a580
mov edx, str.Internet_Session_initialization_failed._API_call_stops.
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], eax
lea ecx, [ebp - 0xb8]
call fcn.004301e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
mov byte [ebp - 4], 8
mov dword [ebp - 0x60], vtable.std::ios_base.0
lea eax, [ebp - 0x60]
push eax
call fcn.004f317c
add esp, 4
mov byte [ebp - 0x2f1], 0
test edi, edi
je 0x493ca6
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test esi, esi
je 0x493cb1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x493cc2
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 0x10
jb 0x493cf8
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x493cee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x493d1c
push ecx
push edx
call fcn.0050a4c5
add esp, 8
mov al, byte [ebp - 0x2f1]
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
call fcn.00522dda
int3