Function at 0x14007a150
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 + 0x1f0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x6f8]
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.14007b790
movzx eax, al
test eax, eax
je 0x14007a1f6
xor eax, eax
jmp 0x14007b222
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3c8], 0
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x290], 0
jne 0x14007a58d
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 0x14007a23c
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x198]
call qword [fcn.140022fec]
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x198], 0
xor eax, eax
test eax, eax
jne 0x14007a242
mov edx, 0x100000
mov rcx, qword [rsp + 0x68]
call fcn.1400514f0
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.14007b230
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14007a2cf
mov eax, dword [rsp + 0x30]
jmp 0x14007b222
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.14008d110
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14007a552
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x13c], 1
jne 0x14007a32b
lea rax, [0x1400cee5c]
mov qword [rsp + 0xc8], rax
jmp 0x14007a33a
lea rax, [0x1400cee2c]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x11e0], 0
je 0x14007a375
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x11e0]
mov qword [rsp + 0xd0], rax
jmp 0x14007a384
lea rax, [0x1400d516c]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0x88], 0
je 0x14007a3a1
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xd8], rax
jmp 0x14007a3b0
lea rax, [0x1400d516b]
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.140051110
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14007a464
mov r9d, 0xa
lea r8, [0x1400d0618]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.14008c740
test rax, rax
jne 0x14007a464
mov eax, 8
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x130]
cmp qword [rcx + rax + 0x740], 0
je 0x14007a464
mov eax, 8
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x130]
mov r8, qword [rcx + rax + 0x740]
lea rdx, [0x1400d0600]
mov rcx, qword [rsp + 0x68]
call fcn.140051110
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14007a4aa
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1400d05e8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.14008c740
test rax, rax
jne 0x14007a4aa
mov r8d, 0x1e
lea rdx, [0x1400d05c8]
mov rcx, qword [rsp + 0x68]
call fcn.1400513f0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14007a4c9
mov r8, qword [rsp + 0x68]
mov dl, 1
mov rcx, qword [rsp + 0x130]
call fcn.14008d4c0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14007a4eb
mov r8d, 2
lea rdx, [0x1400cedec]
mov rcx, qword [rsp + 0x68]
call fcn.1400513f0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14007a537
mov rax, qword [rsp + 0x130]
add rax, 0x1288
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.14008c210
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x278], 0
cmp dword [rsp + 0x30], 0
je 0x14007a552
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, qword [rsp + 0x130]
call fcn.14005bda0
mov rcx, qword [rsp + 0x88]
call qword [fcn.140022fec]
mov rcx, qword [rsp + 0x90]
call qword [fcn.140022fec]
cmp dword [rsp + 0x30], 0
je 0x14007a57e
mov eax, dword [rsp + 0x30]
jmp 0x14007b222
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 1
mov r8b, 1
xor edx, edx
mov rcx, qword [rsp + 0x130]
call fcn.14005ea10
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jg 0x14007a5d0
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, qword [rsp + 0x130]
call fcn.14005bda0
mov eax, 0x1c
jmp 0x14007b222
mov edx, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
call fcn.14005c0f0
movzx eax, al
test eax, eax
jne 0x14007a600
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x200], 0
jne 0x14007a600
xor eax, eax
jmp 0x14007b222
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x200], 1
jne 0x14007a770
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x270], 0
jne 0x14007a68c
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 + 0x6e8]
lea r8, [rsp + 0x100]
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.14007d850
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14007a678
mov eax, dword [rsp + 0x30]
jmp 0x14007b222
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 0x14007a75e
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 + 0x430]
mov rcx, qword [rsp + 0x130]
call fcn.14005bc90
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14007a712
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.14005ac60
mov dword [rsp + 0x30], eax
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 0x14007b222
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 0x14007af4f
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.14005bb30
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x51
jne 0x14007a7cc
xor eax, eax
jmp 0x14007b222
mov rcx, qword [rsp + 0x130]
call fcn.140079950
test eax, eax
je 0x14007a7e7
mov eax, 0x2a
jmp 0x14007b222
cmp dword [rsp + 0x30], 0
je 0x14007a807
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
jmp 0x14007af4f
cmp qword [rsp + 0xe0], 0
jg 0x14007a88d
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x210], 0
je 0x14007a85a
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xda8], 0
je 0x14007a85a
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x11e0], 0
je 0x14007a85a
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3c8], 1
xor eax, eax
test eax, eax
jne 0x14007a852
jmp 0x14007a879
mov dword [rsp + 0x80], 1
lea rdx, str.Proxy_CONNECT_aborted
mov rcx, qword [rsp + 0x130]
call fcn.14005bda0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
jmp 0x14007af4f
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x280], 2
jne 0x14007a970
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x288], 0
je 0x14007a8fd
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 0x14007a8fb
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
jmp 0x14007af4f
jmp 0x14007a96b
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.140098da0
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0xffffffff
jne 0x14007a96b
xor eax, eax
test eax, eax
jne 0x14007a947
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
jmp 0x14007a77b
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400513f0
test eax, eax
je 0x14007a9b0
lea rdx, str.CONNECT_response_too_large
mov rcx, qword [rsp + 0x130]
call fcn.14005bda0
mov eax, 0x38
jmp 0x14007b222
movsx eax, byte [rsp + 0x40]
cmp eax, 0xa
je 0x14007a9bf
jmp 0x14007a77b
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.1400514c0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.140051550
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.14005ac60
mov rax, qword [rsp + 0x130]
movzx eax, byte [rax + 0xa89]
test eax, eax
jne 0x14007aad0
mov rax, qword [rsp + 0x130]
movzx eax, byte [rax + 0xa71]
test eax, eax
je 0x14007aa60
mov dword [rsp + 0x70], 1
jmp 0x14007aa68
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x278], 1
jne 0x14007aa81
mov dword [rsp + 0x74], 4
jmp 0x14007aa89
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.14005bf50
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14007aad0
mov eax, dword [rsp + 0x30]
jmp 0x14007b222
movsxd rax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0x1280]
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x1280], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0xd
je 0x14007ab28
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14007ac85
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x70], 0x197
jne 0x14007ac3f
mov rax, qword [rsp + 0x130]
movzx eax, byte [rax + 0x1255]
test eax, eax
jne 0x14007ac3f
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 2
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x288], 0
je 0x14007ab7a
xor eax, eax
test eax, eax
jne 0x14007ab6f
jmp 0x14007ac3d
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x294]
test eax, eax
je 0x14007ac2e
xor eax, eax
test eax, eax
jne 0x14007ab8e
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 0x14007abc4
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.140098da0
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0xffffffff
jne 0x14007ac2c
xor eax, eax
test eax, eax
jne 0x14007ac08
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
jmp 0x14007ac3d
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
jmp 0x14007ac4e
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x280], 0
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x280], 0
jne 0x14007ac7a
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x288], 0
jne 0x14007ac7a
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
xor eax, eax
test eax, eax
jne 0x14007ac7a
jmp 0x14007a77b
mov r8d, send
lea rdx, [0x1400d0530]
mov rcx, qword [rsp + 0x50]
call fcn.14006e440
test eax, eax
je 0x14007acae
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x70], 0x191
je 0x14007acdf
mov r8d, reloc.WS2_32.dll_send
lea rdx, [0x1400d0518]
mov rcx, qword [rsp + 0x50]
call fcn.14006e440
test eax, eax
je 0x14007ad89
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x70], 0x197
jne 0x14007ad89
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x70], 0x197
jne 0x14007acf7
mov dword [rsp + 0x78], 1
jmp 0x14007acff
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0x78], 0
jne 0x14007ad10
mov dword [rsp + 0x7c], 0
jmp 0x14007ad18
mov dword [rsp + 0x7c], 1
movzx eax, byte [rsp + 0x7c]
mov byte [rsp + 0x58], al
mov rcx, qword [rsp + 0x50]
call fcn.14008d340
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x14007ad48
mov eax, 0x1b
jmp 0x14007b222
mov r8, qword [rsp + 0xc0]
movzx edx, byte [rsp + 0x58]
mov rcx, qword [rsp + 0x130]
call fcn.14008cbc0
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xc0]
call qword [fcn.140022fec]
cmp dword [rsp + 0x30], 0
je 0x14007ad84
mov eax, dword [rsp + 0x30]
jmp 0x14007b222
jmp 0x14007af37
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [0x1400d0508]
mov rcx, qword [rsp + 0x50]
call fcn.14006e440
test eax, eax
je 0x14007adf5
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x70]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x14007adc1
xor eax, eax
test eax, eax
jne 0x14007adb9
jmp 0x14007adf0
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.140097950
jmp 0x14007af37
mov qword [rsp + 0x20], 5
lea r9, [0x1400cf174]
mov r8d, listen
lea rdx, [0x1400d04f8]
mov rcx, qword [rsp + 0x50]
call fcn.14008da30
movzx eax, al
test eax, eax
je 0x14007ae34
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x295], 1
jmp 0x14007af37
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x1400d04e0]
mov rcx, qword [rsp + 0x50]
call fcn.14006e440
test eax, eax
je 0x14007aebb
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x70]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x14007ae6c
xor eax, eax
test eax, eax
jne 0x14007ae64
jmp 0x14007aeb9
mov qword [rsp + 0x20], 7
lea r9, [0x1400d04d8]
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x1400d04c0]
mov rcx, qword [rsp + 0x50]
call fcn.14008da30
movzx eax, al
test eax, eax
je 0x14007aeb9
xor eax, eax
test eax, eax
jne 0x14007ae9a
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x294], 1
mov rcx, qword [rsp + 0x130]
call fcn.1400994a0
jmp 0x14007af37
mov qword [rsp + 0x20], 5
lea r9, [0x1400cf15c]
mov r8d, send
lea rdx, [0x1400d04a8]
mov rcx, qword [rsp + 0x50]
call fcn.14008da30
movzx eax, al
test eax, eax
je 0x14007aef7
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x295], 1
jmp 0x14007af37
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.14000f300
cmp eax, 2
jne 0x14007af37
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x126c], ecx
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.1400511e0
jmp 0x14007a77b
mov rcx, qword [rsp + 0x130]
call fcn.140079950
test eax, eax
je 0x14007af6a
mov eax, 0x2a
jmp 0x14007b222
cmp dword [rsp + 0x80], 0
je 0x14007af7e
mov eax, 0x38
jmp 0x14007b222
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x126c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x14007afd6
mov rcx, qword [rsp + 0x130]
call fcn.14008c820
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14007afba
mov eax, dword [rsp + 0x30]
jmp 0x14007b222
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3ca]
test eax, eax
je 0x14007afd6
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x295], 1
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x295]
test eax, eax
je 0x14007b03a
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x198], 0
je 0x14007b03a
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rcx + rax*8 + 0x1f0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.14005c3f0
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + rax*8 + 0x1f0], 0xffffffffffffffff
jmp 0x14007b07f
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x198], 0
je 0x14007b069
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x290], 2
jne 0x14007b069
mov dl, 1
mov rcx, qword [rsp + 0x130]
call fcn.14007b3d0
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x198], 0
jne 0x14007a202
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x126c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x14007b17e
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x295]
test eax, eax
je 0x14007b0e1
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x198], 0
je 0x14007b0e1
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3c8], 1
xor eax, eax
test eax, eax
jne 0x14007b0cc
mov rcx, qword [rsp + 0x130]
call fcn.14007b860
jmp 0x14007b118
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x198]
call qword [fcn.140022fec]
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x198], 0
mov edx, 2
mov rcx, qword [rsp + 0x48]
call fcn.14005e940
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c8]
test eax, eax
je 0x14007b13e
xor eax, eax
jmp 0x14007b222
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.140051580
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.14005bda0
mov eax, 0x38
jmp 0x14007b222
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x290], 2
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x11e0]
call qword [fcn.140022fec]
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x11e0], 0
xor eax, eax
test eax, eax
jne 0x14007b18d
mov rax, qword [rsp + 0x130]
mov qword [rax + 0x11e0], 0
mov rax, qword [rsp + 0x130]
mov byte [rax + 0xdac], 1
mov rax, qword [rsp + 0x130]
mov byte [rax + 0xdad], 0
xor eax, eax
test eax, eax
jne 0x14007b1ec
mov rax, qword [rsp + 0x130]
mov byte [rax + 0x1c4], 0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3d5], 0
mov rax, qword [rsp + 0x38]
add rax, 0x230
mov rcx, rax
call fcn.140051580
xor eax, eax
add rsp, 0x128
ret