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

Disassembly:
push 0x1d0
mov eax, 0x218166
call fcn.0020501e
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x38
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x1ac]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x13c], ebx
call fcn.001ff900
xor edi, edi
inc edi
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x1b0], 0x3c
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x178], edi
jb 0x1fa531
mov eax, dword [esi]
jmp 0x1fa533
mov eax, esi
lea ecx, [ebp - 0x1b0]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x1fa5ae
push str.InternetCrackUrl_failed
lea ecx, [ebp - 0x30]
call fcn.001e5ac0
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
lea edi, [ebp - 0x40]
call fcn.001fa37d
mov byte [ebp - 4], 2
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x5c
lea ecx, [ebp - 0x78]
push ecx
lea esi, [ebp - 0x138]
mov ecx, eax
call fcn.001fbaf2
mov dword [esp], 0x2226f4
lea eax, [ebp - 0x78]
push eax
call fcn.00204705
cmp dword [ebp - 0x1a4], 3
je 0x1fa642
cmp dword [ebp - 0x1a4], 4
je 0x1fa642
push str.Invalid_scheme
lea ecx, [ebp - 0xb0]
call fcn.001e5ac0
lea eax, [ebp - 0xb0]
lea esi, [ebp - 0x16c]
mov dword [ebp - 4], 3
call fcn.001e7285
mov dword [ebp - method.std::logic_error.virtual_0], vtable.HttpConnection::exception.0
mov byte [ebp - 4], 4
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x5f
lea eax, [ebp - 0x12c]
push eax
lea esi, [ebp - 0x138]
lea ecx, [ebp - 0x16c]
call fcn.001fbb2b
mov dword [esp], 0x222704
lea eax, [ebp - 0x12c]
jmp 0x1fa5a8
cmp byte [esi + 0x1c], bl
jne 0x1fa6a9
cmp dword [ebp - 0x1a4], 3
jne 0x1fa6a9
push str.Http_is_disabled
lea ecx, [ebp - 0xb0]
call fcn.001e5ac0
lea eax, [ebp - 0xb0]
lea esi, [ebp - 0x16c]
mov dword [ebp - 4], 5
call fcn.001e7285
mov dword [ebp - method.std::logic_error.virtual_0], vtable.HttpConnection::exception.0
mov byte [ebp - 4], 6
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x62
jmp 0x1fa618
push dword [ebp - 0x19c]
lea esi, [ebp - 0xe8]
push dword [ebp - 0x1a0]
call fcn.001eb0d1
mov dword [ebp - 4], 7
push dword [ebp - 0x190]
lea esi, [ebp - 0xcc]
push dword [ebp - 0x194]
call fcn.001eb0d1
mov byte [ebp - 4], 8
push dword [ebp - 0x188]
lea esi, [ebp - 0x104]
push dword [ebp - 0x18c]
call fcn.001eb0d1
mov byte [ebp - 4], 9
cmp dword [ebp - 0x180], ebx
jbe 0x1fa728
push dword [ebp - 0x180]
lea esi, [ebp - 0xb0]
push dword [ebp - 0x184]
call fcn.001eb0d1
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x13c], edi
jmp 0x1fa746
push 0x21ed08
lea ecx, [ebp - 0x30]
call fcn.001e5ac0
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x13c], 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.001e5ce9
mov dword [ebp - 4], 0xc
test byte [ebp - 0x13c], 2
je 0x1fa788
and dword [ebp - 0x13c], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.001e5dcc
mov byte [ebp - 4], 0xe
test byte [ebp - 0x13c], 1
je 0x1fa7aa
and dword [ebp - 0x13c], 0xfffffffe
push ebx
push 1
lea ecx, [ebp - 0xb0]
call fcn.001e5dcc
cmp dword [ebp - 0x178], ebx
jbe 0x1fa7e5
push dword [ebp - 0x178]
lea esi, [ebp - 0x4c]
push dword [ebp - 0x17c]
call fcn.001eb0d1
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 0xf
call fcn.001e62c6
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.001e5dcc
mov esi, dword [ebp - 0x140]
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 0x10
jb 0x1fa7f6
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x164], 1
mov byte [ebp - 4], 0x10
cmp eax, ebx
jne 0x1fa868
push str.InternetOpen_failed
lea ecx, [ebp - 0x30]
call fcn.001e5ac0
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
lea edi, [ebp - 0x40]
call fcn.001fa37d
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x72
jmp 0x1fa58d
cmp dword [ebp - 0xf0], 0x10
mov edi, dword [ebp - 0x104]
jae 0x1fa87d
lea edi, [ebp - 0x104]
cmp dword [ebp - 0xb8], 0x10
mov edx, dword [ebp - 0xcc]
jae 0x1fa892
lea edx, [ebp - 0xcc]
cmp dword [ebp - 0xd4], 0x10
mov ecx, dword [ebp - 0xe8]
jae 0x1fa8a7
lea ecx, [ebp - 0xe8]
push ebx
push ebx
push 3
push edi
push edx
push dword [ebp - 0x198]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [ebp - 0x1b8], edi
mov byte [ebp - 0x1b4], 1
mov byte [ebp - 4], 0x13
cmp edi, ebx
jne 0x1fa91e
push str.InternetConnect_failed
lea ecx, [ebp - 0x30]
call fcn.001e5ac0
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
lea edi, [ebp - 0x40]
call fcn.001fa37d
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x79
jmp 0x1fa58d
cmp dword [ebp - 0x1a4], 4
mov dword [ebp - 0x1c8], 0x21fca4
mov dword [ebp - 0x1c4], ebx
jne 0x1fa93e
mov eax, 0x800000
jmp 0x1fa940
xor eax, eax
cmp dword [ebp - 0x80], 0x10
mov edx, dword [ebp - 0x94]
jae 0x1fa952
lea edx, [ebp - 0x94]
mov ecx, dword [esi + 0x20]
sub ecx, ebx
je 0x1fa971
dec ecx
je 0x1fa96a
dec ecx
je 0x1fa963
xor ecx, ecx
jmp 0x1fa976
mov ecx, str.HEAD
jmp 0x1fa976
mov ecx, str.POST
jmp 0x1fa976
mov ecx, 0x21fb98
push ebx
or eax, 0x4400200
push eax
lea eax, [ebp - 0x1c8]
push eax
push ebx
push ebx
push edx
push ecx
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x1c0], esi
mov byte [ebp - 0x1bc], 1
mov byte [ebp - 4], 0x16
cmp esi, ebx
jne 0x1fa9f2
push str.HttpOpenRequest_failed
lea ecx, [ebp - 0x30]
call fcn.001e5ac0
mov byte [ebp - 4], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
lea edi, [ebp - 0x40]
call fcn.001fa37d
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x8b
jmp 0x1fa58d
mov ecx, dword [ebp - 0x140]
mov eax, dword [ecx + 0x44]
sub eax, dword [ecx + 0x40]
je 0x1faa05
mov edx, dword [ecx + 0x40]
jmp 0x1faa07
xor edx, edx
mov eax, dword [ecx + 0x44]
sub eax, dword [ecx + 0x40]
push eax
push edx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1faab2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x160], eax
cmp byte [ecx + 0x1d], bl
je 0x1faa68
push ebx
push 7
push eax
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x1fab60
cmp dword [ebp - 0x160], 0x2f0c
jne 0x1faa68
cmp eax, ebx
je 0x1fab60
push str.HttpSendRequest_failed
lea ecx, [ebp - 0x30]
call fcn.001e5ac0
mov ebx, dword [ebp - 0x160]
lea eax, [ebp - 0x30]
push eax
lea edi, [ebp - 0x40]
mov byte [ebp - 4], 0x19
call fcn.001fa37d
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0xa2
jmp 0x1fa58d
push ebx
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x170], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x1fab2d
push str.cannot_get_response_status_code
lea ecx, [ebp - 0x30]
call fcn.001e5ac0
mov byte [ebp - 4], 0x1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
lea edi, [ebp - 0x40]
call fcn.001fa37d
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0xa9
jmp 0x1fa58d
mov eax, dword [ebp - 0x15c]
sub eax, 0x191
je 0x1fab3f
sub eax, 6
jne 0x1fab60
mov eax, dword [ebp - 0x140]
cmp byte [eax + 0x1d], bl
je 0x1fab60
push ebx
push 7
push 0x2eee
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
mov byte [ebp - 0x1bc], bl
mov byte [ebp - 0x1b4], bl
mov byte [ebp - 0x164], bl
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x158], eax
mov byte [ebp - 0x154], 1
mov dword [ebp - 0x150], edi
mov byte [ebp - 0x14c], 1
mov dword [ebp - 0x148], esi
mov byte [ebp - 0x144], 1
lea eax, [ebp - 0x158]
push eax
push 0x13
pop ecx
mov byte [ebp - 4], 0x1f
call fcn.001faf38
mov edi, eax
mov esi, 0xc8
cmp edi, esi
je 0x1facc9
cmp edi, 0x193
jne 0x1fac82
push 0x21c7de
lea ecx, [ebp - 0xb0]
call fcn.001e5ac0
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0xb0]
lea ebx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.001fb117
push 0
push 1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x22
call fcn.001e5dcc
mov ebx, str.Export_Denied
push ebx
call fcn.001ff470
pop ecx
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
xor eax, eax
call fcn.001ee80e
cmp eax, 0xffffffff
je 0x1fac72
lea ecx, [ebp - 0x40]
call fcn.001fa3c8
mov dword [ebp - 0x40], vtable.HttpConnection::export_compliance_error.0
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x78]
mov dword [ebp - 0x130], esi
push eax
lea esi, [ebp - 0x138]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
call fcn.001fbb64
mov dword [esp], 0x222714
jmp 0x1fa5a5
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1f
call fcn.001e5dcc
lea ecx, [ebp - 0x40]
call fcn.001fa3c8
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x24
push ecx
lea esi, [ebp - 0x138]
mov ecx, eax
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0xcb
call fcn.001fbb9d
mov dword [esp], 0x222724
jmp 0x1fa5a5
mov esi, dword [ebp - 0x174]
mov eax, dword [ebp - 0x158]
mov dword [esi], eax
mov al, byte [ebp - 0x154]
mov byte [esi + 4], al
mov eax, dword [ebp - 0x150]
mov dword [esi + 8], eax
mov al, byte [ebp - 0x14c]
mov byte [esi + 0xc], al
mov eax, dword [ebp - 0x148]
mov dword [esi + 0x10], eax
mov al, byte [ebp - 0x144]
mov byte [ebp - 0x154], bl
mov byte [ebp - 0x14c], bl
mov byte [esi + 0x14], al
mov byte [ebp - 0x144], bl
or dword [ebp - 0x13c], 4
lea eax, [ebp - 0x158]
push eax
mov byte [ebp - 4], 0x16
call fcn.001e7d4e
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x94]
call fcn.001e5dcc
push ebx
push edi
lea ecx, [ebp - 0x104]
call fcn.001e5dcc
push ebx
push edi
lea ecx, [ebp - 0xcc]
call fcn.001e5dcc
push ebx
push edi
lea ecx, [ebp - 0xe8]
call fcn.001e5dcc
mov eax, esi
call fcn.002050a1
ret 4