Function at 0x1400d3e70
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, 0x168
mov dword [rsp + 0xc8], 0
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 0xe8
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
mov rax, qword [rcx + rax*8 + 0x4c0]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0xae0]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x170]
call fcn.1400d50b0
movzx eax, al
test eax, eax
je 0x1400d3f04
xor eax, eax
jmp 0x1400d4ed8
mov rax, qword [rsp + 0x170]
mov byte [rax + 0x668], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x30], 0
jne 0x1400d43ff
mov r9d, dword [rsp + 0x188]
mov r8, qword [rsp + 0x180]
lea rdx, str.Establish_HTTP_proxy_tunnel_to__s:_d_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x190]
call qword [fcn.14006dccc]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x190], 0
mov r8d, dword [rsp + 0x188]
mov rdx, qword [rsp + 0x180]
lea rcx, str._s:_d
call fcn.1400ecca0
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x1400d3f9e
mov eax, 0x1b
jmp 0x1400d4ed8
mov edx, 0x20000
lea rcx, [rsp + 0x140]
call fcn.1400c5bd0
mov r9b, 1
mov r8, qword [rsp + 0xb0]
lea rdx, str.CONNECT
mov rcx, qword [rsp + 0x170]
call fcn.1400e8f30
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xb0]
call qword [fcn.14006dccc]
cmp dword [rsp + 0x40], 0
jne 0x1400d43d6
mov qword [rsp + 0x80], 0
lea rax, [0x14018c6a2]
mov qword [rsp + 0xd0], rax
lea rax, [0x14018c6a3]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x3dc], 1
jne 0x1400d4038
lea rax, [0x14017d6ec]
mov qword [rsp + 0xe8], rax
jmp 0x1400d4047
lea rax, [0x14017d714]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x670]
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x340]
cmp qword [rsp + 0x180], rax
je 0x1400d40e0
mov edx, 0x3a
mov rcx, qword [rsp + 0x180]
call fcn.140073c64
test rax, rax
je 0x1400d40a7
mov dword [rsp + 0xa0], 1
jmp 0x1400d40b2
mov dword [rsp + 0xa0], 0
cmp dword [rsp + 0xa0], 0
jne 0x1400d40c9
mov dword [rsp + 0x88], 0
jmp 0x1400d40d4
mov dword [rsp + 0x88], 1
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x58], al
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1400d40fa
lea rax, [0x14017d754]
mov qword [rsp + 0x108], rax
jmp 0x1400d4109
lea rax, [0x14018c6a4]
mov qword [rsp + 0x108], rax
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1400d4123
lea rax, [0x14017d764]
mov qword [rsp + 0xf8], rax
jmp 0x1400d4132
lea rax, [0x14018c6a5]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x108]
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0xf8]
lea rcx, str._s_s_s:_d
call fcn.1400ecca0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400d418b
lea rcx, [rsp + 0x140]
call fcn.1400c5c60
mov eax, 0x1b
jmp 0x1400d4ed8
lea rdx, [0x14017e57c]
mov rcx, qword [rsp + 0x170]
call fcn.1400ea250
test rax, rax
jne 0x1400d41f0
mov rdx, qword [rsp + 0x98]
lea rcx, str.Host:__s_r_n
call fcn.1400ecca0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1400d41f0
mov rcx, qword [rsp + 0x98]
call qword [fcn.14006dccc]
lea rcx, [rsp + 0x140]
call fcn.1400c5c60
mov eax, 0x1b
jmp 0x1400d4ed8
lea rdx, [0x14017e598]
mov rcx, qword [rsp + 0x170]
call fcn.1400ea250
test rax, rax
jne 0x1400d4218
lea rax, [0x14017e5b0]
mov qword [rsp + 0xd0], rax
lea rdx, [0x14017e5d0]
mov rcx, qword [rsp + 0x170]
call fcn.1400ea250
test rax, rax
jne 0x1400d425e
mov eax, 8
imul rax, rax, 0x26
mov rcx, qword [rsp + 0x48]
cmp qword [rcx + rax + 0xc00], 0
je 0x1400d425e
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x1690]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x1688], 0
je 0x1400d4283
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x1688]
mov qword [rsp + 0xd8], rax
jmp 0x1400d4292
lea rax, [0x14018c6a6]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0x80], 0
je 0x1400d42af
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xe0], rax
jmp 0x1400d42be
lea rax, [0x14018c6a7]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x110]
mov r8, qword [rsp + 0x98]
lea rdx, str.CONNECT__s_HTTP__s_r_n_s_s_s_s
lea rcx, [rsp + 0x140]
call fcn.1400c5830
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0x80], 0
je 0x1400d4333
mov rcx, qword [rsp + 0x80]
call qword [fcn.14006dccc]
mov rcx, qword [rsp + 0x98]
call qword [fcn.14006dccc]
cmp dword [rsp + 0x40], 0
jne 0x1400d4363
lea r8, [rsp + 0x140]
mov dl, 1
mov rcx, qword [rsp + 0x170]
call fcn.1400e9130
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400d4382
lea rdx, [0x14017d7b4]
lea rcx, [rsp + 0x140]
call fcn.1400c58f0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400d43be
mov rax, qword [rsp + 0x48]
add rax, 0x1758
mov ecx, dword [rsp + 0x178]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x140]
call fcn.1400e8b00
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400d43d6
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, qword [rsp + 0x48]
call fcn.1400c8680
lea rcx, [rsp + 0x140]
call fcn.1400c5c60
cmp dword [rsp + 0x40], 0
je 0x1400d43f3
mov eax, dword [rsp + 0x40]
jmp 0x1400d4ed8
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 1
mov r8b, 1
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400c30a0
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
jg 0x1400d443c
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, qword [rsp + 0x48]
call fcn.1400c8680
mov eax, 0x1c
jmp 0x1400d4ed8
mov edx, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1400bfa70
movzx eax, al
test eax, eax
jne 0x1400d445e
xor eax, eax
jmp 0x1400d4ed8
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x20], 0
je 0x1400d4be0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x59]
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x170]
call fcn.1400c8360
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x51
jne 0x1400d44b7
xor eax, eax
jmp 0x1400d4ed8
mov rcx, qword [rsp + 0x170]
call fcn.1400e1c40
test eax, eax
je 0x1400d44d2
mov eax, 0x2a
jmp 0x1400d4ed8
cmp dword [rsp + 0x40], 0
je 0x1400d44ec
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
jmp 0x1400d4be0
cmp qword [rsp + 0xf0], 0
jg 0x1400d4562
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x698], 0
je 0x1400d4535
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x12c0], 0
je 0x1400d4535
mov rax, qword [rsp + 0x170]
mov byte [rax + 0x668], 1
lea rdx, str.Proxy_CONNECT_connection_closed_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
jmp 0x1400d4551
mov dword [rsp + 0x90], 1
lea rdx, str.Proxy_CONNECT_aborted
mov rcx, qword [rsp + 0x48]
call fcn.1400c8680
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
jmp 0x1400d4be0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x20], 1
jle 0x1400d4635
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x28], 0
je 0x1400d45bd
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
dec rax
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x28], 0
jg 0x1400d45bb
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 2
jmp 0x1400d4be0
jmp 0x1400d4630
mov qword [rsp + 0x130], 0
lea rax, [rsp + 0x138]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x130]
mov r8d, 1
lea rdx, [rsp + 0x59]
mov rcx, qword [rsp + 0x170]
call fcn.140127d50
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0xffffffff
jne 0x1400d4630
lea rdx, [0x14017e690]
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 2
jmp 0x1400d4469
mov rax, qword [rsp + 0x50]
mov r8d, 1
lea rdx, [rsp + 0x59]
mov rcx, rax
call fcn.1400c5970
test eax, eax
je 0x1400d466c
lea rdx, str.CONNECT_response_too_large_
mov rcx, qword [rsp + 0x48]
call fcn.1400c8680
mov eax, 0x38
jmp 0x1400d4ed8
movsx eax, byte [rsp + 0x59]
cmp eax, 0xa
je 0x1400d467b
jmp 0x1400d4469
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400c5ba0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400c5c30
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
je 0x1400d46ba
mov eax, dword [rsp + 0x40]
jmp 0x1400d4ed8
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0xf76]
test eax, eax
je 0x1400d46e6
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.1400c6e60
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0xf8a]
test eax, eax
jne 0x1400d474b
mov dword [rsp + 0x78], 2
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0xf71]
test eax, eax
je 0x1400d4719
mov eax, dword [rsp + 0x78]
or eax, 1
mov dword [rsp + 0x78], eax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x170]
call fcn.1400c84c0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400d474b
mov eax, dword [rsp + 0x40]
jmp 0x1400d4ed8
movsxd rax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x1750]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x1750], rax
movsxd rax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x108]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x108], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movsx eax, byte [rcx + rax]
cmp eax, 0xd
je 0x1400d47bd
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x1400d4912
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x68], 0x197
jne 0x1400d48e9
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x16dd]
test eax, eax
jne 0x1400d48e9
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 2
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x28], 0
je 0x1400d481a
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x28]
lea rdx, str.Ignore__I64d_bytes_of_response_body_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
jmp 0x1400d48e7
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x34]
test eax, eax
je 0x1400d48db
lea rdx, str.Ignore_chunked_response_body_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x55b], 1
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x1400d486c
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
inc rax
lea rcx, [rsp + 0x128]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xf0]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x170]
call fcn.140127d50
mov dword [rsp + 0xbc], eax
cmp dword [rsp + 0xbc], 0xffffffff
jne 0x1400d48d9
lea rdx, str.chunk_reading_DONE_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 2
jmp 0x1400d48e7
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
jmp 0x1400d48f5
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x28], 0
jne 0x1400d490d
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 2
jmp 0x1400d4469
mov r8d, 0x11
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14017e728]
call fcn.1400d1bc0
test eax, eax
je 0x1400d493b
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x68], 0x191
je 0x1400d496c
mov r8d, 0x13
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14017e740]
call fcn.1400d1bc0
test eax, eax
je 0x1400d4a28
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x68], 0x197
jne 0x1400d4a28
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x68], 0x197
jne 0x1400d4987
mov dword [rsp + 0x8c], 1
jmp 0x1400d4992
mov dword [rsp + 0x8c], 0
cmp dword [rsp + 0x8c], 0
jne 0x1400d49a9
mov dword [rsp + 0x94], 0
jmp 0x1400d49b4
mov dword [rsp + 0x94], 1
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x68], al
mov rcx, qword [rsp + 0x60]
call fcn.1400ea0d0
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x1400d49e7
mov eax, 0x1b
jmp 0x1400d4ed8
mov r8, qword [rsp + 0xc0]
movzx edx, byte [rsp + 0x68]
mov rcx, qword [rsp + 0x170]
call fcn.1400e96b0
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xc0]
call qword [fcn.14006dccc]
cmp dword [rsp + 0x40], 0
je 0x1400d4a23
mov eax, dword [rsp + 0x40]
jmp 0x1400d4ed8
jmp 0x1400d4bce
mov r8d, 0xf
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14017e758]
call fcn.1400d1bc0
test eax, eax
je 0x1400d4aa6
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x68]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x1400d4a74
mov rax, qword [rsp + 0x70]
mov r8d, dword [rax + 0x68]
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
jmp 0x1400d4aa1
mov rax, qword [rsp + 0x50]
add rax, 0x28
mov ecx, 1
imul rcx, rcx, 0xf
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
mov r9, rax
mov r8d, 0xa
xor edx, edx
call fcn.1401254d0
jmp 0x1400d4bce
lea r8, [0x14017d9cc]
lea rdx, [0x14017e7a0]
mov rcx, qword [rsp + 0x60]
call fcn.1400e9b90
movzx eax, al
test eax, eax
je 0x1400d4ad3
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x35], 1
jmp 0x1400d4bce
mov r8d, 0x12
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14017e7b0]
call fcn.1400d1bc0
test eax, eax
je 0x1400d4b67
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x68]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x1400d4b1f
mov rax, qword [rsp + 0x70]
mov r8d, dword [rax + 0x68]
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
jmp 0x1400d4b65
lea r8, [0x14017e800]
lea rdx, [0x14017e808]
mov rcx, qword [rsp + 0x60]
call fcn.1400e9b90
movzx eax, al
test eax, eax
je 0x1400d4b65
lea rdx, str.CONNECT_responded_chunked_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x34], 1
mov rcx, qword [rsp + 0x170]
call fcn.140128490
jmp 0x1400d4bce
lea r8, [0x14017db0c]
lea rdx, [0x14017e840]
mov rcx, qword [rsp + 0x60]
call fcn.1400e9b90
movzx eax, al
test eax, eax
je 0x1400d4b91
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x35], 1
jmp 0x1400d4bce
mov rax, qword [rsp + 0x70]
add rax, 0x68
mov r9, rax
lea r8, [rsp + 0xc8]
lea rdx, str.HTTP_1._d__d
mov rcx, qword [rsp + 0x60]
call fcn.140074b8c
cmp eax, 2
jne 0x1400d4bce
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x68]
mov dword [rax + 0x173c], ecx
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400c59c0
jmp 0x1400d4469
mov rcx, qword [rsp + 0x170]
call fcn.1400e1c40
test eax, eax
je 0x1400d4bfb
mov eax, 0x2a
jmp 0x1400d4ed8
cmp dword [rsp + 0x90], 0
je 0x1400d4c0f
mov eax, 0x38
jmp 0x1400d4ed8
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x173c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x1400d4c64
mov rcx, qword [rsp + 0x170]
call fcn.1400e9d30
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400d4c48
mov eax, dword [rsp + 0x40]
jmp 0x1400d4ed8
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x669]
test eax, eax
je 0x1400d4c64
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x35], 1
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x35]
test eax, eax
je 0x1400d4cc3
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x190], 0
je 0x1400d4cc3
movsxd rax, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
mov rdx, qword [rcx + rax*8 + 0x4c0]
mov rcx, qword [rsp + 0x170]
call fcn.1400c28a0
movsxd rax, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
mov qword [rcx + rax*8 + 0x4c0], 0xffffffffffffffff
jmp 0x1400d4cff
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x190], 0
je 0x1400d4cec
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x30], 2
jne 0x1400d4cec
mov dl, 1
mov rcx, qword [rsp + 0x170]
call fcn.1400d4f50
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x190], 0
jne 0x1400d3f13
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x173c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x1400d4e35
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x35]
test eax, eax
je 0x1400d4d66
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x190], 0
je 0x1400d4d66
mov rax, qword [rsp + 0x170]
mov byte [rax + 0x668], 1
lea rdx, str.Connect_me_again_please_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
mov rcx, qword [rsp + 0x170]
call fcn.1400d4ef0
jmp 0x1400d4ddb
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x190]
call qword [fcn.14006dccc]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x190], 0
mov edx, 2
mov rcx, qword [rsp + 0x170]
call fcn.1400c2fd0
movsxd rax, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
mov rdx, qword [rcx + rax*8 + 0x4c0]
mov rcx, qword [rsp + 0x170]
call fcn.1400c28a0
movsxd rax, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
mov qword [rcx + rax*8 + 0x4c0], 0xffffffffffffffff
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x668]
test eax, eax
je 0x1400d4e01
xor eax, eax
jmp 0x1400d4ed8
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400c5c60
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x150]
lea rdx, str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov rcx, qword [rsp + 0x48]
call fcn.1400c8680
mov eax, 0x38
jmp 0x1400d4ed8
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], 2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x1688]
call qword [fcn.14006dccc]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x1688], 0
xor eax, eax
test eax, eax
jne 0x1400d4e41
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x1688], 0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x12c4], 1
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x12c5], 0
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x173c]
lea rdx, str.Proxy_replied__d_to_CONNECT_request_n
mov rcx, qword [rsp + 0x48]
call fcn.1400c81c0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x643], 0
mov rax, qword [rsp + 0x170]
mov byte [rax + 0x676], 0
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400c5c60
xor eax, eax
add rsp, 0x168
ret