Function at 0x4068a4
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 0x409340
push 0x4080f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x10a8
call fcn.00408100
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 0x407391
push dword [ebp + 8]
call fcn.004067a9
pop ecx
test eax, eax
je 0x407391
cmp dword [0x40ddc0], 0
jne 0x406962
push 0x14
push 0x40dda8
push 0x14
push 0x40dd94
call fcn.004065a0
push 0x20
push 0x40dd74
call fcn.00404509
lea eax, [ebp - 0xa1c]
push eax
call fcn.00405403
add esp, 0x1c
test eax, eax
je 0x40694c
push 0x1e
lea eax, [ebp - 0xa1c]
push eax
push 0x40dd54
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp 0x40695c
push 0x40d1a4
push 0x40dd54
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [0x40ddc0], esi
push 0x40ddc8
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 0x40d1dc
push str.sc_xml_ver
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc44], eax
push 0x40d1ec
push dword [ebp + 8]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
call ebx
mov esi, eax
push str.suninstallstat
push 0x40d200
lea eax, [ebp - 0xd5c]
push eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
call edi
add esp, 0x14
test esi, esi
je 0x4069fc
mov eax, esi
sub eax, dword [ebp + 8]
mov dword [ebp - 0xc44], eax
inc esi
push esi
push 0x40d204
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 0x406a17
and dword [ebp - 0x1c], eax
lea eax, [ebp - 0xd5c]
push eax
push str.reportsuiteid
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
push 0x40dd74
push str.visitorid
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
push 0x14
lea eax, [ebp - 0xd5c]
push eax
push str.PingTest
call fcn.0040639b
add esp, 0x24
test eax, eax
jne 0x406a64
cmp dword [ebp - 0x1c], eax
jne 0x406a7d
push 0x40dd74
push str.prop21
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
push 0x40d24c
push dword [ebp + 8]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x406ae6
push 0x40d258
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 0x406ac6
push 0xb3e9fd
push 0x40d298
lea eax, [ebp - 0xa1c]
push eax
call edi
add esp, 0xc
jmp 0x406ad8
push str.nonprodpasswd
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xa1c]
push eax
push 0x40d2ac
jmp 0x406af0
push str.nonhttpspasswd
push 0x40d2c4
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
push dword [ebp + 0x10]
push str.pagename
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
push dword [ebp + 0x18]
push str.evar2
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0x18
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
jne 0x406b3d
push 0x40dd54
push 0x40d2e0
jmp 0x406b45
push dword [ebp + 0x1c]
push str.evar3
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
push str.i586
push str.evar4
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
push 0x40dda8
push str.evar5
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
push 0x40dd94
push str.evar6
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0x24
cmp dword [ebp + 0xc], ebx
jne 0x406bf0
mov dword [ebp - 0xd60], 0x14
push 0x40d310
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 0x40d314
push ebx
call fcn.00404994
lea eax, [ebp - 0xc40]
push eax
push 0x40d31c
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0x1c
jmp 0x406c07
push dword [ebp + 0xc]
push str.evar7
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
push dword [ebp + 0x14]
push str.evar8
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
push 0x40d334
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x406d33
push str.event6_event7
push 0x40d348
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
push 0x40ddcc
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.0040639b
push ebx
call fcn.0040646a
push ebx
push str.VisitorId
push ebx
call fcn.00404ce1
push ebx
push str.Method
push ebx
call fcn.00404ce1
add esp, 0x28
push str.decline
lea eax, [ebp - 0xc28]
push eax
call esi
test eax, eax
jne 0x406cac
push 1
pop eax
jmp 0x407393
push 0x40d37c
lea eax, [ebp - 0xc28]
push eax
call esi
test eax, eax
jne 0x406cd7
cmp dword [ebp + 0x24], 0x643
je 0x406cd0
cmp dword [ebp + 0x24], 0x642
jne 0x406cd7
mov dword [ebp + 0x24], 0xffffff80
push dword [ebp + 0x24]
push 0x40d384
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 0x406d22
push str.exists
lea eax, [ebp - 0xc28]
push eax
call esi
test eax, eax
je 0x406d22
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 0x40d394
jmp 0x406e9b
push 0x40d3a0
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x406d88
push str.event5
push 0x40d3ac
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
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.00406860
add esp, 0x24
jmp 0x406eaa
push 0x40d3c8
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x406da5
push str.event4
push 0x40d3d4
jmp 0x406e9b
push 0x40d3dc
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x406dc2
push str.event1
push 0x40d3e8
jmp 0x406e9b
push 0x40d3f0
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x406eaa
push str.event2
push str.events
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
cmp dword [ebp + 0x24], ebx
jne 0x406dfa
push ebx
push 0x40d404
jmp 0x406e02
push dword [ebp + 0x24]
push 0x40d408
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.00406860
add esp, 0xc
cmp dword [ebp + 0x20], ebx
jne 0x406e36
push ebx
push 0x40d414
jmp 0x406e3e
push dword [ebp + 0x20]
push 0x40d418
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.00406860
mov dword [ebp - 0xd64], ebx
lea eax, [ebp - 0xd64]
push eax
push str.NotifyInstall
push ebx
call fcn.004049fc
add esp, 0x18
cmp dword [ebp - 0xd64], ebx
jne 0x406e91
push 0x40d434
push 0x40d438
jmp 0x406e9b
push 0x40d440
push str.evar11
lea eax, [ebp - 0x81c]
push eax
call fcn.00406860
add esp, 0xc
push str.__request_
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0xa20], ebx
mov dword [ebp - 0xd48], ebx
mov dword [ebp - 0xc2c], ebx
mov dword [ebp - 0xa28], ebx
mov dword [ebp - 4], ebx
push ebx
push ebx
push ebx
push ebx
push str.jupdate
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xa20], eax
cmp eax, ebx
je 0x407341
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 0x40ddd0
push 0x40ddd4
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 0x407341
xor esi, esi
cmp dword [ebp - 0xe78], esi
je 0x406fcd
push dword [ebp - 0xe7c]
jmp 0x406fd2
push 0x40d460
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0xe70], esi
je 0x406ffa
push dword [ebp - 0xe74]
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.https:__
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
pop ecx
test eax, eax
push esi
je 0x40702d
push 0x4c00000
push esi
push 0x40ddd8
push 0x40d470
lea eax, [ebp - 0xc28]
push eax
push 0x40d47c
jmp 0x407049
push 0x4400000
push esi
push 0x40dddc
push str.HTTP_1.1
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 0x407341
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 0x4070fa
cmp dword [ebp - 0xd6c], esi
je 0x407341
call ebx
mov dword [ebp - 0x10b8], eax
mov ecx, eax
sub ecx, 0x2ee2
je 0x4070ef
sub ecx, 5
je 0x4070ef
sub ecx, 0x16
je 0x4070ef
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 0x407074
mov dword [ebp - 0xd6c], edi
jmp 0x407074
mov dword [ebp - 0xd6c], esi
jmp 0x407074
cmp dword [ebp - 0xd6c], esi
je 0x407341
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 0x40714f
call ebx
mov dword [ebp - 0x10b4], eax
mov dword [ebp - 0xd6c], 1
mov ebx, dword [ebp - 0xc2c]
cmp dword [ebp - 0x10b0], 0x197
jne 0x4071dc
cmp dword [ebp - 0xd6c], 0
je 0x4071dc
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 0x40719c
and dword [ebp - 0xd6c], 0
jmp 0x40715f
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 0x40715f
cmp dword [ebp - 0x10b0], 0xc8
jne 0x40720c
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 0x407218
mov ecx, 0x40dd54
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x407225
lea eax, [ebp - 0xc40]
push dword [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
push 0x40dd74
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 0x407282
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 0x4072ba
push 0x40d4e0
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.00407459
pop ecx
cmp dword [ebp - 0x1c], 0
jne 0x407341
push 0x40d4e4
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 0x407334
mov edi, 0x40d4ec
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 0x407334
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.00407459
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.00407352
mov eax, dword [ebp - 0xa28]
jmp 0x407393
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret