Function at 0x40c2a5
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 0x420a40
push 0x411f34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x1184
call fcn.00412040
push ebx
push esi
push edi
mov byte [ebp - 0x48], 0
xor eax, eax
lea edi, [ebp - 0x47]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x80], 0
xor eax, eax
lea edi, [ebp - 0x7f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp - 0x74], 0
xor eax, eax
lea edi, [ebp - 0x73]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp - 0x5c], 0
xor eax, eax
lea edi, [ebp - 0x5b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
push edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
test eax, eax
je 0x40cea9
push edi
call fcn.0040b18a
pop ecx
test eax, eax
je 0x40cea9
cmp dword [0x426e68], 0
jne 0x40c394
push 0x14
push 0x426e54
push 0x14
push 0x426e40
call fcn.0040af53
push 0x20
push 0x426e20
call fcn.0040c1c8
push 0
lea eax, [ebp - 0xe1c]
push eax
call fcn.0040ba63
add esp, 0x20
test eax, eax
je 0x40c37a
push 0x1e
lea eax, [ebp - 0xe1c]
push eax
push 0x426e00
call fcn.004134f0
add esp, 0xc
jmp 0x40c38a
push 0x41f73c
push 0x426e00
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [0x426e68], 1
push 0x41e625
lea eax, [ebp - 0x41c]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call ebx
push str.__xml_version_1.0__encoding_UTF_8_____request_
lea eax, [ebp - 0xc1c]
push eax
call ebx
push 0x41e678
push str.sc_xml_ver
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0xc
push edi
call esi
mov dword [ebp - 0x34], eax
push 0x4209fc
push edi
call fcn.00412a50
pop ecx
pop ecx
mov edi, eax
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x94]
mov esi, 0x41e88c
cmp dword [ebp + 0x48], 0
jne 0x40c402
push str.suninstallstat
jmp 0x40c405
push dword [ebp + 0x48]
push esi
push eax
call ebx
add esp, 0xc
test edi, edi
je 0x40c427
mov eax, edi
sub eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
inc edi
push edi
push esi
lea eax, [ebp - 0x94]
push eax
call ebx
add esp, 0xc
push str.suninstallstatdev
lea eax, [ebp - 0x94]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
call esi
push str.sunjfxinstallstatdev
lea eax, [ebp - 0x94]
push eax
call esi
lea eax, [ebp - 0x94]
push eax
push str.reportsuiteid
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
mov edi, 0x426e20
push edi
push str.visitorid
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push edi
push str.prop21
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push str.https:__
push dword [ebp + 8]
call fcn.00412a50
add esp, 0x2c
test eax, eax
je 0x40c4e8
mov edi, str.https:__sjremetrics.java.com
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push dword [ebp + 8]
call fcn.00413280
add esp, 0xc
test eax, eax
lea eax, [ebp - 0xe1c]
jne 0x40c4d3
push 0xb3e9fd
push 0x420978
push eax
call ebx
add esp, 0xc
jmp 0x40c4df
push str.nonprodpasswd
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xe1c]
push eax
jmp 0x40c4ed
push str.nonhttpspasswd
lea eax, [ebp - 0xc1c]
push str.prop20
push eax
call fcn.0040b24e
add esp, 0xc
push dword [ebp + 0x10]
push str.pagename
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x4c]
mov edi, 0x420940
push edi
lea eax, [ebp - 0x108]
push eax
call ebx
push dword [ebp + 0x50]
push edi
lea eax, [ebp - 0x11c]
push eax
call ebx
lea eax, [ebp - 0x108]
push eax
push str.evar24
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
lea eax, [ebp - 0x11c]
push eax
push str.evar25
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0x3c
push str.jfxic
push dword [ebp + 0x10]
call esi
test eax, eax
je 0x40c6a8
push dword [ebp + 0x18]
push str.evar2
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0xc
xor edi, edi
cmp dword [ebp + 0x1c], edi
je 0x40c5b8
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x40c5b8
push 0x42091c
push dword [ebp + 0x1c]
call esi
test eax, eax
je 0x40c5b8
push dword [ebp + 0x1c]
jmp 0x40c5bd
push 0x426e00
lea eax, [ebp - 0xc1c]
push str.evar3
push eax
call fcn.0040b24e
add esp, 0xc
push 0x41f330
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x40c6aa
cmp dword [ebp + 0x20], edi
je 0x40c5fb
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x40c5fb
push dword [ebp + 0x20]
jmp 0x40c614
push 0x41f73c
lea eax, [ebp - 0xe9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xe9c]
push eax
lea eax, [ebp - 0xc1c]
push str.evar15
push eax
call fcn.0040b24e
add esp, 0xc
call fcn.0040b291
push eax
push 0x420940
lea eax, [ebp - 0x5c]
push eax
call ebx
lea eax, [ebp - 0x5c]
push eax
push str.evar40
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
mov byte [ebp - 0x68], 0
xor eax, eax
lea edi, [ebp - 0x67]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
push dword [ebp + 0x2c]
push 0x420940
lea eax, [ebp - 0x68]
push eax
call ebx
lea eax, [ebp - 0x68]
push eax
push str.evar26
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x34]
push str.evar27
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x30]
push str.evar28
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0x48
xor edi, edi
push str.i586
push str.evar4
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push 0x426e54
push str.evar5
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push 0x426e40
push str.evar6
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0x24
lea eax, [ebp - 0xf4]
cmp dword [ebp + 0xc], edi
jne 0x40c728
mov dword [ebp - 0x4c], 0x14
push 0x41f73c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xf4]
push eax
push str.Method
push edi
call fcn.0040b7e0
add esp, 0x10
jmp 0x40c732
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xf4]
push eax
push str.evar7
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x14]
push str.evar8
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0x18
push 0x41f330
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x40c930
push str.event6_event7
push str.events
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0xc
push 0x41e625
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x200
lea eax, [ebp - 0x31c]
push eax
push str.InstallStatus
call fcn.0040bbac
push edi
call fcn.0040bce9
add esp, 0x10
push str.reinstall
lea eax, [ebp - 0x31c]
push eax
call esi
test eax, eax
je 0x40cea9
push str.exists
lea eax, [ebp - 0x31c]
push eax
call esi
test eax, eax
jne 0x40c7f7
cmp dword [ebp + 0x28], 0x643
je 0x40c800
cmp dword [ebp + 0x28], 0x642
je 0x40c800
cmp dword [ebp + 0x28], 0x666
jne 0x40c807
mov dword [ebp + 0x28], 0xffffff80
call fcn.0040bd38
test eax, eax
je 0x40c833
cmp dword [ebp + 0x28], 0x643
je 0x40c822
cmp dword [ebp + 0x28], 0x642
jne 0x40c833
call fcn.0040b430
neg eax
sbb eax, eax
add eax, 0xffffff76
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x28], edi
jne 0x40c84a
push str.decline
lea eax, [ebp - 0x31c]
push eax
call esi
test eax, eax
jne 0x40c865
push edi
push str.VisitorId
push edi
call fcn.0040aeb1
push edi
push str.Method
push edi
call fcn.0040aeb1
add esp, 0x18
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x18]
call fcn.0040bd91
lea eax, [ebp - 0x74]
push eax
push str.evar17
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
lea eax, [ebp - 0x48]
push eax
push str.evar18
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
lea eax, [ebp - 0x80]
push eax
push str.evar19
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0x38
push str.decline
lea eax, [ebp - 0x31c]
push eax
call esi
test eax, eax
je 0x40cea9
push dword [ebp + 0x28]
push str._jre_d
lea eax, [ebp - 0x41c]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40c91f
push str.exists
lea eax, [ebp - 0x31c]
push eax
call esi
test eax, eax
je 0x40c91f
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x41c]
push eax
push str.products
jmp 0x40cb2e
push 0x42086c
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x40c99d
push edi
push str.VisitorId
push edi
call fcn.0040aeb1
push edi
push str.Method
push edi
call fcn.0040aeb1
push str.event11
push str.events
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x28]
push str._jre_d
lea eax, [ebp - 0x41c]
push eax
call ebx
lea eax, [ebp - 0x41c]
push eax
push str.products
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0x3c
jmp 0x40cb3d
push 0x420860
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x40c9ba
push str.event1
push str.events
jmp 0x40cb2e
push 0x420854
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x40ca90
push str.event2
push str.events
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0xc
lea eax, [ebp - 0xe1c]
cmp dword [ebp + 0x28], edi
jne 0x40c9f8
push edi
push 0x420848
jmp 0x40ca00
push dword [ebp + 0x28]
push 0x41fe84
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0xe1c]
push eax
push str.evar9
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0xc
lea eax, [ebp - 0xe1c]
cmp dword [ebp + 0x24], edi
jne 0x40ca34
push edi
push 0x420848
jmp 0x40ca3c
push dword [ebp + 0x24]
push 0x41fe84
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0xe1c]
push eax
push str.evar10
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x3c]
push eax
push str.NotifyInstall
push edi
call fcn.0040ba41
add esp, 0x18
lea eax, [ebp - 0xc1c]
cmp dword [ebp - 0x3c], edi
jne 0x40ca81
push 0x420834
jmp 0x40ca86
push 0x420830
push str.evar11
jmp 0x40cb34
push str.jfxic
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x40cb3d
push str.event20
push str.events
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x28]
push str._jfx_d
lea eax, [ebp - 0x41c]
push eax
call ebx
lea eax, [ebp - 0x41c]
push eax
push str.products
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x38]
push str.evar16
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x3c]
push str.evar17
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
push dword [ebp + 0x40]
push str.evar18
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0x48
cmp dword [ebp + 0x28], 3
jne 0x40cb3d
push dword [ebp + 0x44]
push str.evar19
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b24e
add esp, 0xc
push str.__request_
lea eax, [ebp - 0xc1c]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
call ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], edi
push edi
push edi
push edi
push edi
push str.jupdate
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x40ce6e
push 0x3c
pop esi
push esi
push edi
lea eax, [ebp - 0xd0]
push eax
call fcn.00412120
mov dword [ebp - 0xd0], esi
lea eax, [ebp - 0xf9c]
mov dword [ebp - 0xc0], eax
mov eax, pe_nt_image_headers32
mov dword [ebp - 0xbc], eax
mov word [ebp - 0xb8], di
lea ecx, [ebp - 0x119c]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x109c]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x34]
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x31c]
push eax
call fcn.004134f0
add esp, 0x18
mov byte [ebp + esi - 0x31c], 0
lea eax, [ebp - 0xd0]
push eax
push edi
push esi
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push edi
push edi
push 3
mov eax, 0x41e625
push eax
push eax
push dword [ebp - 0xb8]
push dword [ebp - 0xc0]
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, edi
je 0x40ce6e
lea eax, [ebp - 0x31c]
cmp dword [ebp - 0xa0], edi
je 0x40cc4a
push dword [ebp - 0xa4]
jmp 0x40cc4f
push 0x41e6b8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x98], edi
je 0x40cc6d
push dword [ebp - 0x9c]
lea eax, [ebp - 0x31c]
push eax
call ebx
push str.https:__
push dword [ebp + 8]
call fcn.00412a50
pop ecx
pop ecx
push edi
test eax, eax
lea eax, [ebp - 0x31c]
je 0x40cc8e
push 0x4c00000
jmp 0x40cc93
push 0x4400000
push edi
push 0x41e625
push str.HTTP_1.1
push eax
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x40ce6e
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0xc1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xc1c]
push eax
push edi
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40cd2e
cmp dword [ebp - 0x20], edi
je 0x40ce6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd8], eax
mov ecx, eax
sub ecx, 0x2ee2
je 0x40cd29
sub ecx, 5
je 0x40cd29
sub ecx, 0x16
je 0x40cd29
mov dword [ebp - 0x20], edi
push edi
push 7
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x40ccbc
jmp 0x40ccb9
mov dword [ebp - 0x20], edi
jmp 0x40ccbc
cmp dword [ebp - 0x20], edi
je 0x40ce6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], 4
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov ebx, 0x20000013
push ebx
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
call esi
test eax, eax
jne 0x40cd71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x24], 0x197
jne 0x40cde0
cmp dword [ebp - 0x20], edi
je 0x40cde0
push edi
push 7
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x40cda8
mov dword [ebp - 0x20], edi
jmp 0x40cd78
lea eax, [ebp - 0xc1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xc1c]
push eax
push edi
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x2c], 4
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x1c]
call esi
jmp 0x40cd78
cmp dword [ebp - 0x24], 0xc8
jne 0x40ce0c
mov dword [ebp - 0x40], 1
lea eax, [ebp - 0xe0]
push eax
push 0x200
lea eax, [ebp - 0x31c]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, str.prop20
push esi
lea eax, [ebp - 0xc1c]
push eax
call fcn.00412a50
pop ecx
pop ecx
mov ebx, eax
mov dword [ebp - 0x50], ebx
cmp ebx, edi
je 0x40ce61
push esi
call fcn.004129c0
lea ebx, [ebx + eax + 1]
mov dword [ebp - 0x50], ebx
push esi
push ebx
call fcn.00412a50
add esp, 0xc
mov dword [ebp - 0xd4], eax
sub eax, ebx
dec eax
dec eax
mov dword [ebp - 0xdc], eax
je 0x40ce61
push eax
push str.XXXXXXXXXXXXXXXXXX
push ebx
call fcn.004134f0
add esp, 0xc
lea eax, [ebp - 0xc1c]
push eax
call fcn.0040b4be
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.0040ce7e
mov eax, dword [ebp - 0x40]
jmp 0x40ceac
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret