Function at 0x42a2a9
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0x254
mov eax, 0x46c9d6
call fcn.004516bd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x158], ecx
cmp dword [0x49a024], ebx
jg 0x42a35d
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x12c], esp
push eax
call fcn.00402552
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 4], 1
call fcn.00402897
lea eax, [ebp - 0x250]
push str.HttpConnection::connect_url
push eax
mov byte [ebp - 4], 2
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 3
call fcn.004043f5
mov esi, eax
push 0x4793d8
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x5d
push ebx
mov ebx, str.HttpConnection::connect
mov edi, str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0
call fcn.004015c3
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x190]
push ebx
push eax
call fcn.0044b630
mov esi, dword [ebp - 0x130]
xor edi, edi
inc edi
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x194], 0x3c
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x15c], edi
jb 0x42a3aa
mov eax, dword [esi]
jmp 0x42a3ac
mov eax, esi
lea ecx, [ebp - 0x194]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42a430
push str.InternetCrackUrl_failed
lea ecx, [ebp - 0x48]
call fcn.00402573
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2be
lea ecx, [ebp - 0x48]
push ecx
mov ebx, eax
lea edi, [ebp - 0x24]
call fcn.0042a12f
mov byte [ebp - 4], 5
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0x6a
lea ecx, [ebp - 0x78]
push ecx
lea esi, [ebp - 0x124]
mov ecx, eax
call fcn.0042c242
mov dword [esp], 0x4867c8
lea eax, [ebp - 0x78]
push eax
call fcn.00451224
cmp dword [ebp - 0x188], 3
je 0x42a4b2
cmp dword [ebp - 0x188], 4
je 0x42a4b2
push str.Invalid_scheme
lea ecx, [ebp - 0x48]
call fcn.00402573
lea eax, [ebp - 0x48]
lea esi, [ebp - 0x20]
mov dword [ebp - 4], 6
call fcn.0040102d
mov dword [ebp - 0x20], vtable.HttpConnection::exception.0
mov dword [ebp - 0x14], 0x2bd
mov byte [ebp - 4], 7
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0x6d
lea eax, [ebp - 0x74]
push eax
lea esi, [ebp - 0x124]
lea ecx, [ebp - 0x20]
call fcn.0042c27b
mov dword [esp], 0x4867d8
lea eax, [ebp - 0x74]
jmp 0x42a42a
cmp byte [esi + 0x1c], bl
jne 0x42a511
cmp dword [ebp - 0x188], 3
jne 0x42a511
push str.Http_is_disabled
lea ecx, [ebp - 0x48]
call fcn.00402573
lea eax, [ebp - 0x48]
lea esi, [ebp - 0x20]
mov dword [ebp - 4], 8
call fcn.0040102d
mov dword [ebp - 0x20], vtable.HttpConnection::exception.0
mov dword [ebp - 0x14], 0x2bd
mov byte [ebp - 4], 9
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0x70
jmp 0x42a491
push dword [ebp - 0x180]
lea esi, [ebp - 0xe8]
push dword [ebp - 0x184]
call fcn.004037de
mov dword [ebp - 4], 0xa
push dword [ebp - 0x174]
lea esi, [ebp - 0xb0]
push dword [ebp - 0x178]
call fcn.004037de
mov byte [ebp - 4], 0xb
push dword [ebp - 0x16c]
lea esi, [ebp - 0xcc]
push dword [ebp - 0x170]
call fcn.004037de
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x164], ebx
jbe 0x42a58d
push dword [ebp - 0x164]
lea esi, [ebp - 0x64]
push dword [ebp - 0x168]
call fcn.004037de
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x128], edi
jmp 0x42a5ab
push 0x47b7e0
lea ecx, [ebp - 0x48]
call fcn.00402573
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x128], 2
mov esi, eax
lea edi, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.0040319c
mov dword [ebp - 4], 0xf
test byte [ebp - 0x128], 2
je 0x42a5ed
and dword [ebp - 0x128], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00403353
mov byte [ebp - 4], 0x11
test byte [ebp - 0x128], 1
je 0x42a60c
and dword [ebp - 0x128], 0xfffffffe
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403353
cmp dword [ebp - 0x15c], ebx
jbe 0x42a647
push dword [ebp - 0x15c]
lea esi, [ebp - 0x2c]
push dword [ebp - 0x160]
call fcn.004037de
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 0x12
call fcn.004055bb
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
mov esi, dword [ebp - 0x130]
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 0x10
jb 0x42a658
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 0x1b0], 1
mov byte [ebp - 4], 0x13
cmp eax, ebx
jne 0x42a6cc
push str.InternetOpen_failed
lea ecx, [ebp - 0x48]
call fcn.00402573
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2bf
lea ecx, [ebp - 0x48]
push ecx
mov ebx, eax
lea edi, [ebp - 0x24]
call fcn.0042a12f
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0x80
jmp 0x42a40f
cmp dword [ebp - 0xb8], 0x10
mov edi, dword [ebp - 0xcc]
jae 0x42a6e1
lea edi, [ebp - 0xcc]
cmp dword [ebp - 0x9c], 0x10
mov edx, dword [ebp - 0xb0]
jae 0x42a6f6
lea edx, [ebp - 0xb0]
cmp dword [ebp - 0xd4], 0x10
mov ecx, dword [ebp - 0xe8]
jae 0x42a70b
lea ecx, [ebp - 0xe8]
push ebx
push ebx
push 3
push edi
push edx
push dword [ebp - 0x17c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 0x1a0], 1
mov byte [ebp - 4], 0x16
cmp eax, ebx
jne 0x42a78b
push str.InternetConnect_failed
lea ecx, [ebp - 0x48]
call fcn.00402573
mov byte [ebp - 4], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2c0
lea ecx, [ebp - 0x48]
push ecx
mov ebx, eax
lea edi, [ebp - 0x24]
call fcn.0042a12f
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0x87
jmp 0x42a40f
cmp dword [ebp - 0x188], 4
mov dword [ebp - 0x1ac], 0x47db80
mov dword [ebp - 0x1a8], ebx
jne 0x42a7ab
mov ecx, 0x800000
jmp 0x42a7ad
xor ecx, ecx
cmp dword [ebp - 0x80], 0x10
mov edi, dword [ebp - 0x94]
jae 0x42a7bf
lea edi, [ebp - 0x94]
mov edx, dword [esi + 0x20]
sub edx, ebx
je 0x42a7de
dec edx
je 0x42a7d7
dec edx
je 0x42a7d0
xor edx, edx
jmp 0x42a7e3
mov edx, str.HEAD
jmp 0x42a7e3
mov edx, str.POST
jmp 0x42a7e3
mov edx, 0x47da50
push ebx
or ecx, 0x4400200
push ecx
lea ecx, [ebp - 0x1ac]
push ecx
push ebx
push ebx
push edi
push edx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x19c], edi
mov byte [ebp - 0x198], 1
mov byte [ebp - 4], 0x19
cmp edi, ebx
jne 0x42a865
push str.HttpOpenRequest_failed
lea ecx, [ebp - 0x48]
call fcn.00402573
mov byte [ebp - 4], 0x1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2c2
lea ecx, [ebp - 0x48]
push ecx
mov ebx, eax
lea edi, [ebp - 0x24]
call fcn.0042a12f
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0x99
jmp 0x42a40f
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x40]
je 0x42a872
mov ecx, dword [esi + 0x40]
jmp 0x42a874
xor ecx, ecx
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x40]
push eax
push ecx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42a91e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x150], eax
cmp byte [esi + 0x1d], bl
je 0x42a8cf
push ebx
push 7
push eax
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x42a9cb
cmp dword [ebp - 0x150], 0x2f0c
jne 0x42a8cf
cmp eax, ebx
je 0x42a9cb
push str.HttpSendRequest_failed
lea ecx, [ebp - 0x48]
call fcn.00402573
mov ebx, dword [ebp - 0x150]
push 0x2c4
lea eax, [ebp - 0x48]
push eax
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 0x1c
call fcn.0042a12f
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0xb0
jmp 0x42a40f
push ebx
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x154]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x12c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x42a99e
push str.cannot_get_response_status_code
lea ecx, [ebp - 0x48]
call fcn.00402573
mov byte [ebp - 4], 0x1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2cc
lea ecx, [ebp - 0x48]
push ecx
mov ebx, eax
lea edi, [ebp - 0x24]
call fcn.0042a12f
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0xb7
jmp 0x42a40f
mov eax, dword [ebp - 0x154]
sub eax, 0x191
je 0x42a9b0
sub eax, 6
jne 0x42a9cb
cmp byte [esi + 0x1d], bl
je 0x42a9cb
push ebx
push 7
push 0x2eee
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
mov eax, dword [esi + 0x50]
mov byte [ebp - 0x198], bl
mov byte [ebp - 0x1a0], bl
mov byte [ebp - 0x1b0], bl
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 0x148], 1
mov dword [ebp - 0x144], ecx
mov byte [ebp - 0x140], 1
mov dword [ebp - 0x13c], edi
mov byte [ebp - 0x138], 1
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0x22
cmp byte [ebp + 0xc], bl
je 0x42ab55
lea eax, [ebp - 0x14c]
push eax
push 0x13
pop ecx
call fcn.0042ae9e
mov dword [ebp - 0x12c], eax
cmp eax, 0xc8
je 0x42ab55
mov edi, 0x193
cmp eax, edi
jne 0x42ab08
push 0x475e44
lea ecx, [ebp - 0x64]
call fcn.00402573
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x64]
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 0x23
call fcn.0042b07f
push 0
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x25
call fcn.00403353
mov esi, str.Export_Denied
push esi
call fcn.0044b400
pop ecx
push eax
push esi
mov eax, ebx
push eax
xor eax, eax
call fcn.0041285b
cmp eax, 0xffffffff
je 0x42aaf8
lea ecx, [ebp - 0x24]
call fcn.0042a180
mov dword [ebp - 0x24], vtable.HttpConnection::export_compliance_error.0
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x118]
push eax
lea esi, [ebp - 0x124]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0xd6
call fcn.0042c2b4
mov dword [esp], 0x4867e8
lea eax, [ebp - 0x118]
jmp 0x42a42a
push 0
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x22
call fcn.00403353
mov edi, dword [ebp - 0x12c]
lea ecx, [ebp - 0x24]
call fcn.0042a180
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x27
push ecx
lea esi, [ebp - 0x124]
mov ecx, eax
mov dword [ebp - 0x124], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x120], str.HttpConnection::connect
mov dword [ebp - 0x11c], 0xd9
call fcn.0042c2ed
mov dword [esp], 0x4867f8
jmp 0x42aaed
cmp dword [0x49a024], ebx
jg 0x42abff
lea eax, [ebp - 0x250]
push eax
call fcn.00402897
lea eax, [ebp - 0x14c]
push eax
push 5
pop ecx
mov byte [ebp - 4], 0x28
call fcn.0042ae9e
mov esi, eax
lea eax, [ebp - 0x250]
push str.HttpConnection::connect_succeeded
push eax
call fcn.00405650
lea eax, [ebp - 0x250]
push str.__size:
push eax
call fcn.00405650
add esp, 0x10
push esi
lea eax, [ebp - 0x250]
push eax
call fcn.0040a98f
lea eax, [ebp - 0x250]
push str._bytes
push eax
call fcn.00405650
pop ecx
pop ecx
lea eax, [ebp - 0x250]
push eax
push 0xde
push ebx
mov ebx, str.HttpConnection::connect
mov edi, str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_NetUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x22
call fcn.004015c3
mov esi, dword [ebp - 0x130]
xor ebx, ebx
cmp dword [esi + 0x50], ebx
je 0x42ac1d
lea eax, [ebp - 0x14c]
push eax
push 5
pop ecx
call fcn.0042ae9e
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
push eax
push ebx
call dword [edx + 4]
mov esi, dword [ebp - 0x158]
mov eax, dword [ebp - 0x14c]
mov dword [esi], eax
mov al, byte [ebp - 0x148]
mov byte [esi + 4], al
mov eax, dword [ebp - 0x144]
mov dword [esi + 8], eax
mov al, byte [ebp - 0x140]
mov byte [esi + 0xc], al
mov eax, dword [ebp - 0x13c]
mov dword [esi + 0x10], eax
mov al, byte [ebp - 0x138]
mov byte [esi + 0x14], al
mov eax, dword [ebp - 0x134]
mov byte [ebp - 0x148], bl
mov byte [ebp - 0x140], bl
mov byte [ebp - 0x138], bl
mov dword [esi + 0x18], eax
or dword [ebp - 0x128], 4
lea eax, [ebp - 0x14c]
push eax
mov byte [ebp - 4], 0x19
call fcn.0040a2b7
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x94]
call fcn.00403353
push ebx
push edi
lea ecx, [ebp - 0xcc]
call fcn.00403353
push ebx
push edi
lea ecx, [ebp - 0xb0]
call fcn.00403353
push ebx
push edi
lea ecx, [ebp - 0xe8]
call fcn.00403353
mov eax, esi
call fcn.00451740
ret 8