Function at 0x4e3190
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5908b1
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5ff1d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
lea edx, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00513bb0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
mov edi, 0x60946c
push 0
cmovae eax, dword [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.004d7fb0
mov edx, eax
cmp edx, 0xffffffff
je 0x4e32af
cmp dword [0x609480], 0x10
mov eax, dword [ebp - 0x1c]
cmovae edi, dword [0x60946c]
add eax, edi
mov al, byte [eax + edx + 1]
cmp al, 0x34
jne 0x4e328f
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4e3235
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004b2e90
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 8
jb 0x4e325c
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004a5150
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x4e3285
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.004a5150
mov eax, 3
jmp 0x4e331d
cmp al, 0x33
je 0x4e3615
cmp al, 0x32
je 0x4e3676
lea ecx, [ebp - 0x2c]
cmp al, 0x31
jne 0x4e3721
jmp 0x4e36da
cmp byte [esi], 1
jne 0x4e3779
lea eax, [ebp + 0x20]
mov edx, str._ScopedViewInline.aspx_updateid
push eax
lea ecx, [ebp - 0x8c]
call fcn.004c03c0
add esp, 4
push 0
push 0
push 0
push 0
push str.HTTPGET_agent
mov byte [ebp - 4], 4
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x4e3339
mov byte [esi], al
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x8c]
call fcn.004a4880
lea ecx, [ebp - 0x2c]
call fcn.004b1580
lea ecx, [ebp + 8]
call fcn.004a4880
lea ecx, [ebp + 0x20]
call fcn.004a4880
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0xbb8
push eax
push 6
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.www.catalog.update.microsoft.com
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [ebp - 0xc0], ecx
push 0
test ecx, ecx
jne 0x4e3389
mov byte [esi], al
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
jmp 0x4e32ef
cmp dword [ebp - 0x78], 8
lea edx, [ebp - 0xd0]
push 0x4400000
push edx
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xd0], 0x5db344
cmovae eax, dword [ebp - 0x8c]
push eax
push 0x5de800
push ecx
mov dword [ebp - 0xcc], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
push 0
test ebx, ebx
jne 0x4e33f0
mov byte [esi], al
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xc0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
jmp 0x4e32ef
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x4e3770
push 0
push 0x2000
lea ecx, [ebp - 0x44]
mov byte [esi], 1
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.004b6a00
push 0x5d843c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.004a48c0
mov byte [ebp - 4], 6
nop
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0xc8]
push ecx
push dword [ebp - 0x34]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
jne 0x4e375a
cmp dword [ebp - 0xc8], 0
jbe 0x4e375a
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xbc]
call fcn.005135a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
call fcn.004aaa00
lea ecx, [ebp - 0x74]
cmp ecx, eax
je 0x4e34a3
push 0xffffffffffffffff
push 0
push eax
call fcn.004a4df0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 6
call fcn.004a4880
push 0x5d843c
lea ecx, [ebp - 0x5c]
call fcn.004a48c0
push str._span_id_ScopedViewHandler_msrcSeverity__
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.004a48c0
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0x74]
mov esi, dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push esi
push 0
push eax
call fcn.004a4990
cmp eax, 0xffffffff
je 0x4e353e
add esi, eax
lea ecx, [ebp - 0x74]
push esi
push str.__span_
call fcn.004ca660
cmp eax, 0xffffffff
je 0x4e353e
sub eax, esi
lea ecx, [ebp - 0x74]
push eax
push esi
lea eax, [ebp - 0xbc]
push eax
call fcn.004aecd0
push eax
lea ecx, [ebp - 0x5c]
call fcn.004aa2c0
lea ecx, [ebp - 0xbc]
call fcn.004a4880
mov edx, 0x5d843c
lea ecx, [ebp - 0x5c]
call fcn.004c7de0
test al, al
je 0x4e373e
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xc0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x5c]
call fcn.005130d0
mov edx, str.critical
lea ecx, [ebp - 0x5c]
call fcn.004aed10
test al, al
je 0x4e35d6
lea ecx, [ebp - 0xa4]
call fcn.004a4880
lea ecx, [ebp - 0x5c]
call fcn.004a4880
lea ecx, [ebp - 0x74]
call fcn.004a4880
lea ecx, [ebp - 0x44]
call fcn.004b1580
lea ecx, [ebp - 0x8c]
call fcn.004a4880
lea ecx, [ebp - 0x2c]
call fcn.004b1580
lea ecx, [ebp + 8]
call fcn.004a4880
lea ecx, [ebp + 0x20]
call fcn.004a4880
mov eax, 3
jmp 0x4e331d
mov edx, str.important
lea ecx, [ebp - 0x5c]
call fcn.004aed10
test al, al
je 0x4e3637
lea ecx, [ebp - 0xa4]
call fcn.004a4880
lea ecx, [ebp - 0x5c]
call fcn.004a4880
lea ecx, [ebp - 0x74]
call fcn.004a4880
lea ecx, [ebp - 0x44]
call fcn.004b1580
lea ecx, [ebp - 0x8c]
call fcn.004a4880
lea ecx, [ebp - 0x2c]
call fcn.004b1580
lea ecx, [ebp + 8]
call fcn.004a4880
lea ecx, [ebp + 0x20]
call fcn.004a4880
mov eax, 2
jmp 0x4e331d
mov edx, str.moderate
lea ecx, [ebp - 0x5c]
call fcn.004aed10
test al, al
je 0x4e3698
lea ecx, [ebp - 0xa4]
call fcn.004a4880
lea ecx, [ebp - 0x5c]
call fcn.004a4880
lea ecx, [ebp - 0x74]
call fcn.004a4880
lea ecx, [ebp - 0x44]
call fcn.004b1580
lea ecx, [ebp - 0x8c]
call fcn.004a4880
lea ecx, [ebp - 0x2c]
call fcn.004b1580
lea ecx, [ebp + 8]
call fcn.004a4880
lea ecx, [ebp + 0x20]
call fcn.004a4880
mov eax, 1
jmp 0x4e331d
mov edx, 0x5dbbf0
lea ecx, [ebp - 0x5c]
call fcn.004aed10
lea ecx, [ebp - 0xa4]
test al, al
je 0x4e36f6
call fcn.004a4880
lea ecx, [ebp - 0x5c]
call fcn.004a4880
lea ecx, [ebp - 0x74]
call fcn.004a4880
lea ecx, [ebp - 0x44]
call fcn.004b1580
lea ecx, [ebp - 0x8c]
call fcn.004a4880
lea ecx, [ebp - 0x2c]
call fcn.004b1580
lea ecx, [ebp + 8]
call fcn.004a4880
lea ecx, [ebp + 0x20]
call fcn.004a4880
xor eax, eax
jmp 0x4e331d
call fcn.004a4880
lea ecx, [ebp - 0x5c]
call fcn.004a4880
lea ecx, [ebp - 0x74]
call fcn.004a4880
lea ecx, [ebp - 0x44]
call fcn.004b1580
lea ecx, [ebp - 0x8c]
call fcn.004a4880
lea ecx, [ebp - 0x2c]
call fcn.004b1580
lea ecx, [ebp + 8]
call fcn.004a4880
lea ecx, [ebp + 0x20]
call fcn.004a4880
or eax, 0xffffffff
jmp 0x4e331d
lea ecx, [ebp - 0xa4]
call fcn.004a4880
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.004a4880
jmp 0x4e3440
lea ecx, [ebp - 0x74]
call fcn.004a4880
lea ecx, [ebp - 0x44]
call fcn.004b1580
push ebx
jmp 0x4e33d8
mov byte [esi], 0
push ebx
jmp 0x4e33d8
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4e378e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004b2e90
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4e37a3
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004a5150
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x4e331d
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.004a5150
jmp 0x4e331d