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

Disassembly:
push 0x1d0
mov eax, 0xbc8166
call fcn.00bb501e
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.00baf900
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 0xbaa531
mov eax, dword [esi]
jmp 0xbaa533
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 0xbaa5ae
push str.InternetCrackUrl_failed
lea ecx, [ebp - 0x30]
call fcn.00b95ac0
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.00baa37d
mov byte [ebp - 4], 2
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_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.00babaf2
mov dword [esp], 0xbd26f4
lea eax, [ebp - 0x78]
push eax
call fcn.00bb4705
cmp dword [ebp - 0x1a4], 3
je 0xbaa642
cmp dword [ebp - 0x1a4], 4
je 0xbaa642
push str.Invalid_scheme
lea ecx, [ebp - 0xb0]
call fcn.00b95ac0
lea eax, [ebp - 0xb0]
lea esi, [ebp - 0x16c]
mov dword [ebp - 4], 3
call fcn.00b97285
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_jdk8u45_3627_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.00babb2b
mov dword [esp], 0xbd2704
lea eax, [ebp - 0x12c]
jmp 0xbaa5a8
cmp byte [esi + 0x1c], bl
jne 0xbaa6a9
cmp dword [ebp - 0x1a4], 3
jne 0xbaa6a9
push str.Http_is_disabled
lea ecx, [ebp - 0xb0]
call fcn.00b95ac0
lea eax, [ebp - 0xb0]
lea esi, [ebp - 0x16c]
mov dword [ebp - 4], 5
call fcn.00b97285
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_jdk8u45_3627_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x62
jmp 0xbaa618
push dword [ebp - 0x19c]
lea esi, [ebp - 0xe8]
push dword [ebp - 0x1a0]
call fcn.00b9b0d1
mov dword [ebp - 4], 7
push dword [ebp - 0x190]
lea esi, [ebp - 0xcc]
push dword [ebp - 0x194]
call fcn.00b9b0d1
mov byte [ebp - 4], 8
push dword [ebp - 0x188]
lea esi, [ebp - 0x104]
push dword [ebp - 0x18c]
call fcn.00b9b0d1
mov byte [ebp - 4], 9
cmp dword [ebp - 0x180], ebx
jbe 0xbaa728
push dword [ebp - 0x180]
lea esi, [ebp - 0xb0]
push dword [ebp - 0x184]
call fcn.00b9b0d1
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x13c], edi
jmp 0xbaa746
push 0xbced08
lea ecx, [ebp - 0x30]
call fcn.00b95ac0
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.00b95ce9
mov dword [ebp - 4], 0xc
test byte [ebp - 0x13c], 2
je 0xbaa788
and dword [ebp - 0x13c], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00b95dcc
mov byte [ebp - 4], 0xe
test byte [ebp - 0x13c], 1
je 0xbaa7aa
and dword [ebp - 0x13c], 0xfffffffe
push ebx
push 1
lea ecx, [ebp - 0xb0]
call fcn.00b95dcc
cmp dword [ebp - 0x178], ebx
jbe 0xbaa7e5
push dword [ebp - 0x178]
lea esi, [ebp - 0x4c]
push dword [ebp - 0x17c]
call fcn.00b9b0d1
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 0xf
call fcn.00b962c6
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00b95dcc
mov esi, dword [ebp - 0x140]
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 0x10
jb 0xbaa7f6
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 0xbaa868
push str.InternetOpen_failed
lea ecx, [ebp - 0x30]
call fcn.00b95ac0
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.00baa37d
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x72
jmp 0xbaa58d
cmp dword [ebp - 0xf0], 0x10
mov edi, dword [ebp - 0x104]
jae 0xbaa87d
lea edi, [ebp - 0x104]
cmp dword [ebp - 0xb8], 0x10
mov edx, dword [ebp - 0xcc]
jae 0xbaa892
lea edx, [ebp - 0xcc]
cmp dword [ebp - 0xd4], 0x10
mov ecx, dword [ebp - 0xe8]
jae 0xbaa8a7
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 0xbaa91e
push str.InternetConnect_failed
lea ecx, [ebp - 0x30]
call fcn.00b95ac0
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.00baa37d
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x79
jmp 0xbaa58d
cmp dword [ebp - 0x1a4], 4
mov dword [ebp - 0x1c8], 0xbcfca4
mov dword [ebp - 0x1c4], ebx
jne 0xbaa93e
mov eax, 0x800000
jmp 0xbaa940
xor eax, eax
cmp dword [ebp - 0x80], 0x10
mov edx, dword [ebp - 0x94]
jae 0xbaa952
lea edx, [ebp - 0x94]
mov ecx, dword [esi + 0x20]
sub ecx, ebx
je 0xbaa971
dec ecx
je 0xbaa96a
dec ecx
je 0xbaa963
xor ecx, ecx
jmp 0xbaa976
mov ecx, str.HEAD
jmp 0xbaa976
mov ecx, str.POST
jmp 0xbaa976
mov ecx, 0xbcfb98
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 0xbaa9f2
push str.HttpOpenRequest_failed
lea ecx, [ebp - 0x30]
call fcn.00b95ac0
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.00baa37d
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0x8b
jmp 0xbaa58d
mov ecx, dword [ebp - 0x140]
mov eax, dword [ecx + 0x44]
sub eax, dword [ecx + 0x40]
je 0xbaaa05
mov edx, dword [ecx + 0x40]
jmp 0xbaaa07
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 0xbaaab2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x160], eax
cmp byte [ecx + 0x1d], bl
je 0xbaaa68
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 0xbaab60
cmp dword [ebp - 0x160], 0x2f0c
jne 0xbaaa68
cmp eax, ebx
je 0xbaab60
push str.HttpSendRequest_failed
lea ecx, [ebp - 0x30]
call fcn.00b95ac0
mov ebx, dword [ebp - 0x160]
lea eax, [ebp - 0x30]
push eax
lea edi, [ebp - 0x40]
mov byte [ebp - 4], 0x19
call fcn.00baa37d
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0xa2
jmp 0xbaa58d
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 0xbaab2d
push str.cannot_get_response_status_code
lea ecx, [ebp - 0x30]
call fcn.00b95ac0
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.00baa37d
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x138], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0xa9
jmp 0xbaa58d
mov eax, dword [ebp - 0x15c]
sub eax, 0x191
je 0xbaab3f
sub eax, 6
jne 0xbaab60
mov eax, dword [ebp - 0x140]
cmp byte [eax + 0x1d], bl
je 0xbaab60
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.00baaf38
mov edi, eax
mov esi, 0xc8
cmp edi, esi
je 0xbaacc9
cmp edi, 0x193
jne 0xbaac82
push 0xbcc7de
lea ecx, [ebp - 0xb0]
call fcn.00b95ac0
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0xb0]
lea ebx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.00bab117
push 0
push 1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x22
call fcn.00b95dcc
mov ebx, str.Export_Denied
push ebx
call fcn.00baf470
pop ecx
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
xor eax, eax
call fcn.00b9e80e
cmp eax, 0xffffffff
je 0xbaac72
lea ecx, [ebp - 0x40]
call fcn.00baa3c8
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_jdk8u45_3627_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
call fcn.00babb64
mov dword [esp], 0xbd2714
jmp 0xbaa5a5
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1f
call fcn.00b95dcc
lea ecx, [ebp - 0x40]
call fcn.00baa3c8
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_jdk8u45_3627_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x134], str.HttpConnection::connect
mov dword [ebp - 0x130], 0xcb
call fcn.00babb9d
mov dword [esp], 0xbd2724
jmp 0xbaa5a5
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.00b97d4e
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x94]
call fcn.00b95dcc
push ebx
push edi
lea ecx, [ebp - 0x104]
call fcn.00b95dcc
push ebx
push edi
lea ecx, [ebp - 0xcc]
call fcn.00b95dcc
push ebx
push edi
lea ecx, [ebp - 0xe8]
call fcn.00b95dcc
mov eax, esi
call fcn.00bb50a1
ret 4