Function at 0x4498d2
Capabilities:
Check http status code

Disassembly:
push 0x7c8
mov eax, 0x525abd
call fcn.004dad4b
mov dword [ebp - 0x7b8], edx
mov dword [ebp - 0x7c0], ecx
mov edx, dword [ebp + 0x14]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov edi, ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x7b0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7ac], edi
mov ecx, dword [edx]
mov dword [ebp - 0x7c4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7cc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x7d0], eax
mov eax, dword [ecx]
push 1
push dword [edx + 4]
mov dword [ebp - 0x7c8], esi
mov dword [ebp - 0x7bc], edx
mov dword [ebp - 0x7a8], edi
call dword [eax]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x449949
mov esi, dword [esi]
mov byte [esi], bl
mov esi, dword [ebp - 0x7b8]
test esi, esi
je 0x449ba0
push ecx
mov ecx, esi
call fcn.00453807
test al, al
je 0x449ba0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test al, al
je 0x4499c3
push str.handshake
lea ecx, [ebp - 0x2c]
call fcn.004180bb
mov esi, dword [ebp - 0x7b0]
lea eax, [ebp - 0x330]
mov dword [ebp - 4], ebx
mov ecx, esi
push eax
mov dword [ebp - 0x7ac], 1
call fcn.0044b39f
push 3
pop ecx
mov dword [ebp - 0x7a8], ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.004486ca
test al, al
jne 0x4499c9
mov byte [ebp - 0x7a1], 1
jmp 0x4499cf
mov esi, dword [ebp - 0x7b0]
mov byte [ebp - 0x7a1], bl
mov eax, dword [ebp - 0x7a8]
test al, 2
je 0x4499f3
and eax, 0xfffffffd
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x7a8], eax
call fcn.00423ef2
mov eax, dword [ebp - 0x7a8]
or dword [ebp - 4], 0xffffffff
test al, 1
je 0x449a0f
push ebx
and eax, 0xfffffffe
lea ecx, [ebp - 0x2c]
push 1
mov dword [ebp - 0x7a8], eax
call fcn.0041a391
cmp byte [ebp - 0x7a1], 0
je 0x449a34
push 0x6a0500
push str._s:_insufficient_capabilities_for_untunnelled_web_request
push 1
push ebx
call fcn.0043ceb9
add esp, 0x10
xor al, al
jmp 0x44a169
push ebx
lea ecx, [ebp - 0x1d0]
call fcn.0043647b
mov dword [ebp - 4], 1
or dword [ebp - 0x110], 0xffffffff
push 0xf
pop eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0xf4], bl
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.0044b207
mov dword [ebp - 0x7b8], eax
mov ecx, dword [ebp - 0x7b0]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x7a8]
or edi, 4
push eax
mov dword [ebp - 0x7ac], edi
mov esi, edi
call fcn.0044b1b3
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2c]
or edi, 8
mov edx, eax
mov dword [ebp - 0x7ac], edi
call fcn.00428a40
mov ecx, dword [ebp - 0x7b0]
or esi, 0x18
mov dword [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x7ac], esi
jb 0x449ae6
mov eax, dword [eax]
push ebx
push dword [ebp + 0x20]
lea edx, [ebp - 0x110]
push dword [ebp - 0x7d0]
push dword [ebp - 0x7cc]
push ebx
push edx
push 1
push dword [ebp - 0x7bc]
push dword [ebp - 0x7c4]
push dword [ebp - 0x7b8]
push dword [ecx + 0x30]
lea ecx, [ebp - 0x1d0]
push eax
call fcn.004368c4
test al, al
je 0x449b38
cmp dword [ebp - 0x110], 0xc8
mov byte [ebp - 0x7a1], 1
je 0x449b3e
mov byte [ebp - 0x7a1], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042ab9c
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0041a391
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call fcn.0041a391
mov ecx, dword [ebp - 0x7c8]
lea eax, [ebp - 0x10c]
cmp ecx, eax
je 0x449b7f
push 0xffffffffffffffff
push ebx
push eax
call fcn.0041a570
lea ecx, [ebp - 0x110]
call fcn.0042667e
lea ecx, [ebp - 0x1d0]
call fcn.004364e9
mov al, byte [ebp - 0x7a1]
jmp 0x44a169
cmp dword [ebp - 0x7c0], 2
je 0x449a2d
push str.handshake
lea ecx, [ebp - 0x2c]
call fcn.004180bb
mov esi, dword [ebp - 0x7b0]
lea eax, [ebp - 0x330]
push eax
mov ecx, esi
mov dword [ebp - 4], 6
call fcn.0044b39f
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.004486ca
lea ecx, [ebp - 0x330]
mov bl, al
call fcn.00423ef2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.0041a391
test bl, bl
je 0x449e2f
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x7b8], eax
lea eax, [ebp - 0x7b8]
push eax
call fcn.0044a262
lea eax, [ebp - 0x7b8]
mov dword [ebp - 0x7b8], 0x1bb
push eax
lea ecx, [ebp - 0x20]
call fcn.0044a262
mov esi, dword [ebp - 0x20]
jmp 0x449dd4
push ebx
lea ecx, [ebp - 0x170]
call fcn.0043647b
or dword [ebp - 0xa8], 0xffffffff
push 0xf
pop eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
mov ecx, dword [ebp - 0x7b0]
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 9
call fcn.0044b207
mov dword [ebp - 0x7b8], eax
mov ecx, dword [ebp - 0x7b0]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
or edi, 0x20
push eax
mov dword [ebp - 0x7a8], edi
mov dword [ebp - 0x7ac], edi
call fcn.0044b1b3
mov ecx, edi
mov dword [ebp - 4], 0xb
or ecx, 0x40
mov edx, eax
mov dword [ebp - 0x7ac], ecx
lea ecx, [ebp - 0x5c]
call fcn.00428a40
mov ecx, eax
mov dword [ebp - 4], 0xc
mov eax, edi
or eax, 0xc0
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x7a8], eax
mov dword [ebp - 0x7ac], eax
jb 0x449cff
mov ecx, dword [ecx]
push ebx
push dword [ebp + 0x20]
lea eax, [ebp - 0xa8]
push dword [ebp - 0x7d0]
push dword [ebp - 0x7cc]
push ebx
push eax
push ebx
push dword [ebp - 0x7bc]
push dword [ebp - 0x7c4]
push dword [ebp - 0x7b8]
push dword [esi]
push ecx
lea ecx, [ebp - 0x170]
call fcn.004368c4
test al, al
jne 0x449d4e
cmp dword [ebp - 0xa8], 0xc8
mov byte [ebp - 0x7a1], bl
je 0x449d55
mov byte [ebp - 0x7a1], 1
mov edi, dword [ebp - 0x7a8]
lea ecx, [ebp - 0x5c]
push ebx
push 1
and edi, 0xffffff7f
call fcn.0042ab9c
push ebx
push 1
lea ecx, [ebp - 0x44]
and edi, 0xffffffbf
call fcn.0041a391
push ebx
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x74]
and edi, 0xffffffdf
push 1
mov dword [ebp - 0x7a8], edi
mov dword [ebp - 0x7ac], edi
call fcn.0041a391
cmp byte [ebp - 0x7a1], 0
jne 0x449df1
push dword [esi]
push 0x6a0500
push str._s:_HTTPS:_d_failed
push 1
push ebx
call fcn.0043ceb9
add esp, 0x14
lea ecx, [ebp - 0xa8]
call fcn.0042667e
lea ecx, [ebp - 0x170]
call fcn.004364e9
add esi, 4
cmp esi, dword [ebp - 0x1c]
jne 0x449c50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043cdab
mov esi, dword [ebp - 0x7b0]
jmp 0x449e31
mov ecx, dword [ebp - 0x7c8]
lea eax, [ebp - 0xa4]
cmp ecx, eax
je 0x449e0a
push 0xffffffffffffffff
push ebx
push eax
call fcn.0041a570
lea ecx, [ebp - 0xa8]
call fcn.0042667e
lea ecx, [ebp - 0x170]
call fcn.004364e9
lea ecx, [ebp - 0x20]
call fcn.0043cdab
mov al, 1
jmp 0x44a169
xor ebx, ebx
cmp dword [ebp - 0x7c0], 1
je 0x449a2d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x330]
mov dword [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.0044b39f
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.0044a16f
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0xd
call fcn.00423ef2
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x7b1], bl
mov dword [ebp - 0x7d4], edi
mov dword [ebp - 0x7c0], esi
cmp esi, edi
je 0x44a159
lea ecx, [ebp - 0x7a0]
call fcn.00453df2
mov ecx, dword [ebp - 0x7b0]
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 0x10
call fcn.0044b39f
push ebx
lea eax, [ebp - 0x490]
mov byte [ebp - 4], 0x11
push eax
push ebx
push ebx
push ebx
push ebx
push dword [esi]
lea ecx, [ebp - 0x7a0]
push dword [ebp - 0x7bc]
call fcn.00453f49
push ebx
lea ecx, [ebp - 0x170]
call fcn.0043647b
or dword [ebp - 0xdc], 0xffffffff
push 0xf
pop eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xc0], bl
mov ecx, dword [ebp - 0x7b0]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x13
call fcn.0044b207
mov dword [ebp - 0x7b8], eax
mov ecx, dword [ebp - 0x7b0]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x7a8]
or eax, 0x100
mov dword [ebp - 0x7a8], eax
mov dword [ebp - 0x7ac], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0044b1b3
mov edx, eax
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x7a8]
or eax, 0x200
mov dword [ebp - 0x7a8], eax
mov dword [ebp - 0x7ac], eax
call fcn.00428a40
mov ecx, eax
mov dword [ebp - 4], 0x16
mov eax, dword [ebp - 0x7a8]
or eax, 0x400
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x7a8], eax
mov dword [ebp - 0x7ac], eax
mov eax, dword [ebp - 0x7b0]
jb 0x449fb0
mov ecx, dword [ecx]
push ebx
push dword [ebp + 0x20]
lea edx, [ebp - 0xdc]
push dword [ebp - 0x7d0]
push dword [ebp - 0x7cc]
push ebx
push edx
push 1
push dword [ebp - 0x7bc]
push dword [ebp - 0x7c4]
push dword [ebp - 0x7b8]
push dword [eax + 0x30]
push ecx
lea ecx, [ebp - 0x170]
call fcn.004368c4
test al, al
jne 0x44a001
cmp dword [ebp - 0xdc], 0xc8
mov byte [ebp - 0x7a1], bl
je 0x44a008
mov byte [ebp - 0x7a1], 1
and dword [ebp - 0x7a8], 0xfffffbff
lea ecx, [ebp - 0x74]
push ebx
push 1
call fcn.0042ab9c
and dword [ebp - 0x7a8], 0xfffffdff
lea ecx, [ebp - 0x5c]
push ebx
push 1
call fcn.0041a391
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x7a8]
and eax, 0xfffffeff
push ebx
push 1
mov dword [ebp - 0x7a8], eax
mov dword [ebp - 0x7ac], eax
call fcn.0041a391
cmp byte [ebp - 0x7a1], 0
je 0x44a0b0
mov ecx, dword [ebp - 0x7c8]
lea eax, [ebp - 0xd8]
cmp ecx, eax
je 0x44a07d
push 0xffffffffffffffff
push ebx
push eax
call fcn.0041a570
lea ecx, [ebp - 0xdc]
mov bl, 1
call fcn.0042667e
lea ecx, [ebp - 0x170]
call fcn.004364e9
lea ecx, [ebp - 0x490]
call fcn.00423ef2
lea ecx, [ebp - 0x7a0]
call fcn.00453ea3
jmp 0x44a15f
mov ecx, dword [esi]
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 8
jb 0x44a0c7
mov eax, dword [eax]
push eax
push 0x6a0500
push str._s:_transport:_s_failed
push 1
push ebx
call fcn.0043ceb9
add esp, 0x14
lea ecx, [ebp - 0x74]
push ebx
push 1
call fcn.0042ab9c
lea ecx, [ebp - 0xdc]
call fcn.0042667e
lea ecx, [ebp - 0x170]
call fcn.004364e9
lea ecx, [ebp - 0x490]
call fcn.00423ef2
mov dword [ebp - 4], 0xf
jmp 0x44a142
lea ecx, [ebp - 0x7a0]
mov byte [ebp - 4], 0xd
call fcn.00453ea3
add esi, 8
jmp 0x449e8b
mov bl, byte [ebp - 0x7b1]
lea ecx, [ebp - 0x20]
call fcn.0044a22f
mov al, bl
call fcn.004dac98
ret