Function at 0x422866
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0x2d8
mov eax, 0x475de5
call fcn.00449303
mov edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x130], eax
push 2
mov dword [ebp - 0x148], esi
pop ebx
cmp dword [0x4ad0bc], eax
jg 0x42292b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14c], esp
push edi
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.00404b71
push ecx
push ecx
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
call fcn.00403eb7
mov edx, str.HttpConnection::connect_url
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24c]
call fcn.00406a62
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.00405499
mov esi, eax
mov edx, 0x489fac
mov ecx, esi
call fcn.00406a62
push esi
push str.HttpConnection::connectImpl
push 0x7b
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_common_NetUtils.cpp
push 0
mov ecx, 0x4ad0bc
call fcn.00402d4b
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0
call fcn.00402bf1
mov esi, dword [ebp - 0x148]
xor eax, eax
push 0x3c
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.0044be20
xor eax, eax
mov dword [ebp - 0x19c], 0x3c
inc eax
add esp, 0xc
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x164], eax
mov eax, edi
jb 0x422972
mov eax, dword [edi]
lea ecx, [ebp - 0x19c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x4230d5
cmp dword [ebp - 0x190], 3
je 0x4229fe
cmp dword [ebp - 0x190], 4
je 0x4229fe
push str.Invalid_scheme
lea ecx, [ebp - 0x2c]
call fcn.00403e1c
push 0x2bd
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x54]
call fcn.00422441
mov edx, eax
mov byte [ebp - 4], 7
push 0x8b
push str.HttpConnection::connectImpl
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x38]
call fcn.00402dde
push eax
lea ecx, [ebp - 0x84]
call fcn.00425841
mov dword [esp], 0x4a621c
lea eax, [ebp - 0x84]
jmp 0x423137
cmp byte [edi + 0x18], 0
jne 0x422a3f
cmp dword [ebp - 0x190], 3
jne 0x422a3f
push str.Http_is_disabled
lea ecx, [ebp - 0x2c]
call fcn.00403e1c
push 0x2bd
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0x54]
call fcn.00422441
mov edx, eax
mov byte [ebp - 4], 9
push 0x8e
jmp 0x4229ce
push dword [ebp - 0x188]
lea ecx, [ebp - 0x100]
push dword [ebp - 0x18c]
call fcn.004254b4
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
call fcn.004254b4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x174]
push dword [ebp - 0x178]
call fcn.004254b4
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x16c], 0
jbe 0x422ab5
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x170]
call fcn.004254b4
xor ebx, ebx
inc ebx
jmp 0x422ac2
push 0x48e7f4
lea ecx, [ebp - 0x2c]
call fcn.00403e1c
xor ecx, ecx
mov dword [ebp - 0x130], ebx
mov byte [ebp - 0x134], cl
push dword [ebp - 0x134]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0xa0]
push eax
call fcn.00404bdf
mov dword [ebp - 4], 0xe
test bl, 2
je 0x422b0b
and ebx, 0xfffffffd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x130], ebx
call fcn.004049ff
mov byte [ebp - 4], 0xf
test bl, 1
je 0x422b25
and ebx, 0xfffffffe
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x130], ebx
call fcn.004049ff
cmp dword [ebp - 0x164], 0
mov dword [ebp - 0x14c], ebx
jbe 0x422b6d
push dword [ebp - 0x164]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x168]
call fcn.004254b4
mov byte [ebp - 4], 0x10
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x422b56
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00404b18
lea ecx, [ebp - 0x44]
call fcn.004049ff
lea eax, [edi + 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x422b78
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x154], eax
mov byte [ebp - 0x150], 1
mov byte [ebp - 4], 0x11
test eax, eax
jne 0x422bd3
push str.InternetOpen_failed
lea ecx, [ebp - 0x2c]
call fcn.00403e1c
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2bf
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00422460
mov edx, eax
mov byte [ebp - 4], 0x14
push 0x9e
jmp 0x42310c
cmp dword [ebp - 0xbc], 0x10
lea edx, [ebp - 0xd0]
push 0
cmovae edx, dword [ebp - 0xd0]
lea ecx, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0x100]
push 0
cmovae ecx, dword [ebp - 0xe8]
cmp dword [ebp - 0xec], 0x10
push 3
cmovae eax, dword [ebp - 0x100]
push edx
push ecx
push dword [ebp - 0x184]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 0x158], 1
mov byte [ebp - 4], 0x15
test eax, eax
jne 0x422c78
push str.InternetConnect_failed
lea ecx, [ebp - 0x2c]
call fcn.00403e1c
mov byte [ebp - 4], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2c0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00422460
mov edx, eax
mov byte [ebp - 4], 0x18
push 0xa5
jmp 0x42310c
and dword [ebp - 0x1a0], 0
lea edx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0x10
mov eax, dword [edi + 0x1c]
cmovae edx, dword [ebp - 0xa0]
mov dword [ebp - 0x1a4], 0x48fd90
sub eax, 0
je 0x422cc1
sub eax, 1
je 0x422cba
sub eax, 1
je 0x422cb3
xor ecx, ecx
jmp 0x422cc6
mov ecx, str.HEAD
jmp 0x422cc6
mov ecx, str.POST
jmp 0x422cc6
mov ecx, 0x48fc04
cmp dword [ebp - 0x190], 4
mov eax, 0x4400200
push 0
mov dword [ebp - 0x134], 0x4c00200
cmove eax, dword [ebp - 0x134]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0
push 0
push edx
push ecx
push dword [ebp - 0x15c]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 1
mov byte [ebp - 4], 0x19
test eax, eax
jne 0x422d57
push str.HttpOpenRequest_failed
lea ecx, [ebp - 0x2c]
call fcn.00403e1c
mov byte [ebp - 4], 0x1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2c2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00422460
mov edx, eax
push 0xb7
push str.HttpConnection::connectImpl
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1b0]
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_common_NetUtils.cpp
jmp 0x423119
push ecx
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.00403eb7
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x1d
push eax
push 0x48a3b0
push dword [edi + 0x3c]
lea ecx, [ebp - 0x1ac]
push dword [edi + 0x38]
call fcn.0042587a
add esp, 0x10
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0x2e0]
push eax
call fcn.00404c02
or ebx, 8
mov dword [ebp - 0x130], ebx
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x160], eax
test eax, eax
je 0x422dcb
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
mov edx, dword [edi + 0x48]
xor ecx, ecx
sub edx, dword [edi + 0x44]
mov ebx, dword [ebp - 0x34]
cmp ecx, edx
mov dword [ebp - 0x138], eax
sbb ecx, ecx
mov dword [ebp - 0x13c], edx
and ecx, dword [edi + 0x44]
mov dword [ebp - 0x140], ecx
jmp 0x422df7
mov ecx, dword [ebp - 0x140]
push edx
push ecx
push dword [ebp - 0x160]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x422e64
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 0x19], 0
mov dword [ebp - 0x134], eax
je 0x422ee8
push 0
push 7
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
mov edx, dword [ebp - 0x13c]
mov ecx, eax
mov eax, dword [ebp - 0x138]
cmp ecx, 0x2f00
je 0x422df1
cmp dword [ebp - 0x134], 0x2f0c
jne 0x422ee8
test ecx, ecx
jne 0x422ee8
jmp 0x422df1
and dword [ebp - 0x144], 0
lea eax, [ebp - 0x1a8]
push 0
push eax
lea eax, [ebp - 0x144]
mov dword [ebp - 0x1a8], 4
push eax
push 0x20000013
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x42309c
mov eax, dword [ebp - 0x144]
sub eax, 0x191
je 0x422eaf
sub eax, 6
jne 0x422f4b
cmp byte [edi + 0x19], 0
je 0x422f4b
push 0
push 7
push 0x2eee
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x422f4b
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x13c]
jmp 0x422df1
push str.HttpSendRequest_failed
lea ecx, [ebp - 0x74]
call fcn.00403e1c
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x74]
push dword [ebp - 0x134]
lea ecx, [ebp - 0x28]
push 0x2c4
push eax
call fcn.00422460
mov edx, eax
mov byte [ebp - 4], 0x20
push 0xd6
push str.HttpConnection::connectImpl
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x50]
call fcn.00402dde
push eax
lea ecx, [ebp - 0x12c]
call fcn.00425808
mov dword [esp], 0x4a61f0
lea eax, [ebp - 0x12c]
jmp 0x423137
xor eax, eax
mov byte [esi + 4], 1
mov byte [ebp - 0x30], al
mov byte [ebp - 0x158], al
mov byte [ebp - 0x150], al
mov eax, dword [ebp - 0x154]
mov dword [esi], eax
mov eax, dword [ebp - 0x15c]
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], 1
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x14c]
or eax, 0xc
cmp dword [0x4ad0bc], 0
mov dword [ebp - 0x130], eax
jg 0x423050
push ecx
push ecx
lea ecx, [ebp - 0x24c]
call fcn.00403eb7
push ecx
push 5
mov ecx, esi
mov byte [ebp - 4], 0x26
call fcn.004246a5
push ecx
push 0x13
mov ecx, esi
mov edi, eax
call fcn.004246a5
mov edx, str.HttpConnection::connect_succeeded
lea ecx, [ebp - 0x24c]
mov esi, eax
call fcn.00406a62
mov edx, str.__status:
lea ecx, [ebp - 0x24c]
call fcn.00406a62
push esi
lea ecx, [ebp - 0x24c]
call fcn.0040bf8f
mov edx, str.__size:
lea ecx, [ebp - 0x24c]
call fcn.00406a62
push edi
lea ecx, [ebp - 0x24c]
call fcn.0040bf8f
mov edx, str._bytes
lea ecx, [ebp - 0x24c]
call fcn.00406a62
lea eax, [ebp - 0x24c]
mov ecx, 0x4ad0bc
push eax
push str.HttpConnection::connectImpl
push 0xf8
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_common_NetUtils.cpp
push 0
call fcn.00402d4b
lea ecx, [ebp - 0x24c]
call fcn.00402bf1
mov esi, dword [ebp - 0x148]
lea ecx, [ebp - 0xb8]
call fcn.004049ff
lea ecx, [ebp - 0x2e4]
call fcn.00402bf1
lea ecx, [ebp - 0xa0]
call fcn.004049ff
lea ecx, [ebp - 0xd0]
call fcn.004049ff
lea ecx, [ebp - 0xe8]
call fcn.004049ff
lea ecx, [ebp - 0x100]
call fcn.004049ff
mov eax, esi
call fcn.004492ad
ret 4
push str.cannot_get_response_status_code
lea ecx, [ebp - 0x74]
call fcn.00403e1c
mov byte [ebp - 4], 0x21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2cc
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
call fcn.00422460
mov edx, eax
mov byte [ebp - 4], 0x22
push 0xdd
jmp 0x422f1b
push str.InternetCrackUrl_failed
lea ecx, [ebp - 0x2c]
call fcn.00403e1c
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2be
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00422460
mov edx, eax
mov byte [ebp - 4], 5
push 0x88
push str.HttpConnection::connectImpl
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x38]
call fcn.00402dde
push eax
lea ecx, [ebp - 0x88]
call fcn.00425808
mov dword [esp], 0x4a61f0
lea eax, [ebp - 0x88]
push eax
call fcn.0044c6b7
int3