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

Disassembly:
push 0x2d8
mov eax, 0x475898
call fcn.00448ddd
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 [0x4ac0bc], eax
jg 0x422805
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.00404b39
push ecx
push ecx
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
call fcn.00403ead
mov edx, str.HttpConnection::connect_url
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24c]
call fcn.00406a2a
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.00405461
mov esi, eax
mov edx, 0x489fac
mov ecx, esi
call fcn.00406a2a
push esi
push str.HttpConnection::connectImpl
push 0x7b
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
push 0
mov ecx, 0x4ac0bc
call fcn.00402d4b
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0
call fcn.0042b58a
mov esi, dword [ebp - 0x148]
xor eax, eax
push 0x3c
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.0044b900
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 0x42284c
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 0x422faf
cmp dword [ebp - 0x190], 3
je 0x4228d8
cmp dword [ebp - 0x190], 4
je 0x4228d8
push str.Invalid_scheme
lea ecx, [ebp - 0x2c]
call fcn.00403e12
push 0x2bd
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x54]
call fcn.0042231b
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_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x38]
call fcn.00402dde
push eax
lea ecx, [ebp - 0x84]
call fcn.0042571b
mov dword [esp], 0x4a5ecc
lea eax, [ebp - 0x84]
jmp 0x423011
cmp byte [edi + 0x18], 0
jne 0x422919
cmp dword [ebp - 0x190], 3
jne 0x422919
push str.Http_is_disabled
lea ecx, [ebp - 0x2c]
call fcn.00403e12
push 0x2bd
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0x54]
call fcn.0042231b
mov edx, eax
mov byte [ebp - 4], 9
push 0x8e
jmp 0x4228a8
push dword [ebp - 0x188]
lea ecx, [ebp - 0x100]
push dword [ebp - 0x18c]
call fcn.0042538e
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
call fcn.0042538e
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x174]
push dword [ebp - 0x178]
call fcn.0042538e
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x16c], 0
jbe 0x42298f
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x170]
call fcn.0042538e
xor ebx, ebx
inc ebx
jmp 0x42299c
push 0x48e79c
lea ecx, [ebp - 0x2c]
call fcn.00403e12
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.00404ba7
mov dword [ebp - 4], 0xe
test bl, 2
je 0x4229e5
and ebx, 0xfffffffd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x130], ebx
call fcn.004049c7
mov byte [ebp - 4], 0xf
test bl, 1
je 0x4229ff
and ebx, 0xfffffffe
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x130], ebx
call fcn.004049c7
cmp dword [ebp - 0x164], 0
mov dword [ebp - 0x14c], ebx
jbe 0x422a47
push dword [ebp - 0x164]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x168]
call fcn.0042538e
mov byte [ebp - 4], 0x10
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x422a30
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0042b58a
lea ecx, [ebp - 0x44]
call fcn.004049c7
lea eax, [edi + 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x422a52
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 0x422aad
push str.InternetOpen_failed
lea ecx, [ebp - 0x2c]
call fcn.00403e12
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.0042b58a
mov edx, eax
mov byte [ebp - 4], 0x14
push 0x9e
jmp 0x422fe6
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 0x422b52
push str.InternetConnect_failed
lea ecx, [ebp - 0x2c]
call fcn.00403e12
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.0042b58a
mov edx, eax
mov byte [ebp - 4], 0x18
push 0xa5
jmp 0x422fe6
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], 0x48fcf0
sub eax, 0
je 0x422b9b
sub eax, 1
je 0x422b94
sub eax, 1
je 0x422b8d
xor ecx, ecx
jmp 0x422ba0
mov ecx, str.HEAD
jmp 0x422ba0
mov ecx, str.POST
jmp 0x422ba0
mov ecx, 0x48fb9c
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 0x422c31
push str.HttpOpenRequest_failed
lea ecx, [ebp - 0x2c]
call fcn.00403e12
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.0042b58a
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_jdk8u281_880_install_src_windows_common_NetUtils.cpp
jmp 0x422ff3
push ecx
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.00403ead
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.0042b58a
add esp, 0x10
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0x2e0]
push eax
call fcn.00404bca
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 0x422ca5
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 0x422cd1
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 0x422d3e
call dword [sym.imp.kernel32.dll_GetLastError]
cmp byte [edi + 0x19], 0
mov dword [ebp - 0x134], eax
je 0x422dc2
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 0x422ccb
cmp dword [ebp - 0x134], 0x2f0c
jne 0x422dc2
test ecx, ecx
jne 0x422dc2
jmp 0x422ccb
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 0x422f76
mov eax, dword [ebp - 0x144]
sub eax, 0x191
je 0x422d89
sub eax, 6
jne 0x422e25
cmp byte [edi + 0x19], 0
je 0x422e25
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 0x422e25
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x13c]
jmp 0x422ccb
push str.HttpSendRequest_failed
lea ecx, [ebp - 0x74]
call fcn.00403e12
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x74]
push dword [ebp - 0x134]
lea ecx, [ebp - 0x28]
push 0x2c4
push eax
call fcn.0042b58a
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_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x50]
call fcn.00402dde
push eax
lea ecx, [ebp - 0x12c]
call fcn.004256e2
mov dword [esp], 0x4a5ea0
lea eax, [ebp - 0x12c]
jmp 0x423011
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 [0x4ac0bc], 0
mov dword [ebp - 0x130], eax
jg 0x422f2a
push ecx
push ecx
lea ecx, [ebp - 0x24c]
call fcn.00403ead
push ecx
push 5
mov ecx, esi
mov byte [ebp - 4], 0x26
call fcn.0042457f
push ecx
push 0x13
mov ecx, esi
mov edi, eax
call fcn.0042457f
mov edx, str.HttpConnection::connect_succeeded
lea ecx, [ebp - 0x24c]
mov esi, eax
call fcn.00406a2a
mov edx, str.__status:
lea ecx, [ebp - 0x24c]
call fcn.00406a2a
push esi
lea ecx, [ebp - 0x24c]
call fcn.0040bf52
mov edx, str.__size:
lea ecx, [ebp - 0x24c]
call fcn.00406a2a
push edi
lea ecx, [ebp - 0x24c]
call fcn.0040bf52
mov edx, str._bytes
lea ecx, [ebp - 0x24c]
call fcn.00406a2a
lea eax, [ebp - 0x24c]
mov ecx, 0x4ac0bc
push eax
push str.HttpConnection::connectImpl
push 0xf8
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
push 0
call fcn.00402d4b
lea ecx, [ebp - 0x24c]
call fcn.0042b58a
mov esi, dword [ebp - 0x148]
lea ecx, [ebp - 0xb8]
call fcn.004049c7
lea ecx, [ebp - 0x2e4]
call fcn.0042b58a
lea ecx, [ebp - 0xa0]
call fcn.004049c7
lea ecx, [ebp - 0xd0]
call fcn.004049c7
lea ecx, [ebp - 0xe8]
call fcn.004049c7
lea ecx, [ebp - 0x100]
call fcn.004049c7
mov eax, esi
call fcn.00448d87
ret 4
push str.cannot_get_response_status_code
lea ecx, [ebp - 0x74]
call fcn.00403e12
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.0042b58a
mov edx, eax
mov byte [ebp - 4], 0x22
push 0xdd
jmp 0x422df5
push str.InternetCrackUrl_failed
lea ecx, [ebp - 0x2c]
call fcn.00403e12
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.0042b58a
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_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x38]
call fcn.00402dde
push eax
lea ecx, [ebp - 0x88]
call fcn.004256e2
mov dword [esp], 0x4a5ea0
lea eax, [ebp - 0x88]
push eax
call fcn.0042b58a
int3