Function at 0x14006eafc
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 + 0xa4], 0
mov rax, qword [rsp + 0x130]
add rax, 0xe8
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx + rax*8 + 0x1d0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x6d0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x1b0]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x48]
call fcn.14006e51c
movzx eax, al
test eax, eax
je 0x14006eba2
xor eax, eax
jmp 0x14006fbcb
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3a8], 0
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x290], 0
jne 0x14006ef3c
mov rax, qword [rsp + 0x38]
add rax, 0x250
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
xor eax, eax
test eax, eax
jne 0x14006ebe8
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x198]
call qword [fcn.1400bc630]
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x198], 0
xor eax, eax
test eax, eax
jne 0x14006ebee
mov edx, 0x100000
mov rcx, qword [rsp + 0x68]
call fcn.1400539e8
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.14006e968
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14006ec7b
mov eax, dword [rsp + 0x30]
jmp 0x14006fbcb
mov byte [rsp + 0x28], 1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.CONNECT
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.14007dd70
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14006ef01
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x134]
cmp eax, 1
jne 0x14006ecda
lea rax, [0x1401430fc]
mov qword [rsp + 0xc8], rax
jmp 0x14006ece9
lea rax, [0x14014310c]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x1218], 0
je 0x14006ed24
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x1218]
mov qword [rsp + 0xd0], rax
jmp 0x14006ed33
lea rax, [0x140148d50]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0x88], 0
je 0x14006ed50
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xd8], rax
jmp 0x14006ed5f
lea rax, [0x140148d51]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x90]
lea rdx, str.CONNECT__s_HTTP__s_r_n_s_s
mov rcx, qword [rsp + 0x68]
call fcn.140053b48
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14006ee13
mov r9d, 0xa
lea r8, [0x140143138]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.1400774a4
test rax, rax
jne 0x14006ee13
mov eax, 8
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x130]
cmp qword [rcx + rax + 0x738], 0
je 0x14006ee13
mov eax, 8
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x130]
mov r8, qword [rcx + rax + 0x738]
lea rdx, [0x140143148]
mov rcx, qword [rsp + 0x68]
call fcn.140053b48
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14006ee59
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x140143168]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.1400774a4
test rax, rax
jne 0x14006ee59
mov r8d, 0x1e
lea rdx, [0x140143188]
mov rcx, qword [rsp + 0x68]
call fcn.140053a90
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14006ee78
mov r8, qword [rsp + 0x68]
mov dl, 1
mov rcx, qword [rsp + 0x130]
call fcn.140077cd0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14006ee9a
mov r8d, 2
lea rdx, [0x140143134]
mov rcx, qword [rsp + 0x68]
call fcn.140053a90
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14006eee6
mov rax, qword [rsp + 0x130]
add rax, 0x12c0
mov ecx, dword [rsp + 0x138]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x68]
call fcn.140077584
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x278], 0
cmp dword [rsp + 0x30], 0
je 0x14006ef01
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, qword [rsp + 0x130]
call fcn.140065808
mov rcx, qword [rsp + 0x88]
call qword [fcn.1400bc630]
mov rcx, qword [rsp + 0x90]
call qword [fcn.1400bc630]
cmp dword [rsp + 0x30], 0
je 0x14006ef2d
mov eax, dword [rsp + 0x30]
jmp 0x14006fbcb
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 1
mov r8b, 1
xor edx, edx
mov rcx, qword [rsp + 0x130]
call fcn.140067684
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jg 0x14006ef7f
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, qword [rsp + 0x130]
call fcn.140065808
mov eax, 0x1c
jmp 0x14006fbcb
mov edx, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
call fcn.14006856c
movzx eax, al
test eax, eax
jne 0x14006efaf
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x200], 0
jne 0x14006efaf
xor eax, eax
jmp 0x14006fbcb
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x200], 1
jne 0x14006f11b
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x270], 0
jne 0x14006f03b
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0xc78]
mov qword [rax + 0xc0], rcx
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x6e0]
lea r8, [rsp + 0x100]
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.140071338
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14006f027
mov eax, dword [rsp + 0x30]
jmp 0x14006fbcb
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
mov qword [rax + 0x270], rcx
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x270], 0
je 0x14006f109
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
mov r9, qword [rax + 0x270]
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0xc0]
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x408]
mov rcx, qword [rsp + 0x130]
call fcn.140065f74
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14006f0bd
mov r9, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0xc0]
mov edx, 2
mov rcx, qword [rsp + 0x130]
call fcn.140066118
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rax + 0x270]
sub rax, rcx
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x270], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0xc0]
add rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0xc0], rax
mov eax, dword [rsp + 0x30]
jmp 0x14006fbcb
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x200], 0
mov dword [rsp + 0x80], 0
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x280], 0
je 0x14006f8f8
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x130]
call fcn.140065e20
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x51
jne 0x14006f177
xor eax, eax
jmp 0x14006fbcb
mov rcx, qword [rsp + 0x130]
call fcn.14007f740
test eax, eax
je 0x14006f192
mov eax, 0x2a
jmp 0x14006fbcb
cmp dword [rsp + 0x30], 0
je 0x14006f1b2
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
jmp 0x14006f8f8
cmp qword [rsp + 0xe0], 0
jg 0x14006f238
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x210], 0
je 0x14006f205
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xdb0], 0
je 0x14006f205
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x1218], 0
je 0x14006f205
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3a8], 1
xor eax, eax
test eax, eax
jne 0x14006f1fd
jmp 0x14006f224
mov dword [rsp + 0x80], 1
lea rdx, str.Proxy_CONNECT_aborted
mov rcx, qword [rsp + 0x130]
call fcn.140065808
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
jmp 0x14006f8f8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x280], 2
jne 0x14006f31b
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x288], 0
je 0x14006f2a8
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x288]
dec rax
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x288], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x288], 0
jg 0x14006f2a6
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
jmp 0x14006f8f8
jmp 0x14006f316
mov qword [rsp + 0x110], 0
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x110]
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x130]
call fcn.14009c234
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0xffffffff
jne 0x14006f316
xor eax, eax
test eax, eax
jne 0x14006f2f2
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
jmp 0x14006f126
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140053a90
test eax, eax
je 0x14006f35b
lea rdx, str.CONNECT_response_too_large
mov rcx, qword [rsp + 0x130]
call fcn.140065808
mov eax, 0x38
jmp 0x14006fbcb
movsx eax, byte [rsp + 0x40]
cmp eax, 0xa
je 0x14006f36a
jmp 0x14006f126
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x278]
inc rax
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x278], rax
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.140053d88
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.140053dd8
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x130]
call fcn.140066118
mov rax, qword [rsp + 0x130]
movzx eax, byte [rax + 0xa88]
test eax, eax
jne 0x14006f47b
mov rax, qword [rsp + 0x130]
movzx eax, byte [rax + 0xa72]
test eax, eax
je 0x14006f40b
mov dword [rsp + 0x70], 1
jmp 0x14006f413
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x278], 1
jne 0x14006f42c
mov dword [rsp + 0x74], 4
jmp 0x14006f434
mov dword [rsp + 0x74], 0
mov eax, dword [rsp + 0x70]
or eax, 0xa
or eax, dword [rsp + 0x74]
mov dword [rsp + 0x9c], eax
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x130]
call fcn.1400659a8
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14006f47b
mov eax, dword [rsp + 0x30]
jmp 0x14006fbcb
movsxd rax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0x12b8]
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x12b8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0xd
je 0x14006f4d3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14006f630
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x70], 0x197
jne 0x14006f5ea
mov rax, qword [rsp + 0x130]
movzx eax, byte [rax + 0x128d]
test eax, eax
jne 0x14006f5ea
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 2
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x288], 0
je 0x14006f525
xor eax, eax
test eax, eax
jne 0x14006f51a
jmp 0x14006f5e8
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x294]
test eax, eax
je 0x14006f5d9
xor eax, eax
test eax, eax
jne 0x14006f539
mov rax, qword [rsp + 0x60]
mov byte [rax + 0xdc], 1
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14006f56f
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
inc rax
lea rcx, [rsp + 0xec]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xe0]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x130]
call fcn.14009c234
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0xffffffff
jne 0x14006f5d7
xor eax, eax
test eax, eax
jne 0x14006f5b3
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
jmp 0x14006f5e8
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
jmp 0x14006f5f9
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x280], 0
jne 0x14006f625
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x288], 0
jne 0x14006f625
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
xor eax, eax
test eax, eax
jne 0x14006f625
jmp 0x14006f126
mov r8d, send
lea rdx, [0x140143228]
mov rcx, qword [rsp + 0x50]
call fcn.14006cf6c
test eax, eax
je 0x14006f659
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x70], 0x191
je 0x14006f68a
mov r8d, reloc.WS2_32.dll_send
lea rdx, [0x140143240]
mov rcx, qword [rsp + 0x50]
call fcn.14006cf6c
test eax, eax
je 0x14006f732
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x70], 0x197
jne 0x14006f732
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x70], 0x197
jne 0x14006f6a2
mov dword [rsp + 0x78], 1
jmp 0x14006f6aa
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0x78], 0
jne 0x14006f6bb
mov dword [rsp + 0x7c], 0
jmp 0x14006f6c3
mov dword [rsp + 0x7c], 1
mov al, byte [rsp + 0x7c]
mov byte [rsp + 0x58], al
mov rcx, qword [rsp + 0x50]
call fcn.1400772e8
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x14006f6f2
mov eax, 0x1b
jmp 0x14006fbcb
mov r8, qword [rsp + 0xc0]
mov dl, byte [rsp + 0x58]
mov rcx, qword [rsp + 0x130]
call fcn.14007c240
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xc0]
call qword [fcn.1400bc630]
cmp dword [rsp + 0x30], 0
je 0x14006f72d
mov eax, dword [rsp + 0x30]
jmp 0x14006fbcb
jmp 0x14006f8e0
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x140143258]
mov rcx, qword [rsp + 0x50]
call fcn.14006cf6c
test eax, eax
je 0x14006f79e
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x70]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x14006f76a
xor eax, eax
test eax, eax
jne 0x14006f762
jmp 0x14006f799
mov rax, qword [rsp + 0x38]
add rax, 0x288
mov ecx, 1
imul rcx, rcx, 0xf
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov r9, rax
mov r8d, 0xa
xor edx, edx
call fcn.14009c024
jmp 0x14006f8e0
mov qword [rsp + 0x20], 5
lea r9, [0x14014315c]
mov r8d, listen
lea rdx, [0x140143268]
mov rcx, qword [rsp + 0x50]
call fcn.140077184
movzx eax, al
test eax, eax
je 0x14006f7dd
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x295], 1
jmp 0x14006f8e0
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x140143278]
mov rcx, qword [rsp + 0x50]
call fcn.14006cf6c
test eax, eax
je 0x14006f864
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x70]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x14006f815
xor eax, eax
test eax, eax
jne 0x14006f80d
jmp 0x14006f862
mov qword [rsp + 0x20], 7
lea r9, [0x140143290]
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x140143298]
mov rcx, qword [rsp + 0x50]
call fcn.140077184
movzx eax, al
test eax, eax
je 0x14006f862
xor eax, eax
test eax, eax
jne 0x14006f843
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x294], 1
mov rcx, qword [rsp + 0x130]
call fcn.14009c1d4
jmp 0x14006f8e0
mov qword [rsp + 0x20], 5
lea r9, [0x14014317c]
mov r8d, send
lea rdx, [0x1401432b0]
mov rcx, qword [rsp + 0x50]
call fcn.140077184
movzx eax, al
test eax, eax
je 0x14006f8a0
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x295], 1
jmp 0x14006f8e0
mov rax, qword [rsp + 0x60]
add rax, 0x70
mov r9, rax
lea r8, [rsp + 0xa4]
lea rdx, str.HTTP_1._d__d
mov rcx, qword [rsp + 0x50]
call fcn.14006bbd0
cmp eax, 2
jne 0x14006f8e0
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x12a4], ecx
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.140053c04
jmp 0x14006f126
mov rcx, qword [rsp + 0x130]
call fcn.14007f740
test eax, eax
je 0x14006f913
mov eax, 0x2a
jmp 0x14006fbcb
cmp dword [rsp + 0x80], 0
je 0x14006f927
mov eax, 0x38
jmp 0x14006fbcb
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x12a4]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x14006f97f
mov rcx, qword [rsp + 0x130]
call fcn.14007c7a4
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14006f963
mov eax, dword [rsp + 0x30]
jmp 0x14006fbcb
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3aa]
test eax, eax
je 0x14006f97f
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x295], 1
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x295]
test eax, eax
je 0x14006f9e3
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x198], 0
je 0x14006f9e3
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rcx + rax*8 + 0x1d0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.140068140
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + rax*8 + 0x1d0], 0xffffffffffffffff
jmp 0x14006fa28
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x198], 0
je 0x14006fa12
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x290], 2
jne 0x14006fa12
mov dl, 1
mov rcx, qword [rsp + 0x130]
call fcn.14006e7d8
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x198], 0
jne 0x14006ebae
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x12a4]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x14006fb27
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x295]
test eax, eax
je 0x14006fa8a
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x198], 0
je 0x14006fa8a
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3a8], 1
xor eax, eax
test eax, eax
jne 0x14006fa75
mov rcx, qword [rsp + 0x130]
call fcn.14006e630
jmp 0x14006fac1
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x198]
call qword [fcn.1400bc630]
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x198], 0
mov edx, 2
mov rcx, qword [rsp + 0x48]
call fcn.1400684ac
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3a8]
test eax, eax
je 0x14006fae7
xor eax, eax
jmp 0x14006fbcb
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.140053a3c
mov rax, qword [rsp + 0x130]
mov r8d, dword [rax + 0x158]
lea rdx, str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov rcx, qword [rsp + 0x130]
call fcn.140065808
mov eax, 0x38
jmp 0x14006fbcb
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x1218]
call qword [fcn.1400bc630]
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x1218], 0
xor eax, eax
test eax, eax
jne 0x14006fb36
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x1218], 0
mov rax, qword [rsp + 0x130]
mov byte [rax + 0xdb4], 1
mov rax, qword [rsp + 0x130]
mov byte [rax + 0xdb5], 0
xor eax, eax
test eax, eax
jne 0x14006fb95
mov rax, qword [rsp + 0x130]
mov byte [rax + 0x1c4], 0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3b5], 0
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.140053a3c
xor eax, eax
add rsp, 0x128
ret