Function at 0x1400e0300
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov r13, qword [rcx]
mov r12, rcx
add rcx, 0x258
movsxd rbp, edx
mov dword [rax + 8], 0
mov rsi, r8
mov rbx, qword [r12 + 0x8a0]
mov rax, qword [r12 + rbp*8 + 0x258]
lea rcx, [rcx + rbp*8]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x70], rax
test rbx, rbx
je 0x1400e0d9e
cmp dword [rbx + 0x4020], 2
je 0x1400e0d9e
mov byte [r12 + 0x404], 0
lea rdi, [r13 + 0x1c8]
lea r14, [rbx + 0x4000]
nop word [rax + rax]
cmp dword [rbx + 0x4020], 0
mov r15, rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r14
jne 0x1400e063e
mov r8, rsi
lea rdx, str.Establish_HTTP_proxy_tunnel_to__s:_d_n
mov rcx, r13
call fcn.1400addb0
mov rcx, qword [rdi]
call qword [fcn.14005af64]
mov qword [rdi], 0
call fcn.1400e6b30
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400e0c33
mov r8d, dword [rsp + 0xe8]
lea rcx, str._s:_d
mov rdx, rsi
call fcn.1400eae00
mov rsi, rax
test rax, rax
je 0x1400e0c29
mov r9b, 1
lea rdx, str.CONNECT
mov r8, rax
mov rcx, r12
call fcn.1400e8d80
mov rcx, rsi
mov edi, eax
call qword [fcn.14005af64]
test edi, edi
jne 0x1400e0618
mov rdi, qword [rsp + 0xe0]
lea rax, [0x140137f64]
xor ebp, ebp
lea r14, [0x140137f3c]
cmp dword [r12 + 0x16c], 1
lea rsi, [0x14013785c]
mov r15, rsi
cmove r14, rax
movzx eax, byte [r12 + 0x3f6]
cmp rdi, qword [r12 + 0xd0]
je 0x1400e047d
lea edx, [rbp + 0x3a]
mov rcx, rdi
call fcn.1400ec574
test rax, rax
setne al
test al, al
lea rcx, [0x140137c7c]
lea rax, [0x140137c84]
mov r9, rsi
cmovne r9, rcx
mov rdx, rsi
cmovne rdx, rax
lea rcx, str._s_s_s:_d
mov eax, dword [rsp + 0xe8]
mov r8, rdi
mov dword [rsp + 0x20], eax
call fcn.1400eae00
mov rsi, rax
test rax, rax
je 0x1400e0c29
lea rdx, str.Host
mov rcx, r12
call fcn.1400e6a80
test rax, rax
jne 0x1400e04f0
mov rdx, rsi
lea rcx, str.Host:__s_r_n
call fcn.1400eae00
mov rbp, rax
test rax, rax
je 0x1400e0c20
lea rdx, str.Proxy_Connection
mov rcx, r12
call fcn.1400e6a80
test rax, rax
lea rdi, str.Proxy_Connection:_Keep_Alive_r_n
lea rax, [0x14013785c]
mov rcx, r12
lea rdx, str.User_Agent
cmovne rdi, rax
call fcn.1400e6a80
test rax, rax
jne 0x1400e0539
cmp qword [r13 + 0xd00], rax
je 0x1400e0539
mov r15, qword [r12 + 0x478]
mov rax, qword [r12 + 0x470]
lea rdx, [0x14013785c]
test rax, rax
mov qword [rsp + 0x38], rdi
mov rcx, rdx
mov qword [rsp + 0x30], r15
cmovne rcx, rax
mov r9, r14
mov rax, rdx
mov qword [rsp + 0x28], rcx
test rbp, rbp
lea rdx, str.CONNECT__s_HTTP__s_r_n_s_s_s_s
mov r8, rsi
lea rcx, [rsp + 0x48]
cmovne rax, rbp
mov qword [rsp + 0x20], rax
call fcn.1400e6b80
mov edi, eax
test rbp, rbp
je 0x1400e0597
mov rcx, rbp
call qword [fcn.14005af64]
mov rcx, rsi
call qword [fcn.14005af64]
test edi, edi
jne 0x1400e05f6
mov r8, qword [rsp + 0x48]
mov dl, 1
mov rcx, r12
call fcn.1400e6f60
mov edi, eax
test eax, eax
jne 0x1400e05f6
lea rdx, [0x1401380dc]
lea rcx, [rsp + 0x48]
call fcn.1400e6b80
mov ebp, dword [rsp + 0xd8]
mov edi, eax
test eax, eax
jne 0x1400e05fd
lea r8, [r13 + 0x15a8]
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.1400e6d20
mov edi, eax
jmp 0x1400e05fd
mov ebp, dword [rsp + 0xd8]
xor esi, esi
mov qword [rsp + 0x48], rsi
test edi, edi
jne 0x1400e0c3d
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
jmp 0x1400e061a
xor esi, esi
lea rcx, [rsp + 0x48]
call fcn.1400e6b40
test edi, edi
jne 0x1400e0c56
mov dword [rbx + 0x4020], 1
mov dword [rbx + 0x4000], esi
jmp 0x1400e0640
xor esi, esi
mov r8b, 1
xor edx, edx
mov rcx, r13
call fcn.1400af1d0
test rax, rax
jle 0x1400e0dbb
mov edx, ebp
mov rcx, r12
call fcn.1400afa40
test al, al
je 0x1400e0d9e
cmp dword [rbx + 0x4004], 0
mov ebp, esi
je 0x1400e0b4e
nop word [rax + rax]
mov r8, qword [rbx + 0x4010]
cmp r8, r14
jae 0x1400e0c5d
mov rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov r9d, 1
mov qword [rsp + 0x20], rax
mov rcx, r12
call fcn.1400ae3f0
mov edi, eax
cmp eax, 0x51
je 0x1400e0d9e
mov rcx, r12
call fcn.1400ea090
test eax, eax
jne 0x1400e0db4
test edi, edi
jne 0x1400e0b48
cmp qword [rsp + 0x50], 0
jle 0x1400e0b06
cmp dword [rbx + 0x4004], 1
jle 0x1400e0762
mov rax, qword [rbx + 0x4018]
mov qword [rbx + 0x4010], rbx
test rax, rax
je 0x1400e071a
dec rax
mov qword [rbx + 0x4018], rax
test rax, rax
jg 0x1400e0af7
mov dword [rbx + 0x4020], 2
jmp 0x1400e0b48
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rsi
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r8d, 1
mov rdx, rbx
mov rcx, r12
call fcn.1400ff4d0
cmp eax, 0xffffffff
jne 0x1400e0af7
lea rdx, str.chunk_reading_DONE_n
mov rcx, r13
call fcn.1400addb0
mov dword [rbx + 0x4004], esi
jmp 0x1400e0aed
mov ecx, dword [r14]
mov rax, qword [rbx + 0x4010]
inc ecx
mov dword [r14], ecx
cmp byte [rax], 0xa
je 0x1400e0785
inc rax
mov qword [rbx + 0x4010], rax
jmp 0x1400e0af7
cmp byte [r13 + 0xeae], 0
je 0x1400e07a6
mov r8, qword [rbx + 0x4008]
mov edx, 1
movsxd r9, ecx
mov rcx, r13
call fcn.1400ae6b0
cmp byte [r13 + 0xec2], 0
jne 0x1400e07da
cmp byte [r13 + 0xea9], 0
mov edx, esi
movsxd r9, dword [r14]
mov rcx, r12
mov r8, qword [rbx + 0x4008]
setne dl
add edx, 2
call fcn.1400ae070
test eax, eax
jne 0x1400e0da0
movsxd rax, dword [r14]
add qword [r13 + 0x15a0], rax
movsxd rax, dword [r14]
add qword [r13 + 0x108], rax
mov rcx, qword [rbx + 0x4008]
movzx eax, byte [rcx]
cmp al, 0xd
je 0x1400e0a17
cmp al, 0xa
je 0x1400e0a17
movsxd rax, dword [r14]
mov r8d, reloc.WS2_32.dll_recvfrom
mov byte [rax + rcx], 0
lea rcx, str.WWW_Authenticate:
mov rdx, qword [rbx + 0x4008]
call fcn.1400b1880
lea rdi, [r13 + 0x178]
test eax, eax
je 0x1400e083d
mov esi, dword [rdi]
cmp esi, 0x191
je 0x1400e0864
mov rdx, qword [rbx + 0x4008]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
call fcn.1400b1880
test eax, eax
je 0x1400e08aa
mov esi, dword [rdi]
cmp esi, 0x197
jne 0x1400e08aa
mov rcx, qword [rbx + 0x4008]
call fcn.1400e6970
mov rdi, rax
test rax, rax
je 0x1400e0c33
cmp esi, 0x197
mov r8, rax
mov rcx, r12
sete dl
call fcn.1400e7370
mov rcx, rdi
mov esi, eax
call qword [fcn.14005af64]
test esi, esi
je 0x1400e09ff
mov eax, esi
jmp 0x1400e0da0
mov rdx, qword [rbx + 0x4008]
lea rcx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.1400b1880
test eax, eax
je 0x1400e090c
mov r8d, dword [rdi]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1400e08ea
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response_n
mov rcx, r13
call fcn.1400addb0
jmp 0x1400e09ff
mov rcx, qword [rbx + 0x4008]
lea r9, [rbx + 0x4018]
xor edx, edx
add rcx, 0xf
lea r8d, [rdx + 0xa]
call fcn.1400ecac0
jmp 0x1400e09ff
mov rcx, qword [rbx + 0x4008]
lea r8, [0x140137b94]
lea rdx, str.Connection:
call fcn.1400e6880
test al, al
jne 0x1400e09f8
mov rdx, qword [rbx + 0x4008]
lea rcx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
call fcn.1400b1880
test eax, eax
je 0x1400e09ac
mov r8d, dword [rdi]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1400e096e
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
mov rcx, r13
call fcn.1400addb0
jmp 0x1400e09ff
mov rcx, qword [rbx + 0x4008]
lea r8, str.chunked
lea rdx, str.Transfer_Encoding:
call fcn.1400e6880
test al, al
je 0x1400e09ff
lea rdx, str.CONNECT_responded_chunked_n
mov rcx, r13
call fcn.1400addb0
mov rcx, r12
mov byte [rbx + 0x4024], 1
call fcn.1400ff4c0
jmp 0x1400e09ff
mov rcx, qword [rbx + 0x4008]
lea r8, [0x140137b94]
lea rdx, str.Proxy_Connection:
call fcn.1400e6880
test al, al
jne 0x1400e09f8
mov rcx, qword [rbx + 0x4008]
lea r8, [rsp + 0xd0]
mov r9, rdi
lea rdx, str.HTTP_1._d__d
call fcn.1400086c4
cmp eax, 2
jne 0x1400e09ff
mov eax, dword [rdi]
mov dword [r13 + 0x158c], eax
jmp 0x1400e09ff
mov byte [rbx + 0x4025], 1
xor esi, esi
mov qword [rbx + 0x4010], rbx
mov dword [r14], esi
mov qword [rbx + 0x4008], rbx
jmp 0x1400e0af7
mov qword [rbx + 0x4010], rbx
cmp dword [r13 + 0x178], 0x197
jne 0x1400e0add
cmp byte [r13 + 0x1529], 0
jne 0x1400e0add
mov r8, qword [rbx + 0x4018]
mov dword [rbx + 0x4004], 2
test r8, r8
je 0x1400e0a64
lea rdx, str.Ignore__I64d_bytes_of_response_body_n
mov rcx, r13
call fcn.1400addb0
jmp 0x1400e0ae3
cmp byte [rbx + 0x4024], 0
je 0x1400e0add
lea rdx, str.Ignore_chunked_response_body_n
mov rcx, r13
call fcn.1400addb0
mov byte [r13 + 0x65b], 1
mov rdx, qword [rbx + 0x4008]
cmp byte [rdx + 1], 0xa
lea rax, [rdx + 1]
jne 0x1400e0a9f
mov qword [rbx + 0x4008], rax
mov rdx, rax
lea rax, [rsp + 0x44]
inc rdx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r8d, 1
mov rcx, r12
call fcn.1400ff4d0
cmp eax, 0xffffffff
jne 0x1400e0ae3
lea rdx, str.chunk_reading_DONE_n
mov rcx, r13
call fcn.1400addb0
mov dword [rbx + 0x4020], 2
mov dword [rbx + 0x4004], esi
cmp qword [rbx + 0x4018], 0
jne 0x1400e0af7
mov dword [rbx + 0x4020], 2
cmp dword [rbx + 0x4004], 0
jne 0x1400e0680
jmp 0x1400e0b4e
cmp dword [r13 + 0x6b0], 0
je 0x1400e0b34
cmp dword [r13 + 0x11b0], 0
je 0x1400e0b34
lea rdx, str.Proxy_CONNECT_connection_closed_n
mov byte [r12 + 0x404], 1
mov rcx, r13
call fcn.1400addb0
jmp 0x1400e0b48
lea rdx, str.Proxy_CONNECT_aborted
mov rcx, r13
mov ebp, 1
call fcn.1400adf10
mov dword [rbx + 0x4004], esi
mov rcx, r12
call fcn.1400ea090
test eax, eax
jne 0x1400e0db4
test ebp, ebp
jne 0x1400e0c6c
mov eax, dword [r13 + 0x158c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x1400e0b98
mov rcx, r12
call fcn.1400e7620
test eax, eax
jne 0x1400e0da0
cmp byte [r12 + 0x3ec], al
je 0x1400e0b98
mov byte [rbx + 0x4025], 1
cmp byte [rbx + 0x4025], 0
je 0x1400e0bb0
cmp qword [r15], 0
jne 0x1400e0c76
mov rdi, r15
jmp 0x1400e0bfa
cmp qword [r15], 0
mov rdi, r15
je 0x1400e0c8f
cmp dword [rbx + 0x4020], 2
jne 0x1400e0bfa
mov rax, qword [r12 + 0x8a0]
mov dword [rax + 0x4020], esi
mov dword [rax + 0x4004], 1
mov qword [rax + 0x4008], rax
mov qword [rax + 0x4010], rax
mov qword [rax + 0x4018], rsi
mov byte [rax + 0x4025], 0
cmp qword [r15], 0
je 0x1400e0c8f
mov rsi, qword [rsp + 0xe0]
mov ebp, dword [rsp + 0xd8]
mov r9d, dword [rsp + 0xe8]
jmp 0x1400e0390
mov rcx, rsi
call qword [fcn.14005af64]
lea rcx, [rsp + 0x48]
call fcn.1400e6b40
mov eax, 0x1b
jmp 0x1400e0da0
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, r13
call fcn.1400adf10
lea rcx, [rsp + 0x48]
call fcn.1400e6b40
mov eax, edi
jmp 0x1400e0da0
lea rdx, str.CONNECT_response_too_large_
mov rcx, r13
call fcn.1400adf10
mov eax, gethostname
jmp 0x1400e0da0
mov rdi, qword [rsp + 0x58]
mov rcx, r12
mov rdx, qword [rdi]
call fcn.1400af840
mov qword [rdi], 0xffffffffffffffff
jmp 0x1400e0c94
mov rdi, qword [rsp + 0x58]
mov eax, dword [r13 + 0x158c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x1400e0d4d
cmp byte [rbx + 0x4025], 0
je 0x1400e0cf4
cmp qword [r15], 0
je 0x1400e0cf4
lea rdx, str.Connect_me_again_please_n
mov byte [r12 + 0x404], 1
mov rcx, r13
call fcn.1400addb0
mov rax, qword [r12 + 0x8a0]
lea rdx, str.CONNECT_phase_completed__n
mov dword [rax + 0x4020], 2
mov rcx, qword [r12]
call fcn.1400addb0
jmp 0x1400e0d1f
mov rcx, qword [r15]
call qword [fcn.14005af64]
mov edx, 2
mov qword [r15], rsi
mov rcx, r12
call fcn.1400af9f0
mov rdx, qword [rdi]
mov rcx, r12
call fcn.1400af840
mov qword [rdi], 0xffffffffffffffff
mov dword [rbx + 0x4020], esi
cmp byte [r12 + 0x404], 0
jne 0x1400e0d9e
mov r8d, dword [r13 + 0x178]
lea rdx, str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov rcx, r13
call fcn.1400adf10
mov eax, gethostname
jmp 0x1400e0da0
mov dword [rbx + 0x4020], 2
mov rcx, qword [r12 + 0x470]
call qword [fcn.14005af64]
mov qword [r12 + 0x470], rsi
lea rdx, str.Proxy_replied__d_to_CONNECT_request_n
mov r8d, dword [r13 + 0x158c]
mov rcx, r13
mov word [r13 + 0x11b4], 1
call fcn.1400addb0
mov byte [r13 + 0x65b], 0
mov byte [r12 + 0x3fd], 0
xor eax, eax
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x2a
jmp 0x1400e0da0
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, r13
call fcn.1400adf10
mov eax, 0x1c
jmp 0x1400e0da0