Function at 0x403389
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 0x4051e8
push 0x404270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x10a8
call fcn.00404240
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 0x403e83
push dword [ebp + 8]
call fcn.0040328f
pop ecx
test eax, eax
je 0x403e83
cmp dword [0x407820], 0
jne 0x403451
push 0x14
push 0x4077c8
push 0x14
push 0x4077b4
call fcn.00403084
push 0x20
push 0x4077dc
call fcn.004028a4
lea eax, [ebp - 0xa1c]
push eax
call fcn.00402c9a
add esp, 0x1c
test eax, eax
je 0x403437
push 0x1e
lea eax, [ebp - 0xa1c]
push eax
push 0x4077fc
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x403449
push 0x406fb4
push 0x4077fc
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call ebx
mov dword [0x407820], esi
jmp 0x403457
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, 0x40775c
push edi
lea eax, [ebp - 0xd44]
push eax
call ebx
push str.__xml_version_1.0__encoding_UTF_8_____request_
lea eax, [ebp - 0x81c]
push eax
call ebx
push 0x4060a4
push str.sc_xml_ver
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc44], eax
push 0x40738c
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strstr]
mov dword [ebp - 0xa24], eax
push str.suninstallstat
mov esi, 0x4060f0
push esi
lea eax, [ebp - 0xd5c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp dword [ebp - 0xa24], 0
je 0x4034f8
mov ecx, dword [ebp - 0xa24]
mov eax, ecx
sub eax, dword [ebp + 8]
mov dword [ebp - 0xc44], eax
inc ecx
push ecx
push esi
lea eax, [ebp - 0xd5c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push str.suninstallstatdev
lea eax, [ebp - 0xd5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x403515
xor esi, esi
mov dword [ebp - 0x1c], esi
jmp 0x403517
xor esi, esi
lea eax, [ebp - 0xd5c]
push eax
push str.reportsuiteid
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
push 0x4077dc
push str.visitorid
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
push 0x14
lea eax, [ebp - 0xd5c]
push eax
push str.PingTest
call fcn.00402eb8
add esp, 0x24
test eax, eax
jne 0x403564
cmp dword [ebp - 0x1c], esi
jne 0x40357d
push 0x4077dc
push str.prop21
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
push str.https:__
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x4035e5
push str.https:__sjremetrics.java.com
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 0x4035ce
push 0xb3e9fd
push 0x407314
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4035dc
push str.nonprodpasswd
lea eax, [ebp - 0xa1c]
push eax
call ebx
lea eax, [ebp - 0xa1c]
push eax
jmp 0x4035ea
push str.nonhttpspasswd
push str.prop20
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
push dword [ebp + 0x10]
push str.pagename
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
push dword [ebp + 0x18]
push str.evar2
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0x18
cmp dword [ebp + 0x1c], esi
jne 0x403635
push 0x4077fc
jmp 0x403638
push dword [ebp + 0x1c]
push str.evar3
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
push str.i586
push str.evar4
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
push 0x4077c8
push str.evar5
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
push 0x4077b4
push str.evar6
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0x24
cmp dword [ebp + 0xc], esi
jne 0x4036e4
mov dword [ebp - 0xd60], 0x14
push 0x406fb4
lea eax, [ebp - 0xc40]
push eax
call ebx
lea eax, [ebp - 0xd60]
push eax
lea eax, [ebp - 0xc40]
push eax
push str.Method
push esi
call fcn.00402a58
lea eax, [ebp - 0xc40]
push eax
push str.evar7
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0x1c
jmp 0x4036fb
push dword [ebp + 0xc]
push str.evar7
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
push dword [ebp + 0x14]
push str.evar8
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
push 0x406350
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x403833
push str.event6_event7
push str.events
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
push edi
lea eax, [ebp - 0xc28]
push eax
call ebx
push 0x200
lea eax, [ebp - 0xc28]
push eax
push str.InstallStatus
call fcn.00402eb8
push esi
call fcn.00402f6f
push esi
push str.VisitorId
push esi
call fcn.00402ae2
push esi
push str.Method
push esi
call fcn.00402ae2
add esp, 0x28
push str.decline
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4037a0
push 1
pop eax
jmp 0x403e85
push str.exists
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4037cf
cmp dword [ebp + 0x24], 0x643
je 0x4037c8
cmp dword [ebp + 0x24], 0x642
jne 0x4037cf
mov dword [ebp + 0x24], 0xffffff80
push dword [ebp + 0x24]
push str._jre_d
lea eax, [ebp - 0xd44]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x403822
push str.exists
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403822
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 str.products
jmp 0x4039aa
push 0x407268
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x403890
push str.event5
push str.events
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
push dword [ebp + 0x24]
push str._jre_d
lea eax, [ebp - 0xd44]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xd44]
push eax
push str.products
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0x24
jmp 0x4039b9
push 0x40725c
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4038a9
push str.event4
jmp 0x4038c0
push 0x406fb0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4038ca
push str.event1
push str.events
jmp 0x4039aa
push 0x406fac
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4039b9
push str.event2
push str.events
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
cmp dword [ebp + 0x24], esi
jne 0x403906
push esi
push 0x407240
jmp 0x40390e
push dword [ebp + 0x24]
push 0x40723c
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xa1c]
push eax
push str.evar9
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
cmp dword [ebp + 0x20], esi
jne 0x403946
push esi
push 0x407240
jmp 0x40394e
push dword [ebp + 0x20]
push 0x40723c
lea eax, [ebp - 0xa1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xa1c]
push eax
push str.evar10
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
mov dword [ebp - 0xd64], esi
lea eax, [ebp - 0xd64]
push eax
push str.NotifyInstall
push esi
call fcn.00402ac0
add esp, 0x18
cmp dword [ebp - 0xd64], esi
jne 0x4039a0
push 0x407228
jmp 0x4039a5
push 0x407224
push str.evar11
lea eax, [ebp - 0x81c]
push eax
call fcn.00403346
add esp, 0xc
push str.__request_
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
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 str.jupdate
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xa20], eax
cmp eax, esi
je 0x403e33
push 0x3c
push esi
lea eax, [ebp - 0xea8]
push eax
call sub.MSVCRT.dll_memset
mov dword [ebp - 0xea8], 0x3c
lea eax, [ebp - 0xe6c]
mov dword [ebp - 0xe98], eax
mov eax, pe_nt_image_headers32
mov dword [ebp - 0xe94], eax
mov word [ebp - 0xe90], si
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
push dword [ebp - 0xc44]
push dword [ebp + 8]
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
mov eax, dword [ebp - 0xc44]
and byte [ebp + eax - 0xc28], 0
lea ecx, [ebp - 0xea8]
push ecx
push esi
push eax
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push esi
push esi
push 3
push edi
push edi
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, esi
je 0x403e33
cmp dword [ebp - 0xe78], esi
je 0x403ad7
push dword [ebp - 0xe7c]
jmp 0x403adc
push 0x4060e4
lea eax, [ebp - 0xc28]
push eax
call ebx
cmp dword [ebp - 0xe70], esi
je 0x403b00
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 0x403b1c
push 0x4c00000
jmp 0x403b21
push 0x4400000
push esi
push edi
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 0x403e33
push 1
pop edi
mov dword [ebp - 0xd6c], edi
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 0x403bdb
cmp dword [ebp - 0xd6c], esi
je 0x403e33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10b8], eax
mov ecx, eax
sub ecx, 0x2ee2
je 0x403bd0
sub ecx, 5
je 0x403bd0
sub ecx, 0x16
je 0x403bd0
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 0x403b57
jmp 0x403b51
mov dword [ebp - 0xd6c], esi
jmp 0x403b57
cmp dword [ebp - 0xd6c], esi
je 0x403e33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10b4], eax
mov dword [ebp - 0x10b0], esi
mov dword [ebp - 0xd68], 4
push esi
lea eax, [ebp - 0xd68]
push eax
lea eax, [ebp - 0x10b0]
push eax
mov ebx, 0x20000013
push ebx
push dword [ebp - 0xc2c]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
call edi
test eax, eax
jne 0x403c36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10b4], eax
mov dword [ebp - 0xd6c], 1
cmp dword [ebp - 0x10b0], 0x197
jne 0x403cc9
cmp dword [ebp - 0xd6c], esi
je 0x403cc9
push esi
push 7
push dword [ebp - 0x10b4]
push dword [ebp - 0xc2c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x403c7f
mov dword [ebp - 0xd6c], esi
jmp 0x403c40
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]
mov dword [ebp - 0xd68], 4
push esi
lea eax, [ebp - 0xd68]
push eax
lea eax, [ebp - 0x10b0]
push eax
push ebx
push dword [ebp - 0xc2c]
call edi
jmp 0x403c40
cmp dword [ebp - 0x10b0], 0xc8
jne 0x403cfe
mov dword [ebp - 0xa28], 1
lea eax, [ebp - 0x10ac]
push eax
push 0x200
lea eax, [ebp - 0xc28]
push eax
push dword [ebp - 0xc2c]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp + 0x1c]
cmp ecx, esi
jne 0x403d0a
mov ecx, 0x4077fc
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x403d17
lea eax, [ebp - 0xc40]
push dword [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
push 0x4077dc
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 0x403d74
push str._ICstatus
lea eax, [ebp - 0xa1c]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
lea eax, [ebp - 0xd44]
push eax
lea eax, [ebp - 0xa1c]
push eax
call edi
cmp dword [ebp - 0x10ac], esi
je 0x403dab
push 0x4071bc
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.00403e94
pop ecx
cmp dword [ebp - 0x1c], esi
jne 0x403e33
mov edi, str.prop20
push edi
lea eax, [ebp - 0x81c]
push eax
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
call ebx
pop ecx
pop ecx
mov dword [ebp - 0xa24], eax
cmp eax, esi
je 0x403e26
push edi
call sub.MSVCRT.dll_strlen
mov ecx, dword [ebp - 0xa24]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0xa24], eax
push edi
push eax
call ebx
add esp, 0xc
mov dword [ebp - 0x10bc], eax
sub eax, dword [ebp - 0xa24]
dec eax
dec eax
mov dword [ebp - 0x10c0], eax
je 0x403e26
push eax
push str.XXXXXXXXXXXXXXXXXX
push dword [ebp - 0xa24]
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
call fcn.00403e94
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.00403e46
mov eax, dword [ebp - 0xa28]
jmp 0x403e85
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret