Function at 0x14010fa60
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov word [rax + 0x20], r9w
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov r15, qword [rcx]
mov dword [rax - 0x60], 0
mov esi, 0x36ee80
mov eax, dword [r15 + 0x220]
mov r14, r8
mov r12, rcx
test eax, eax
cmovne esi, eax
xor ebp, ebp
movsxd rax, edx
mov rdi, qword [rcx + rax*8 + 0x120]
xor bl, bl
xor al, al
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebp
mov qword [rsp + 0x80], rdi
mov byte [rsp + 0x50], bl
mov byte [rsp + 0x51], al
mov byte [rcx + 0x1fe], al
nop dword [rax + rax]
cmp byte [r12 + 0x1f5], 0
jne 0x14010fd1a
movzx r13d, r9w
lea rdx, str.Establish_HTTP_proxy_tunnel_to__s:_d_n
mov r8, r14
mov r9d, r13d
mov rcx, r15
call fcn.1400fe360
mov rcx, qword [r15 + 0x110]
test rcx, rcx
je 0x14010fb25
call qword [fcn.14025db40]
mov qword [r15 + 0x110], 0
call fcn.14010dbe0
mov rdi, rax
test rax, rax
je 0x1401102d6
lea rcx, str._s:_d
mov r8d, r13d
mov rdx, r14
call fcn.1400f4370
mov r14, rax
test rax, rax
je 0x1401102cd
lea rdx, str.CONNECT
mov r9b, 1
mov r8, rax
mov rcx, r12
call fcn.14010d7c0
mov ebx, eax
test eax, eax
jne 0x14010fcf0
lea rax, [0x1403448de]
lea r12, [0x1402dea58]
lea rdx, str.Host:
mov rsi, rax
mov rbx, rax
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x108], 1
lea rax, [0x1402c7b38]
mov rcx, r15
cmove r12, rax
call fcn.14010d1f0
test rax, rax
jne 0x14010fbd0
lea rcx, str.Host:__s_r_n
mov rdx, r14
call fcn.1400f4370
mov rsi, rax
test rax, rax
je 0x1401102aa
lea rdx, str.Proxy_Connection:
mov rcx, r15
call fcn.14010d1f0
lea rbp, str.Proxy_Connection:_Keep_Alive_r_n
lea rdx, str.User_Agent:
test rax, rax
lea rax, [0x1403448de]
mov rcx, r15
cmovne rbp, rax
call fcn.14010d1f0
test rax, rax
mov rax, qword [rsp + 0xf0]
jne 0x14010fc21
cmp qword [r15 + 0x488], 0
je 0x14010fc21
mov rbx, qword [rax + 0x220]
mov rax, qword [rax + 0x218]
mov r8, qword [rsp + 0x100]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbx
test rax, rax
lea rcx, [0x1403448de]
cmovne rcx, rax
lea rdx, str.CONNECT__s:_d_HTTP__s_r_n_s_s_s_s
mov r9d, r13d
mov qword [rsp + 0x30], rcx
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
call fcn.14010e3c0
mov ebx, eax
test rsi, rsi
je 0x14010fc7e
cmp byte [rsi], 0
je 0x14010fc7e
mov rcx, rsi
call qword [fcn.14025db40]
mov r12, qword [rsp + 0xf0]
test ebx, ebx
jne 0x14010fcd2
mov rdx, rdi
mov rcx, r12
call fcn.14010e4c0
mov ebx, eax
test eax, eax
jne 0x14010fcd2
lea rdx, [0x1402da884]
mov rcx, rdi
call fcn.14010e3c0
mov ebx, eax
test eax, eax
jne 0x14010fcd2
mov eax, dword [rsp + 0xf8]
lea r8, [r15 + 0x87e8]
xor r9d, r9d
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14010dbf0
mov ebx, eax
xor edi, edi
test ebx, ebx
je 0x14010fce7
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, r15
call fcn.1400fe410
mov esi, dword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rcx, r14
call qword [fcn.14025db40]
mov rcx, rdi
call fcn.1400f52e0
test ebx, ebx
jne 0x1401102c6
mov rdi, qword [rsp + 0x80]
mov byte [r12 + 0x1f5], 1
call fcn.140112410
mov rdx, qword [r12 + 0x110]
mov rcx, rax
call fcn.140112450
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x140110383
cmp dword [r15 + 0x608], 2
jne 0x14010fd5c
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.140110680
test eax, eax
je 0x14011037f
mov esi, 1
xor ebx, ebx
mov byte [r12 + 0x1f5], 0
lea r13, [r15 + 0x638]
lea rdi, [r15 + 0x638]
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x54], esi
xor r14d, r14d
nop word [rax + rax]
test esi, esi
je 0x140110228
cmp dword [rsp + 0x68], 0
jne 0x140110392
call fcn.140112410
mov rdx, qword [r12 + 0x110]
mov rcx, rax
call fcn.140112450
mov ecx, dword [rsp + 0x58]
sub ecx, eax
test ecx, ecx
jle 0x140110383
mov r8d, 0x3e8
cmp ecx, r8d
cmovl r8d, ecx
mov rcx, qword [rsp + 0x80]
or rdx, 0xffffffffffffffff
call fcn.140110680
cmp eax, 0xffffffff
je 0x1401101ed
test eax, eax
je 0x140110204
mov rdx, qword [rsp + 0x80]
lea rax, [rsp + 0x70]
mov r9d, 0x4000
sub r9, qword [rsp + 0x78]
mov r8, r13
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1400fe010
test eax, eax
js 0x140110214
je 0x14010fe32
xor esi, esi
mov dword [rsp + 0x54], esi
jmp 0x140110204
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jg 0x14010fe6e
xor esi, esi
mov dword [rsp + 0x54], esi
cmp dword [r15 + 0x170], esi
je 0x14010fe62
cmp dword [r15 + 0x8730], esi
je 0x14010fe62
mov byte [r12 + 0x1fe], 1
jmp 0x140110204
lea rdx, str.Proxy_CONNECT_aborted
jmp 0x1401101f4
add qword [rsp + 0x78], rcx
cmp esi, 1
jle 0x14010ff05
xor edx, edx
lea r13, [r15 + 0x638]
mov qword [rsp + 0x78], rdx
test rbp, rbp
je 0x14010feab
sub rbp, rcx
mov qword [rsp + 0x60], rbp
test rbp, rbp
jg 0x140110204
mov esi, edx
mov dword [rsp + 0x54], edx
jmp 0x140110204
mov qword [rsp + 0x90], rdx
mov r8, rcx
lea r9, [rsp + 0x90]
lea rdx, [r15 + 0x638]
mov rcx, r12
call fcn.140114920
mov rcx, r15
cmp eax, 0xffffffff
jne 0x14010feec
lea rdx, str.chunk_reading_DONE_n
call fcn.1400fe360
xor esi, esi
mov dword [rsp + 0x54], esi
jmp 0x140110204
mov r8, qword [rsp + 0x90]
lea rdx, str.Read__d_bytes_of_chunk__continue_n
call fcn.1400fe360
jmp 0x140110204
xor ebp, ebp
test rcx, rcx
jle 0x140110204
inc ebx
inc r14
cmp byte [r13], 0xa
jne 0x1401100e4
cmp byte [r15 + 0x390], 0
je 0x14010ff42
movsxd r9, ebx
mov r8, rdi
mov edx, 1
mov rcx, r15
mov qword [rsp + 0x20], r12
call fcn.1400fe240
cmp byte [r15 + 0x383], 0
mov edx, 2
mov eax, 3
movsxd r9, ebx
mov r8, rdi
mov rcx, r12
cmovne edx, eax
call fcn.1400fe610
test eax, eax
jne 0x140110397
movzx eax, byte [rdi]
cmp al, 0xd
je 0x1401100fe
cmp al, 0xa
je 0x1401100fe
movzx esi, byte [r14 + rdi]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WSOCK32.dll_recvfrom
mov rdx, rdi
mov byte [r14 + rdi], 0
call fcn.1400ff440
test eax, eax
je 0x14010ffb2
mov edx, dword [r15 + 0xc0]
cmp edx, 0x191
je 0x14010ffda
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WSOCK32.dll_send
mov rdx, rdi
call fcn.1400ff440
test eax, eax
je 0x14010fff2
mov edx, dword [r15 + 0xc0]
cmp edx, 0x197
jne 0x14010fff2
mov r8, rdi
mov rcx, r12
call fcn.14010d900
test eax, eax
jne 0x140110397
jmp 0x1401100d2
lea rcx, str.Content_Length:
mov r8d, reloc.WSOCK32.dll_ntohs
mov rdx, rdi
call fcn.1400ff440
test eax, eax
je 0x140110024
xor edx, edx
lea rcx, [rdi + 0xf]
lea r8d, [rdx + 0xa]
call fcn.140263180
mov qword [rsp + 0x60], rax
jmp 0x1401100d2
lea r8, str.close
lea rdx, str.Connection:
mov rcx, rdi
call fcn.14010dee0
test al, al
je 0x140110048
mov byte [rsp + 0x50], 1
jmp 0x1401100d2
lea r8, str.chunked
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.14010dee0
test al, al
je 0x140110080
lea rdx, str.CONNECT_responded_chunked_n
mov rcx, r15
call fcn.1400fe360
mov rcx, r12
mov byte [rsp + 0x51], 1
call fcn.140114900
jmp 0x1401100d2
lea r8, str.close
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.14010dee0
test al, al
je 0x1401100a1
mov byte [rsp + 0x50], 1
jmp 0x1401100d2
lea r9, [r15 + 0xc0]
lea r8, [rsp + 0x88]
lea rdx, str.HTTP_1._d__d
mov rcx, rdi
call fcn.14025e304
cmp eax, 2
jne 0x1401100d2
mov eax, dword [r15 + 0xc0]
mov dword [r15 + 0x87d4], eax
mov rcx, qword [rsp + 0x70]
mov byte [r14 + rdi], sil
xor ebx, ebx
xor r14d, r14d
lea rdi, [r13 + 1]
inc ebp
inc r13
movsxd rax, ebp
cmp rax, rcx
jl 0x14010ff10
mov esi, dword [rsp + 0x54]
jmp 0x140110204
cmp dword [r15 + 0xc0], 0x197
mov qword [rsp + 0x78], 0
lea r13, [r15 + 0x638]
jne 0x14010fe27
cmp byte [r15 + 0x8738], 0
jne 0x14010fe27
mov r8, qword [rsp + 0x60]
mov esi, 2
mov dword [rsp + 0x54], esi
test r8, r8
je 0x140110178
lea rdx, str.Ignore__lld_bytes_of_response_body_n
mov rcx, r15
call fcn.1400fe360
mov rax, qword [rsp + 0x60]
movsxd r11, ebp
sub r11, qword [rsp + 0x70]
add rax, r11
mov qword [rsp + 0x60], rax
test rax, rax
jg 0x140110204
xor esi, esi
mov dword [rsp + 0x54], esi
jmp 0x140110204
movzx eax, byte [rsp + 0x51]
test al, al
je 0x14010fe27
mov r8, qword [rsp + 0x70]
movsxd rax, ebp
lea rdx, str._d_bytes_of_chunk_left_n
mov rcx, r15
sub r8, rax
mov byte [r15 + 0x105], 1
call fcn.1400fe360
cmp byte [rdi + 1], 0xa
jne 0x1401101b2
inc rdi
inc ebp
mov r8, qword [rsp + 0x70]
movsxd rax, ebp
lea rdx, [rdi + 1]
lea r9, [rsp + 0x70]
mov rcx, r12
sub r8, rax
call fcn.140114920
mov rcx, r15
cmp eax, 0xffffffff
je 0x14010fed5
mov r8, qword [rsp + 0x70]
lea rdx, str.Read__d_bytes_of_chunk__continue_n
call fcn.1400fe360
jmp 0x140110204
lea rdx, str.Proxy_CONNECT_aborted_due_to_select_poll_error
mov rcx, r15
mov dword [rsp + 0x68], 1
call fcn.1400fe410
mov rcx, r12
call fcn.140102ce0
test eax, eax
jne 0x1401102e0
cmp qword [rsp + 0x78], 0x4000
mov rbp, qword [rsp + 0x60]
jb 0x14010fd90
cmp dword [rsp + 0x68], 0
jne 0x140110392
cmp dword [r15 + 0x87d4], 0xc8
je 0x140110262
mov rcx, r12
call fcn.14010e1d0
test eax, eax
jne 0x140110397
cmp byte [r12 + 0x1e8], al
je 0x140110262
mov bl, 1
mov byte [rsp + 0x50], bl
jmp 0x14011026b
movzx ebx, byte [rsp + 0x50]
test bl, bl
je 0x140110275
cmp qword [r15 + 0x110], 0
jne 0x1401102ea
cmp qword [r15 + 0x110], 0
je 0x14011030f
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x80]
mov esi, dword [rsp + 0x58]
mov r14, qword [rsp + 0x100]
movzx r9d, word [rsp + 0x108]
jmp 0x14010fae0
mov rcx, rdi
call qword [fcn.14025db40]
mov rcx, r14
call qword [fcn.14025db40]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140110397
mov eax, ebx
jmp 0x140110397
mov rcx, rdi
call qword [fcn.14025db40]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140110397
mov eax, Ordinal_46
jmp 0x140110397
movsxd rax, dword [rsp + 0xf8]
mov rdi, rax
mov rcx, qword [r12 + rax*8 + 0x120]
call qword [sym.imp.WSOCK32.dll_closesocket]
mov qword [r12 + rdi*8 + 0x120], 0xffffffffffffffff
mov r8d, dword [r15 + 0xc0]
cmp r8d, 0xc8
je 0x140110347
lea rdx, str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov rcx, r15
call fcn.1400fe410
test bl, bl
je 0x140110392
cmp qword [r15 + 0x110], 0
je 0x140110392
mov byte [r12 + 0x1fe], 1
jmp 0x140110392
mov rcx, qword [r12 + 0x218]
call fcn.1400f52e0
mov qword [r12 + 0x218], 0
lea rdx, str.Proxy_replied_OK_to_CONNECT_request_n
mov rcx, r15
mov byte [r15 + 0x8734], 1
call fcn.1400fe360
mov byte [r15 + 0x105], 0
xor eax, eax
jmp 0x140110397
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, r15
call fcn.1400fe410
mov eax, Ordinal_60
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret