Function at 0x14008d600
Capabilities:
Check http status code

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov r13, qword [rcx + 0x18]
mov rbx, rcx
movsxd r15, edx
mov r12d, r9d
mov dword [rbp - 0x21], 0
mov r14, qword [rbx + 0x1b0]
mov rdi, qword [r13 + r15*8 + 0x1e8]
lea rcx, [r15*8 + 0x1e8]
mov rsi, qword [r13 + 0x588]
add rcx, r13
mov qword [rbp - 0x19], rcx
mov rcx, r13
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x39], r14
call fcn.14008e1c0
test al, al
jne 0x14008e08c
mov byte [r13 + 0x398], al
nop
cmp dword [rsi + 0x288], 0
jne 0x14008d883
mov r8, qword [rbp + 0x77]
lea rdx, str.Establish_HTTP_proxy_tunnel_to__s:_d
xor r15d, r15d
lea r14, [rsi + 0x250]
mov r9d, r12d
mov qword [rbp - 0x11], r15
mov rcx, rbx
mov qword [rbp - 0x29], r15
call fcn.14007d310
mov rcx, qword [rbx + 0x198]
call qword [fcn.140152a38]
mov edx, 0x100000
mov qword [rbx + 0x198], r15
mov rcx, r14
call fcn.140075150
mov r8, qword [rbp + 0x77]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov r9d, r12d
lea rax, [rbp - 0x11]
mov rdx, r13
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14008e0c0
test eax, eax
jne 0x14008e08e
mov r15, qword [rbp - 0x11]
lea r8, str.CONNECT
mov byte [rsp + 0x28], 1
xor r9d, r9d
mov rdx, r13
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.140088560
mov r12, qword [rbp - 0x29]
mov edi, eax
test eax, eax
jne 0x14008d853
cmp dword [r13 + 0x13c], 1
lea rax, [0x14018d094]
lea r9, [0x14018d090]
mov r8, r15
cmove r9, rax
lea rcx, [0x1401bf827]
mov rax, qword [rbx + 0x1290]
lea rdx, str.CONNECT__s_HTTP__s_r_n_s_s
test rax, rax
cmovne rcx, rax
test r12, r12
mov qword [rsp + 0x28], rcx
lea rax, [0x1401bf827]
cmovne rax, r12
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.1400750e0
mov edi, eax
test eax, eax
jne 0x14008d844
lea r8, str.User_Agent
mov rdx, r13
mov rcx, rbx
call fcn.1400865a0
test rax, rax
jne 0x14008d7ce
mov r8, qword [rbx + 0x8b8]
test r8, r8
je 0x14008d7ce
lea rdx, str.User_Agent:__s_r_n
mov rcx, r14
call fcn.1400750e0
mov edi, eax
test eax, eax
jne 0x14008d844
lea r8, str.Proxy_Connection
mov rdx, r13
mov rcx, rbx
call fcn.1400865a0
test rax, rax
jne 0x14008d7fa
lea rdx, str.Proxy_Connection:_Keep_Alive_r_n
mov rcx, r14
call fcn.1400750c0
mov edi, eax
test eax, eax
jne 0x14008d844
mov r8, r14
mov dl, 1
mov rcx, rbx
call fcn.140085e50
mov edi, eax
test eax, eax
jne 0x14008d844
lea rdx, [0x14018b7c0]
mov rcx, r14
call fcn.1400750c0
mov edi, eax
test eax, eax
jne 0x14008d844
mov eax, dword [rbp + 0x6f]
lea r8, [rbx + 0x1388]
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov rdx, rbx
mov rcx, r14
call fcn.140086300
mov edi, eax
test eax, eax
je 0x14008d853
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, rbx
call fcn.14007d230
mov rcx, r12
call qword [fcn.140152a38]
mov rcx, r15
call qword [fcn.140152a38]
test edi, edi
jne 0x14008dec4
mov rdi, qword [rbp - 0x31]
mov r14, qword [rbp - 0x39]
mov r15d, dword [rbp + 0x6f]
mov dword [rsi + 0x288], 1
mov r8b, 1
xor edx, edx
mov rcx, rbx
call fcn.14007e9c0
test rax, rax
jle 0x14008e0a9
mov edx, r15d
mov rcx, r13
call fcn.14007dcd0
test al, al
jne 0x14008d8b6
cmp dword [r14 + 0x200], 0
je 0x14008e08c
cmp dword [r14 + 0x200], 1
jne 0x14008d916
mov r9, qword [rsi + 0x270]
test r9, r9
jne 0x14008decb
mov rax, qword [rbx + 0xd28]
lea r8, [rbp + 7]
mov qword [rbx + 0x1a8], rax
mov rcx, rbx
mov edx, dword [rbx + 0x728]
call fcn.14008a200
test eax, eax
jne 0x14008e08e
mov rax, qword [rbp + 7]
mov qword [rsi + 0x270], rax
mov r9, rax
test rax, rax
jne 0x14008decb
mov dword [r14 + 0x200], eax
xor r12d, r12d
cmp dword [rsi + 0x278], r12d
je 0x14008d9c0
nop word [rax + rax]
lea rax, [rbp - 9]
mov r9d, 1
lea r8, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.14007d3b0
mov edi, eax
cmp eax, 0x51
je 0x14008e08c
mov rcx, rbx
call fcn.14008c500
test eax, eax
jne 0x14008e0a2
test edi, edi
jne 0x14008d9b1
cmp qword [rbp - 9], r12
jle 0x14008de5f
cmp dword [rsi + 0x278], 2
jne 0x14008daa0
mov rax, qword [rsi + 0x280]
test rax, rax
je 0x14008da5a
dec rax
mov qword [rsi + 0x280], rax
test rax, rax
jg 0x14008de49
mov dword [rsi + 0x288], 2
mov dword [rsi + 0x278], r12d
mov r15d, dword [rbp + 0x6f]
mov r14, qword [rbp - 0x39]
mov rcx, rbx
call fcn.14008c500
test eax, eax
jne 0x14008e0a2
test r12d, r12d
jne 0x14008df3a
mov eax, dword [rbx + 0x136c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x14008da09
mov rcx, rbx
call fcn.140086840
test eax, eax
jne 0x14008e08e
cmp byte [r13 + 0x399], al
je 0x14008da09
mov byte [rsi + 0x28d], 1
cmp byte [rsi + 0x28d], 0
jne 0x14008df44
mov rax, qword [rbx + 0x198]
test rax, rax
je 0x14008df69
cmp dword [rsi + 0x288], 2
mov rdi, qword [rbp - 0x31]
mov r12d, dword [rbp + 0x7f]
jne 0x14008d680
mov dl, 1
mov rcx, rbx
call fcn.14008e440
mov rax, qword [rbx + 0x198]
test rax, rax
je 0x14008df69
jmp 0x14008d680
xor edi, edi
lea rax, [rbp - 1]
lea r9, [rbp - 0x29]
mov qword [rbp - 0x29], rdi
lea rdx, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea r8d, [rdi + 1]
call fcn.1400a8e30
cmp eax, 0xffffffff
jne 0x14008de49
lea rdx, str.chunk_reading_DONE
mov rcx, rbx
call fcn.14007d310
mov dword [rsi + 0x278], edi
jmp 0x14008de3f
mov r8d, 1
lea rdx, [rbp + 0x67]
lea rcx, [rsi + 0x230]
call fcn.140075110
test eax, eax
jne 0x14008df2b
cmp byte [rbp + 0x67], 0xa
jne 0x14008de49
lea rcx, [rsi + 0x230]
call fcn.140062360
lea rcx, [rsi + 0x230]
mov rdi, rax
call fcn.140075170
mov r9, rax
mov r8, rdi
mov edx, 1
mov rcx, rbx
mov r14, rax
call fcn.14007d160
cmp byte [rbx + 0xb31], r12b
jne 0x14008db26
xor edx, edx
mov r9, r14
cmp byte [rbx + 0xb19], dl
mov r8, rdi
mov rcx, rbx
setne dl
add edx, 2
call fcn.14007d150
test eax, eax
jne 0x14008e08e
movsxd rax, r14d
add qword [rbx + 0x1380], rax
movzx eax, byte [rdi]
cmp al, 0xd
je 0x14008dd77
cmp al, 0xa
je 0x14008dd77
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
mov rdx, rdi
call fcn.140083050
test eax, eax
je 0x14008db6c
mov r14d, dword [rbx + 0x158]
cmp r14d, 0x191
je 0x14008db95
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, rdi
call fcn.140083050
test eax, eax
je 0x14008dbdb
mov r14d, dword [rbx + 0x158]
cmp r14d, 0x197
jne 0x14008dbdb
mov rcx, rdi
call fcn.140086730
mov rdi, rax
test rax, rax
je 0x14008df21
cmp r14d, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.140088260
mov rcx, rdi
mov r14d, eax
call qword [fcn.140152a38]
test r14d, r14d
je 0x14008dd66
mov eax, r14d
jmp 0x14008e08e
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
mov rdx, rdi
call fcn.140083050
test eax, eax
je 0x14008dc4e
mov r8d, dword [rbx + 0x158]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x14008dc27
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rbx
call fcn.14007d310
lea rcx, [rsi + 0x230]
call fcn.140075180
jmp 0x14008de49
xor edx, edx
lea r9, [rsi + 0x280]
lea rcx, [rdi + 0xf]
lea r8d, [rdx + 0xa]
call fcn.14008fac0
lea rcx, [rsi + 0x230]
call fcn.140075180
jmp 0x14008de49
lea r8, str.close
mov rcx, rdi
lea rdx, str.Connection:
call fcn.140086640
test al, al
jne 0x14008dd5f
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
mov rdx, rdi
call fcn.140083050
test eax, eax
je 0x14008dd09
mov r8d, dword [rbx + 0x158]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x14008dcbc
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rbx
call fcn.14007d310
lea rcx, [rsi + 0x230]
call fcn.140075180
jmp 0x14008de49
lea r8, str.chunked
mov rcx, rdi
lea rdx, str.Transfer_Encoding:
call fcn.140086640
test al, al
je 0x14008dd66
lea rdx, str.CONNECT_responded_chunked
mov rcx, rbx
call fcn.14007d310
mov rcx, rbx
mov byte [rsi + 0x28c], 1
call fcn.1400a8e10
lea rcx, [rsi + 0x230]
call fcn.140075180
jmp 0x14008de49
lea r8, str.close
mov rcx, rdi
lea rdx, str.Proxy_Connection:
call fcn.140086640
test al, al
jne 0x14008dd5f
lea r9, [rbx + 0x158]
mov rcx, rdi
lea r8, [rbp - 0x21]
lea rdx, str.HTTP_1._d__d
call fcn.140024ec0
cmp eax, 2
jne 0x14008dd66
mov eax, dword [rbx + 0x158]
lea rcx, [rsi + 0x230]
mov dword [rbx + 0x136c], eax
call fcn.140075180
jmp 0x14008de49
mov byte [rsi + 0x28d], 1
lea rcx, [rsi + 0x230]
call fcn.140075180
jmp 0x14008de49
cmp dword [rbx + 0x158], 0x197
jne 0x14008de2f
cmp byte [rbx + 0x1305], r12b
jne 0x14008de2f
mov r8, qword [rsi + 0x280]
mov dword [rsi + 0x278], 2
test r8, r8
je 0x14008ddc8
lea rdx, str.Ignore__I64d_bytes_of_response_body
mov rcx, rbx
call fcn.14007d310
cmp dword [rsi + 0x278], r12d
jne 0x14008de56
jmp 0x14008de36
cmp byte [rsi + 0x28c], r12b
je 0x14008de2f
lea rdx, str.Ignore_chunked_response_body
mov rcx, rbx
call fcn.14007d310
lea rax, [rdi + 1]
mov byte [rbx + 0x1c3], 1
cmp byte [rax], 0xa
lea r9, [rbp - 9]
mov r8d, 1
mov rcx, rbx
cmove rdi, rax
lea rax, [rbp + 3]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 1]
call fcn.1400a8e30
cmp eax, 0xffffffff
jne 0x14008ddb9
lea rdx, str.chunk_reading_DONE
mov rcx, rbx
call fcn.14007d310
mov dword [rsi + 0x288], 2
mov dword [rsi + 0x278], r12d
cmp qword [rsi + 0x280], r12
jne 0x14008de49
mov dword [rsi + 0x288], 2
cmp dword [rsi + 0x278], r12d
je 0x14008d9b8
mov rdi, qword [rbp - 0x31]
jmp 0x14008d930
cmp dword [rbx + 0x218], r12d
je 0x14008dea0
cmp dword [rbx + 0xe80], r12d
je 0x14008dea0
cmp qword [rbx + 0x1290], r12
je 0x14008dea0
lea rdx, str.Proxy_CONNECT_connection_closed
mov byte [r13 + 0x398], 1
mov rcx, rbx
call fcn.14007d310
mov dword [rsi + 0x278], 0
jmp 0x14008d9b8
lea rdx, str.Proxy_CONNECT_aborted
mov rcx, rbx
mov r12d, 1
call fcn.14007d230
mov dword [rsi + 0x278], 0
jmp 0x14008d9b8
mov eax, edi
jmp 0x14008e08e
mov r8, qword [rbx + 0x1a8]
lea rax, [rbp + 0x67]
mov rdx, qword [r13 + 0x408]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14007d690
mov ecx, eax
test eax, eax
jne 0x14008df08
mov r9, qword [rbp + 0x67]
lea edx, [rax + 2]
mov r8, qword [rbx + 0x1a8]
mov rcx, rbx
call fcn.14007d160
mov ecx, eax
mov rax, qword [rbp + 0x67]
sub qword [rsi + 0x270], rax
add qword [rbx + 0x1a8], rax
mov eax, ecx
jmp 0x14008e08e
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14008e08e
lea rdx, str.CONNECT_response_too_large_
mov rcx, rbx
call fcn.14007d230
mov eax, gethostname
jmp 0x14008e08e
cmp qword [rbx + 0x198], 0
mov rdi, qword [rbp - 0x19]
je 0x14008df6d
mov r8, qword [rdi]
mov rdx, r13
mov rcx, rbx
call fcn.14007dc30
mov qword [rdi], 0xffffffffffffffff
jmp 0x14008df6d
mov rdi, qword [rbp - 0x19]
mov eax, dword [rbx + 0x136c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x14008e030
cmp byte [rsi + 0x28d], 0
je 0x14008dfb5
cmp qword [rbx + 0x198], 0
je 0x14008dfb5
lea rdx, str.Connect_me_again_please
mov byte [r13 + 0x398], 1
mov rcx, rbx
call fcn.14007d310
mov rcx, rbx
call fcn.14008e3c0
jmp 0x14008dfef
mov rcx, qword [rbx + 0x198]
call qword [fcn.140152a38]
mov edx, 2
mov qword [rbx + 0x198], 0
mov rcx, r13
call fcn.14007dd80
mov r8, qword [rdi]
mov rdx, r13
mov rcx, rbx
call fcn.14007dc30
mov qword [rdi], 0xffffffffffffffff
mov dword [rsi + 0x288], 0
cmp byte [r13 + 0x398], 0
jne 0x14008e08c
lea rcx, [rsi + 0x230]
call fcn.140075120
mov r8d, dword [rbx + 0x158]
lea rdx, str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov rcx, rbx
call fcn.14007d230
mov eax, gethostname
jmp 0x14008e08e
mov dword [rsi + 0x288], 2
mov rcx, qword [rbx + 0x1290]
call qword [fcn.140152a38]
mov qword [rbx + 0x1290], 0
lea rdx, str.Proxy_replied__d_to_CONNECT_request
mov r8d, dword [rbx + 0x136c]
mov rcx, rbx
mov word [rbx + 0xe84], 1
call fcn.14007d310
mov byte [rbx + 0x1c3], 0
lea rcx, [rsi + 0x230]
mov byte [r13 + 0x3a6], 0
call fcn.140075120
xor eax, eax
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, Ordinal_46
jmp 0x14008e08e
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, rbx
call fcn.14007d230
mov eax, 0x1c
jmp 0x14008e08e