Function at 0x1400f4370
Capabilities:
Check http status code

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov dword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x100
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx + rax*8 + 0x240]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x8a8]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x130]
call fcn.1400f5ac0
movzx eax, al
test eax, eax
je 0x1400f4404
xor eax, eax
jmp 0x1400f5665
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x3c4]
btr eax, 0x17
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x3c4], eax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x4020], 0
jne 0x1400f4926
mov r9d, dword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
lea rdx, str.Establish_HTTP_proxy_tunnel_to__s:_d_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x1e0]
call qword [fcn.14007b234]
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x1e0], 0
call fcn.1400ff200
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400f4495
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400f5665
mov r8d, dword [rsp + 0x148]
mov rdx, qword [rsp + 0x140]
lea rcx, str._s:_d
call fcn.1400edef0
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x1400f44d8
lea rcx, [rsp + 0x68]
call fcn.1400ff220
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400f5665
mov r9b, 1
mov r8, qword [rsp + 0xa8]
lea rdx, str.CONNECT
mov rcx, qword [rsp + 0x130]
call fcn.1400fe2c0
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xa8]
call qword [fcn.14007b234]
cmp dword [rsp + 0x48], 0
jne 0x1400f48ee
mov qword [rsp + 0x78], 0
lea rax, [0x1401aa238]
mov qword [rsp + 0xd0], rax
lea rax, [0x1401aa227]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x16c], 1
jne 0x1400f455d
lea rax, [0x14019b6dc]
mov qword [rsp + 0xb8], rax
jmp 0x1400f456c
lea rax, [0x14019b6b4]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x3c4]
shr eax, 9
and eax, 1
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd0]
cmp qword [rsp + 0x140], rax
je 0x1400f460a
mov edx, Ordinal_60
mov rcx, qword [rsp + 0x140]
call fcn.140054e20
test rax, rax
je 0x1400f45d1
mov dword [rsp + 0x80], 1
jmp 0x1400f45dc
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
jne 0x1400f45f3
mov dword [rsp + 0x84], 0
jmp 0x1400f45fe
mov dword [rsp + 0x84], 1
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x58], al
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1400f4624
lea rax, [0x14019b68c]
mov qword [rsp + 0xc0], rax
jmp 0x1400f4633
lea rax, [0x1401aa226]
mov qword [rsp + 0xc0], rax
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1400f464d
lea rax, [0x14019b674]
mov qword [rsp + 0xc8], rax
jmp 0x1400f465c
lea rax, [0x1401aa225]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0xc8]
lea rcx, str._s_s_s:_d
call fcn.1400edef0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400f46b2
lea rcx, [rsp + 0x68]
call fcn.1400ff220
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400f5665
lea rdx, [0x14019cff4]
mov rcx, qword [rsp + 0x130]
call fcn.1400fd7b0
test rax, rax
jne 0x1400f470e
mov rdx, qword [rsp + 0x90]
lea rcx, str.Host:__s_r_n
call fcn.1400edef0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1400f470e
mov rcx, qword [rsp + 0x90]
call qword [fcn.14007b234]
lea rcx, [rsp + 0x68]
call fcn.1400ff220
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400f5665
lea rdx, [0x14019cfc0]
mov rcx, qword [rsp + 0x130]
call fcn.1400fd7b0
test rax, rax
jne 0x1400f4736
lea rax, [0x14019cfa0]
mov qword [rsp + 0xd0], rax
lea rdx, [0x14019cf90]
mov rcx, qword [rsp + 0x130]
call fcn.1400fd7b0
test rax, rax
jne 0x1400f477f
mov eax, 8
imul rax, rax, 0x26
mov rcx, qword [rsp + 0x50]
cmp qword [rcx + rax + 0xbc8], 0
je 0x1400f477f
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x430]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x428], 0
je 0x1400f47aa
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x428]
mov qword [rsp + 0xe0], rax
jmp 0x1400f47b9
lea rax, [0x1401aa224]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0x78], 0
je 0x1400f47d0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xe8], rax
jmp 0x1400f47df
lea rax, [0x1401aa223]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x90]
lea rdx, str.CONNECT__s_HTTP__s_r_n_s_s_s_s
lea rcx, [rsp + 0x68]
call fcn.1400fe200
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x78], 0
je 0x1400f484b
mov rcx, qword [rsp + 0x78]
call qword [fcn.14007b234]
mov rcx, qword [rsp + 0x90]
call qword [fcn.14007b234]
cmp dword [rsp + 0x48], 0
jne 0x1400f4878
mov r8, qword [rsp + 0x68]
mov dl, 1
mov rcx, qword [rsp + 0x130]
call fcn.1400fe690
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1400f4894
lea rdx, [0x14019b64c]
lea rcx, [rsp + 0x68]
call fcn.1400fe200
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1400f48cd
mov rax, qword [rsp + 0x50]
add rax, 0x14e0
mov ecx, dword [rsp + 0x138]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x68]
call fcn.1400fedd0
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x68], 0
cmp dword [rsp + 0x48], 0
je 0x1400f48ee
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, qword [rsp + 0x50]
call fcn.1400d3540
lea rcx, [rsp + 0x68]
call fcn.1400ff220
cmp dword [rsp + 0x48], 0
je 0x1400f4908
mov eax, dword [rsp + 0x48]
jmp 0x1400f5665
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4020], 1
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4000], 0
mov r8b, 1
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400d5ff0
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
jg 0x1400f4963
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, qword [rsp + 0x50]
call fcn.1400d3540
mov eax, Ordinal_32
jmp 0x1400f5665
mov edx, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.1400d3c90
movzx eax, al
test eax, eax
jne 0x1400f4985
xor eax, eax
jmp 0x1400f5665
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x4004], 0
je 0x1400f5323
cmp dword [rsp + 0x74], 0
jne 0x1400f5323
mov eax, 1
imul rax, rax, 0x4000
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
cmp qword [rcx + 0x4010], rax
jb 0x1400f49ea
lea rdx, str.CONNECT_response_too_large_
mov rcx, qword [rsp + 0x50]
call fcn.1400d3540
mov eax, gethostname
jmp 0x1400f5665
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x4010]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x130]
call fcn.1400d30d0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x51
jne 0x1400f4a30
xor eax, eax
jmp 0x1400f5665
mov rcx, qword [rsp + 0x130]
call fcn.1400f6d20
test eax, eax
je 0x1400f4a4b
mov eax, Ordinal_45
jmp 0x1400f5665
cmp dword [rsp + 0x48], 0
je 0x1400f4a6b
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4004], 0
jmp 0x1400f5323
cmp qword [rsp + 0xf0], 0
jg 0x1400f4af2
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x6c0], 0
je 0x1400f4ac5
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x1158], 0
je 0x1400f4ac5
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x3c4]
bts eax, 0x17
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x3c4], eax
lea rdx, str.Proxy_CONNECT_connection_closed_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
jmp 0x1400f4ade
mov dword [rsp + 0x74], 1
lea rdx, str.Proxy_CONNECT_aborted
mov rcx, qword [rsp + 0x50]
call fcn.1400d3540
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4004], 0
jmp 0x1400f5323
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x4004], 1
jle 0x1400f4beb
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x4010], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x4018], 0
je 0x1400f4b73
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x4018]
dec rax
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x4018], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x4018], 0
jg 0x1400f4b71
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4004], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4020], 2
jmp 0x1400f5323
jmp 0x1400f4be6
mov qword [rsp + 0x110], 0
lea r9, [rsp + 0x110]
mov r8d, 1
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x4010]
mov rcx, qword [rsp + 0x130]
call fcn.140134850
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0xffffffff
jne 0x1400f4be6
lea rdx, str.chunk_reading_DONE_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4004], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4020], 2
jmp 0x1400f498d
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x4000]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x4000], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x4010]
movsx eax, byte [rax]
cmp eax, 0xa
je 0x1400f4c37
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x4010]
inc rax
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x4010], rax
jmp 0x1400f498d
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x48], 0
je 0x1400f4c4f
mov eax, dword [rsp + 0x48]
jmp 0x1400f5665
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xe70]
shr eax, 0x1a
and eax, 1
test eax, eax
je 0x1400f4c8e
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x4000]
mov r9, rax
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x4008]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.1400d2060
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xe74]
shr eax, 0x13
and eax, 1
test eax, eax
jne 0x1400f4d0b
mov dword [rsp + 0x70], 2
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xe70]
shr eax, 0x15
and eax, 1
test eax, eax
je 0x1400f4ccb
mov eax, dword [rsp + 0x70]
or eax, 1
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x4000]
mov r9, rax
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x4008]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x130]
call fcn.1400d36d0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400f4d0b
mov eax, dword [rsp + 0x48]
jmp 0x1400f5665
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x4000]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x14d8]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x14d8], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x4000]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x120]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x120], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x4008]
movsx eax, byte [rcx + rax]
cmp eax, 0xd
je 0x1400f4d93
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x4008]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x1400f4f3d
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x4010], rax
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x90], 0x197
jne 0x1400f4f0b
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x146c]
shr eax, 5
and eax, 1
test eax, eax
jne 0x1400f4f0b
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4004], 2
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x4018], 0
je 0x1400f4e12
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x4018]
lea rdx, str.Ignore__I64d_bytes_of_response_body_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
jmp 0x1400f4f09
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x4024]
and eax, 1
test eax, eax
je 0x1400f4efa
lea rdx, str.Ignore_chunked_response_body_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x570]
or eax, 8
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x570], eax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x4008]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x1400f4e8b
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x4008]
inc rax
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x4008], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x4008]
inc rax
lea r9, [rsp + 0xf0]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x130]
call fcn.140134850
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0xffffffff
jne 0x1400f4ef8
lea rdx, [0x14019ce40]
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4004], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4020], 2
jmp 0x1400f4f09
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4004], 0
jmp 0x1400f4f1a
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4004], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x4018], 0
jne 0x1400f4f38
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4020], 2
jmp 0x1400f498d
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x4000]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x4008]
mov byte [rcx + rax], 0
lea rcx, [0x14019ce20]
call fcn.140080560
mov r8, rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x4008]
lea rcx, [0x14019ce00]
call fcn.1400eb4f0
test eax, eax
je 0x1400f4f95
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x90], 0x191
je 0x1400f4fd9
lea rcx, [0x14019cde8]
call fcn.140080560
mov r8, rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x4008]
lea rcx, [0x14019cdd0]
call fcn.1400eb4f0
test eax, eax
je 0x1400f509f
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x90], 0x197
jne 0x1400f509f
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x90], 0x197
jne 0x1400f4ff7
mov dword [rsp + 0x88], 1
jmp 0x1400f5002
mov dword [rsp + 0x88], 0
cmp dword [rsp + 0x88], 0
jne 0x1400f5019
mov dword [rsp + 0x8c], 0
jmp 0x1400f5024
mov dword [rsp + 0x8c], 1
movzx eax, byte [rsp + 0x8c]
mov byte [rsp + 0x59], al
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x4008]
call fcn.1400fe510
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x1400f505e
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400f5665
mov r8, qword [rsp + 0xb0]
movzx edx, byte [rsp + 0x59]
mov rcx, qword [rsp + 0x130]
call fcn.1400fdca0
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xb0]
call qword [fcn.14007b234]
cmp dword [rsp + 0x48], 0
je 0x1400f509a
mov eax, dword [rsp + 0x48]
jmp 0x1400f5665
jmp 0x1400f52e6
lea rcx, [0x14019cdc0]
call fcn.140080560
mov r8, rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x4008]
lea rcx, [0x14019cdb0]
call fcn.1400eb4f0
test eax, eax
je 0x1400f5150
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x90]
cdq
mov ecx, SHCoCreateInstance
idiv ecx
cmp eax, 2
jne 0x1400f5105
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x90]
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
jmp 0x1400f514b
mov rax, qword [rsp + 0x40]
add rax, 0x4018
mov qword [rsp + 0x118], rax
lea rcx, [0x14019cd68]
call fcn.140080560
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x4008]
mov rcx, qword [rsp + 0x118]
mov r9, rcx
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.1401069b0
jmp 0x1400f52e6
lea r8, [0x14019bedc]
lea rdx, [0x14019cd58]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x4008]
call fcn.1400fec80
movzx eax, al
test eax, eax
je 0x1400f5194
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x4024]
or eax, 2
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x4024], eax
jmp 0x1400f52e6
lea rcx, [0x14019cd40]
call fcn.140080560
mov r8, rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x4008]
lea rcx, [0x14019cd28]
call fcn.1400eb4f0
test eax, eax
je 0x1400f525c
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x90]
cdq
mov ecx, SHCoCreateInstance
idiv ecx
cmp eax, 2
jne 0x1400f51fa
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x90]
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
jmp 0x1400f5257
lea r8, [0x14019cce8]
lea rdx, [0x14019ccd0]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x4008]
call fcn.1400fec80
movzx eax, al
test eax, eax
je 0x1400f5257
lea rdx, str.CONNECT_responded_chunked_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x4024]
or eax, 1
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x4024], eax
mov rcx, qword [rsp + 0x130]
call fcn.140135160
jmp 0x1400f52e6
lea r8, [0x14019bd64]
lea rdx, [0x14019cc98]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x4008]
call fcn.1400fec80
movzx eax, al
test eax, eax
je 0x1400f529d
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x4024]
or eax, 2
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x4024], eax
jmp 0x1400f52e6
mov rax, qword [rsp + 0x60]
add rax, 0x90
mov r9, rax
lea r8, [rsp + 0xa0]
lea rdx, str.HTTP_1._d__d
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x4008]
call fcn.14001c1f0
cmp eax, 2
jne 0x1400f52e6
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x90]
mov dword [rax + 0x14c4], ecx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4000], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x4010], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x4010]
mov qword [rax + 0x4008], rcx
jmp 0x1400f498d
mov rcx, qword [rsp + 0x130]
call fcn.1400f6d20
test eax, eax
je 0x1400f533e
mov eax, Ordinal_45
jmp 0x1400f5665
cmp dword [rsp + 0x74], 0
je 0x1400f534f
mov eax, gethostname
jmp 0x1400f5665
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14c4]
cdq
mov ecx, SHCoCreateInstance
idiv ecx
cmp eax, 2
je 0x1400f53b6
mov rcx, qword [rsp + 0x130]
call fcn.1400fd8b0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400f5388
mov eax, dword [rsp + 0x48]
jmp 0x1400f5665
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x3c4]
and eax, 1
test eax, eax
je 0x1400f53b6
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x4024]
or eax, 2
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x4024], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x4024]
shr eax, 1
and eax, 1
test eax, eax
je 0x1400f541c
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1e0], 0
je 0x1400f541c
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rcx + rax*8 + 0x240]
mov rcx, qword [rsp + 0x130]
call fcn.1400d3f30
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
mov qword [rcx + rax*8 + 0x240], 0xffffffffffffffff
jmp 0x1400f545b
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1e0], 0
je 0x1400f5448
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x4020], 2
jne 0x1400f5448
mov dl, 1
mov rcx, qword [rsp + 0x130]
call fcn.1400f56d0
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1e0], 0
jne 0x1400f4424
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14c4]
cdq
mov ecx, SHCoCreateInstance
idiv ecx
cmp eax, 2
je 0x1400f55a4
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x4024]
shr eax, 1
and eax, 1
test eax, eax
je 0x1400f54da
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1e0], 0
je 0x1400f54da
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x3c4]
bts eax, 0x17
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x3c4], eax
lea rdx, str.Connect_me_again_please_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
mov rcx, qword [rsp + 0x130]
call fcn.1400f5680
jmp 0x1400f554f
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x1e0]
call qword [fcn.14007b234]
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x1e0], 0
mov edx, 2
mov rcx, qword [rsp + 0x130]
call fcn.1400d5f10
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rcx + rax*8 + 0x240]
mov rcx, qword [rsp + 0x130]
call fcn.1400d3f30
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
mov qword [rcx + rax*8 + 0x240], 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4020], 0
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x3c4]
shr eax, 0x17
and eax, 1
test eax, eax
je 0x1400f557d
xor eax, eax
jmp 0x1400f5665
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 0x190]
lea rdx, str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov rcx, qword [rsp + 0x50]
call fcn.1400d3540
mov eax, gethostname
jmp 0x1400f5665
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x4020], 2
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x428]
call qword [fcn.14007b234]
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x428], 0
xor eax, eax
test eax, eax
jne 0x1400f55b3
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x428], 0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x115c]
or eax, 1
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x115c], eax
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 0x14c4]
lea rdx, str.Proxy_replied__d_to_CONNECT_request_n
mov rcx, qword [rsp + 0x50]
call fcn.1400d2f70
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x670]
and eax, 0xfffffff7
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x670], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x3c4]
btr eax, 0x10
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x3c4], eax
xor eax, eax
add rsp, 0x128
ret