Function at 0x40b3c8
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f9c8
push 0x40e716
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x10a8
call fcn.0040e720
push ebx
push esi
push edi
push 1
pop esi
mov dword [ebp - 0x1c], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bea5
push dword [ebp + 8]
call fcn.0040b2cd
pop ecx
test eax, eax
je 0x40bea5
cmp dword [0x414b14], 0
jne 0x40b486
push 0x14
push 0x414afc
push 0x14
push 0x414ae8
call fcn.0040b0c4
push 0x20
push 0x414ac8
call fcn.00408d88
lea eax, [ebp - 0xa1c]
push eax
call fcn.00409bf7
add esp, 0x1c
test eax, eax
je 0x40b470
push 0x1e
lea eax, [ebp - 0xa1c]
push eax
push 0x414aa8
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp 0x40b480
push 0x4132f4
push 0x414aa8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [0x414b14], esi
push 0x414b1c
lea eax, [ebp - 0xd44]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call esi
push str.__xml_version_1.0__encoding_UTF_8_____request_
lea eax, [ebp - 0x81c]
push eax
call esi
push 0x41332c
push str.sc_xml_ver
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc44], eax
push 0x41333c
push dword [ebp + 8]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
call ebx
mov esi, eax
push str.suninstallstat
push 0x413350
lea eax, [ebp - 0xd5c]
push eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
call edi
add esp, 0x14
test esi, esi
je 0x40b520
mov eax, esi
sub eax, dword [ebp + 8]
mov dword [ebp - 0xc44], eax
inc esi
push esi
push 0x413354
lea eax, [ebp - 0xd5c]
push eax
call edi
add esp, 0xc
push str.suninstallstatdev
lea eax, [ebp - 0xd5c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
call esi
test eax, eax
jne 0x40b53b
and dword [ebp - 0x1c], eax
lea eax, [ebp - 0xd5c]
push eax
push str.reportsuiteid
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
push 0x414ac8
push str.visitorid
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
push 0x14
lea eax, [ebp - 0xd5c]
push eax
push str.PingTest
call fcn.0040aebf
add esp, 0x24
test eax, eax
jne 0x40b588
cmp dword [ebp - 0x1c], eax
jne 0x40b5a1
push 0x414ac8
push str.prop21
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
push 0x41339c
push dword [ebp + 8]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x40b60a
push 0x4133a8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.https:__sjremetrics.java.com
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40b5ea
push 0xb3e9fd
push 0x4133e8
lea eax, [ebp - 0xa1c]
push eax
call edi
add esp, 0xc
jmp 0x40b5fc
push str.nonprodpasswd
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xa1c]
push eax
push 0x4133fc
jmp 0x40b614
push str.nonhttpspasswd
push 0x413414
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
mov ebx, dword [ebp + 0x10]
push ebx
push str.pagename
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
push dword [ebp + 0x18]
push str.evar2
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0x18
cmp dword [ebp + 0x1c], 0
jne 0x40b661
push 0x414aa8
push 0x413430
jmp 0x40b669
push dword [ebp + 0x1c]
push str.evar3
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
push str.i586
push str.evar4
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
push 0x414afc
push str.evar5
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
push 0x414ae8
push str.evar6
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0x24
cmp dword [ebp + 0xc], 0
jne 0x40b714
mov dword [ebp - 0xd60], 0x14
push 0x413460
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xd60]
push eax
lea eax, [ebp - 0xc40]
push eax
push 0x413464
call fcn.00408f1f
lea eax, [ebp - 0xc40]
push eax
push 0x41346c
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0x18
jmp 0x40b72b
push dword [ebp + 0xc]
push str.evar7
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
push dword [ebp + 0x14]
push str.evar8
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
push 0x413484
push ebx
call esi
test eax, eax
jne 0x40b84c
push str.event6_event7
push 0x413498
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
push 0x414b20
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x200
lea eax, [ebp - 0xc28]
push eax
push str.InstallStatus
call fcn.0040aebf
xor ebx, ebx
push ebx
call fcn.0040af8e
push ebx
push str.VisitorId
call fcn.004090e6
push ebx
push str.Method
call fcn.004090e6
add esp, 0x20
push str.decline
lea eax, [ebp - 0xc28]
push eax
call esi
test eax, eax
jne 0x40b7ce
push 1
pop eax
jmp 0x40bea7
push 0x4134cc
lea eax, [ebp - 0xc28]
push eax
call esi
test eax, eax
jne 0x40b7f0
cmp dword [ebp + 0x24], 0x643
jne 0x40b7f0
mov dword [ebp + 0x24], 0xffffff80
push dword [ebp + 0x24]
push 0x4134d4
lea eax, [ebp - 0xd44]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40b83b
push str.exists
lea eax, [ebp - 0xc28]
push eax
call esi
test eax, eax
je 0x40b83b
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0xd44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xd44]
push eax
push 0x4134e4
jmp 0x40b9ad
push 0x4134f0
push ebx
call esi
test eax, eax
jne 0x40b89f
push str.event5
push 0x4134fc
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
push dword [ebp + 0x24]
push str._jre_d
lea eax, [ebp - 0xd44]
push eax
call edi
lea eax, [ebp - 0xd44]
push eax
push str.products
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0x24
jmp 0x40b9bc
push 0x413518
push ebx
call esi
test eax, eax
jne 0x40b8ba
push str.event4
push 0x413524
jmp 0x40b9ad
push 0x41352c
push ebx
call esi
test eax, eax
jne 0x40b8d5
push str.event1
push 0x413538
jmp 0x40b9ad
push 0x413540
push ebx
call esi
test eax, eax
jne 0x40b9bc
push str.event2
push str.events
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
xor esi, esi
cmp dword [ebp + 0x24], esi
jne 0x40b90d
push esi
push 0x413554
jmp 0x40b915
push dword [ebp + 0x24]
push 0x413558
lea eax, [ebp - 0xa1c]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xa1c]
push eax
push str.evar9
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
cmp dword [ebp + 0x20], esi
jne 0x40b949
push esi
push 0x413564
jmp 0x40b951
push dword [ebp + 0x20]
push 0x413568
lea eax, [ebp - 0xa1c]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xa1c]
push eax
push str.evar10
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
mov dword [ebp - 0xd64], esi
lea eax, [ebp - 0xd64]
push eax
push str.NotifyInstall
call fcn.004094b8
add esp, 0x14
cmp dword [ebp - 0xd64], esi
jne 0x40b9a3
push 0x413584
push 0x413588
jmp 0x40b9ad
push 0x413590
push str.evar11
lea eax, [ebp - 0x81c]
push eax
call fcn.0040b384
add esp, 0xc
push str.__request_
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor esi, esi
mov dword [ebp - 0xa20], esi
mov dword [ebp - 0xd48], esi
mov dword [ebp - 0xc2c], esi
mov dword [ebp - 0xa28], esi
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push 0x4135a8
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xa20], eax
cmp eax, esi
je 0x40be55
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0xea8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xea8], 0x3c
lea eax, [ebp - 0xe6c]
mov dword [ebp - 0xe98], eax
mov eax, 0x100
mov dword [ebp - 0xe94], eax
xor edi, edi
mov word [ebp - 0xe90], di
lea ecx, [ebp - 0x10a8]
mov dword [ebp - 0xe7c], ecx
mov dword [ebp - 0xe78], eax
lea ecx, [ebp - 0xfa8]
mov dword [ebp - 0xe74], ecx
mov dword [ebp - 0xe70], eax
mov esi, dword [ebp - 0xc44]
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
and byte [ebp + esi - 0xc28], 0
lea eax, [ebp - 0xea8]
push eax
push edi
push esi
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push edi
push edi
push 3
push 0x414b24
push 0x414b28
push dword [ebp - 0xe90]
push dword [ebp - 0xe98]
push dword [ebp - 0xa20]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0xd48], eax
cmp eax, edi
je 0x40be55
xor esi, esi
cmp dword [ebp - 0xe78], esi
je 0x40bae1
push dword [ebp - 0xe7c]
jmp 0x40bae6
push 0x4135b0
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0xe70], esi
je 0x40bb0e
push dword [ebp - 0xe74]
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4135b4
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
pop ecx
test eax, eax
push esi
je 0x40bb41
push 0x4c00000
push esi
push 0x414b2c
push 0x4135c0
lea eax, [ebp - 0xc28]
push eax
push 0x4135cc
jmp 0x40bb5d
push 0x4400000
push esi
push 0x414b30
push 0x4135d4
lea eax, [ebp - 0xc28]
push eax
push str.POST
push dword [ebp - 0xd48]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0xc2c], eax
cmp eax, esi
je 0x40be55
push 1
pop edi
mov dword [ebp - 0xd6c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x81c]
push eax
push esi
push esi
push dword [ebp - 0xc2c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40bc0e
cmp dword [ebp - 0xd6c], esi
je 0x40be55
call ebx
mov dword [ebp - 0x10b8], eax
mov ecx, eax
sub ecx, 0x2ee2
je 0x40bc03
sub ecx, 5
je 0x40bc03
sub ecx, 0x16
je 0x40bc03
mov dword [ebp - 0xd6c], esi
push esi
push 7
push eax
push dword [ebp - 0xc2c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x40bb88
mov dword [ebp - 0xd6c], edi
jmp 0x40bb88
mov dword [ebp - 0xd6c], esi
jmp 0x40bb88
cmp dword [ebp - 0xd6c], esi
je 0x40be55
call ebx
mov dword [ebp - 0x10b4], eax
and dword [ebp - 0x10b0], 0
mov dword [ebp - 0xd68], 4
push 0
lea eax, [ebp - 0xd68]
push eax
lea eax, [ebp - 0x10b0]
push eax
mov edi, 0x20000013
push edi
push dword [ebp - 0xc2c]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
call esi
test eax, eax
jne 0x40bc63
call ebx
mov dword [ebp - 0x10b4], eax
mov dword [ebp - 0xd6c], 1
mov ebx, dword [ebp - 0xc2c]
cmp dword [ebp - 0x10b0], 0x197
jne 0x40bcf0
cmp dword [ebp - 0xd6c], 0
je 0x40bcf0
push 0
push 7
push dword [ebp - 0x10b4]
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x40bcb0
and dword [ebp - 0xd6c], 0
jmp 0x40bc73
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x81c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0xd68], 4
push 0
lea eax, [ebp - 0xd68]
push eax
lea eax, [ebp - 0x10b0]
push eax
push edi
push ebx
call esi
jmp 0x40bc73
cmp dword [ebp - 0x10b0], 0xc8
jne 0x40bd20
mov dword [ebp - 0xa28], 1
lea eax, [ebp - 0x10ac]
push eax
push 0x200
lea eax, [ebp - 0xc28]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
jne 0x40bd2c
mov ecx, 0x414aa8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x40bd39
lea eax, [ebp - 0xc40]
push dword [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
push 0x414ac8
push dword [ebp - 0x10b0]
push str.InstallStatus:ret_d_visid_s_method_s_state_s_ver_s__s
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [ebp - 0xd44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bd96
push str._ICstatus
lea eax, [ebp - 0xa1c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call esi
lea eax, [ebp - 0xd44]
push eax
lea eax, [ebp - 0xa1c]
push eax
call esi
cmp dword [ebp - 0x10ac], 0
je 0x40bdce
push 0x413630
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 0x10ac]
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.MSVCRT.dll_strncat]
add esp, 0xc
lea eax, [ebp - 0xa1c]
push eax
call fcn.0040bf6b
pop ecx
cmp dword [ebp - 0x1c], 0
jne 0x40be55
push 0x413634
lea eax, [ebp - 0x81c]
push eax
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
call ebx
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0xa24], esi
test esi, esi
je 0x40be48
mov edi, 0x41363c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esi + ecx + 1]
mov dword [ebp - 0xa24], esi
push str.prop20
push esi
call ebx
pop ecx
pop ecx
mov dword [ebp - 0x10bc], eax
sub eax, esi
dec eax
dec eax
mov dword [ebp - 0x10c0], eax
je 0x40be48
push eax
push str.XXXXXXXXXXXXXXXXXX
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
call fcn.0040bf6b
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.0040be66
mov eax, dword [ebp - 0xa28]
jmp 0x40bea7
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret