Function at 0x140089820
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x378
mov rax, qword [0x1402840b0]
mov esi, dword [rsp + 0x3e0]
lea rbx, [rsp + 0xb0]
mov qword [rsp + 0x88], rdx
lea rdx, str.socks
mov dword [rsp + 0x3d0], r8d
mov ebp, r9d
mov r8d, 0x40
mov r9, rbx
mov r12, rcx
mov rdi, qword [rax]
mov qword [rsp + 0x368], rdi
xor edi, edi
call sym.libvlccore.dll_var_Inherit
test eax, eax
jne 0x1400899d2
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
mov qword [rsp + 0x78], rdx
je 0x1400899d2
cmp byte [rdx], 0
mov rcx, rdx
je 0x1400899cd
mov edx, 0x3a
call sub.msvcrt.dll_strchr
test rax, rax
je 0x140089ed4
mov byte [rax], 0
add rax, 1
mov rcx, rax
je 0x140089ed4
call sub.msvcrt.dll_atoi
mov r13d, eax
mov r8, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x3d0]
lea r9, str.net:_connecting_to__s_port__d__SOCKS__for__s_port__d
mov rdi, qword [rsp + 0x88]
lea r10, str.net_Connect
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x30], r9
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov dword [rsp + 0x20], 0x5a
mov qword [rsp + 0x38], r8
mov r8, qword [str.main]
mov edx, 3
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x48], rdi
mov rcx, r12
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x70], r10
call sym.libvlccore.dll_vlc_Log
cmp ebp, 1
ja 0x140089eb1
test esi, esi
je 0x140089c1c
cmp esi, 6
je 0x140089c1c
mov r13, qword [rsp + 0x70]
lea r11, str.Transport_not_supported_through_SOCKS
mov dword [rsp + 0x20], 0x6f
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], r13
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov edx, 1
mov rcx, r12
mov ebp, 0xffffffff
call sym.libvlccore.dll_vlc_Log
mov rcx, qword [rsp + 0x78]
call fcn.14016b5d8
mov r10, qword [0x1402840b0]
mov eax, ebp
mov rsi, qword [rsp + 0x368]
xor rsi, qword [r10]
jne 0x14008a682
add rsp, 0x378
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14016b5d8
mov eax, dword [rsp + 0x3d0]
mov r14, qword [rsp + 0x88]
lea rcx, str.net:_connecting_to__s_port__d
lea rdi, str.net_Connect
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0x7a
mov edx, 3
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r14
mov rcx, r12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x70], rdi
call sym.libvlccore.dll_vlc_Log
mov r13d, dword [rsp + 0x3d0]
mov qword [rsp + 0x78], 0
xor eax, eax
mov ecx, 6
mov rdi, rbx
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0xb0]
mov edx, r13d
rep stosq qword [rdi], rax
mov rcx, r14
mov dword [rsp + 0xb8], ebp
mov dword [rsp + 0xbc], esi
call sym.libvlccore.dll_vlc_getaddrinfo_i11e
test eax, eax
mov dword [rsp + 0x98], eax
jne 0x14008a07c
mov rcx, qword [rsp + 0x78]
lea r14, [rsp + 0xa8]
call fcn.14016b5d8
lea rdx, [0x14018a127]
mov r9, r14
mov r8d, 0x30
mov rcx, r12
call sym.libvlccore.dll_var_Inherit
test eax, eax
mov qword [rsp + 0x80], 0
jne 0x140089ace
imul rbp, qword [rsp + 0xa8], 0x3e8
mov qword [rsp + 0x80], rbp
mov rsi, qword [rsp + 0xa0]
test rsi, rsi
je 0x140089c09
mov r15, qword [sym.imp.msvcrt.dll__errno]
mov qword [rsp + 0x68], r12
jmp 0x140089b8b
movsxd r13, eax
mov rdx, qword [rsi + 0x20]
mov r8d, dword [rsi + 0x10]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140089dc1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140089c30
call qword [sym.imp.msvcrt.dll__errno]
cmp dword [rax], 4
je 0x140089c30
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call sym.libvlccore.dll_vlc_strerror_c
mov rcx, qword [rsp + 0x70]
lea r11, str.connection_failed:__s
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0x9f
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], rcx
mov r8, qword [str.main]
mov rcx, qword [rsp + 0x68]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov edx, 1
call sym.libvlccore.dll_vlc_Log
mov rcx, r13
call qword [sym.imp.WS2_32.dll_closesocket]
mov rsi, qword [rsi + 0x28]
test rsi, rsi
je 0x140089c01
mov edx, dword [rsi + 4]
mov r9d, dword [rsi + 0xc]
mov r8d, dword [rsi + 8]
mov rcx, qword [rsp + 0x68]
call fcn.140088b10
cmp eax, 0xffffffff
mov ebp, eax
jne 0x140089af0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea r13, [0x14018a134]
call sym.libvlccore.dll_vlc_strerror_c
mov rdi, qword [rsp + 0x70]
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov edx, 3
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x20], 0x96
mov qword [rsp + 0x28], rdi
call sym.libvlccore.dll_vlc_Log
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140089b8b
mov rsi, qword [rsp + 0xa0]
mov rcx, rsi
mov ebp, 0xffffffff
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x14008999f
mov r14, qword [rsp + 0x78]
mov esi, 6
mov ebp, 1
jmp 0x140089a3b
mov r12d, 0x30
mov dword [rsp + 0xa8], ebp
movabs rdi, 0x20c49ba5e353f7cf
mov word [rsp + 0xac], r12w
call sym.libvlccore.dll_mdate
mov rbx, qword [rsp + 0x80]
lea rbx, [rax + rbx]
jmp 0x140089c6f
call r15
cmp dword [rax], 4
jne 0x140089d10
call sym.libvlccore.dll_mdate
mov r12, rax
call sym.libvlccore.dll_vlc_killed
test al, al
jne 0x140089b79
cmp rbx, r12
mov r9, rbx
mov rcx, r14
cmovle r12, rbx
sub r9, r12
mov rax, r9
sar r9, 0x3f
imul rdi
sar rdx, 7
mov r8d, edx
mov edx, 1
sub r8d, r9d
call sym.libvlccore.dll_vlc_poll_i11e
cmp eax, 0xffffffff
mov dword [rsp + 0x98], eax
je 0x140089c63
test eax, eax
jne 0x140089d51
mov r9, qword [rsp + 0x70]
lea r8, str.connection_timed_out
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0xc0
mov edx, 2
mov qword [rsp + 0x30], r8
mov r8, qword [str.main]
mov qword [rsp + 0x28], r9
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
call sym.libvlccore.dll_vlc_Log
jmp 0x140089b79
mov eax, dword [rsp + 0x98]
cmp eax, 0xffffffff
jne 0x140089cbe
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call sym.libvlccore.dll_vlc_strerror_c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
lea rdx, str.polling_error:__s
mov dword [rsp + 0x20], 0xbc
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
jmp 0x140089b5c
lea r8, [rsp + 0x9c]
mov rcx, r13
mov dword [rsp + 0x9c], 4
lea r9, [rsp + 0x98]
mov edx, 0xffff
mov qword [rsp + 0x20], r8
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
mov ecx, dword [rsp + 0x98]
jne 0x140089d94
test ecx, ecx
je 0x140089dc1
call sym.libvlccore.dll_vlc_strerror_c
mov r12, qword [rsp + 0x70]
lea rbx, str.connection_failed:__s
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0xca
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
jmp 0x140089b5c
mov r10, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
lea rsi, str.connection_succeeded__socket___d_
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov edx, 3
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r10
mov rcx, r12
mov dword [rsp + 0x20], 0xcf
call sym.libvlccore.dll_vlc_Log
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp qword [rsp + 0x78], 0
je 0x14008999f
lea rdx, str.socks_user
mov r9, r14
mov r8d, 0x40
mov rcx, r12
xor ebx, ebx
call sym.libvlccore.dll_var_Inherit
test eax, eax
jne 0x140089e51
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x140089e51
cmp byte [rbx], 0
je 0x14008a06d
lea rdx, str.socks_pwd
mov r9, r14
mov r8d, 0x40
mov rcx, r12
call sym.libvlccore.dll_var_Inherit
test eax, eax
jne 0x140089ee7
mov r14, qword [rsp + 0xa8]
test r14, r14
je 0x140089ee7
cmp byte [r14], 0
je 0x140089edf
test rbx, rbx
mov byte [rsp + 0xe0], 5
je 0x14008a66a
mov byte [rsp + 0xe3], 2
mov edi, 4
mov r9d, 4
mov r11d, 2
mov esi, 1
jmp 0x140089f05
mov r15, qword [rsp + 0x70]
lea r14, str.Socket_type_not_supported_through_SOCKS
mov dword [rsp + 0x20], 0x64
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r15
jmp 0x140089975
mov r13d, 0x438
jmp 0x1400898d6
mov rcx, r14
call fcn.14016b5d8
mov byte [rsp + 0xe0], 5
mov edi, 3
mov r9d, 3
xor r14d, r14d
mov r11d, 1
xor esi, esi
lea r15, [rsp + 0xe0]
mov edx, ebp
mov rcx, r12
mov byte [rsp + 0xe2], 0
mov byte [rsp + 0xe1], r11b
mov r8, r15
call sym.libvlccore.dll_net_Write
cmp rdi, rax
jne 0x14008a011
mov r9d, 2
mov r8, r15
mov edx, ebp
mov rcx, r12
call sym.libvlccore.dll_net_Read
cmp rax, 2
jne 0x14008a011
movzx r9d, byte [rsp + 0xe0]
movzx ecx, byte [rsp + 0xe1]
lea rax, str.socks:_v_d_method_x
lea rdx, str.SocksNegotiate
mov r8, qword [str.main]
mov dword [rsp + 0x20], 0x16b
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov edx, 3
mov dword [rsp + 0x38], r9d
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov dword [rsp + 0x40], ecx
mov rcx, r12
call sym.libvlccore.dll_vlc_Log
movzx r8d, byte [rsp + 0xe1]
test r8b, r8b
je 0x14008a0df
cmp r8b, 2
je 0x14008a3a6
test sil, sil
je 0x14008a366
movzx edi, byte [rsp + 0xe0]
lea r11, str.socks:_unsupported_authentication_method__x
lea rsi, str.SocksNegotiate
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov dword [rsp + 0x20], 0x19f
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], rsi
mov edx, 1
mov rcx, r12
mov dword [rsp + 0x38], edi
call sym.libvlccore.dll_vlc_Log
mov r10, qword [rsp + 0x70]
lea rbp, str.SOCKS_handshake_failed
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov edx, 1
mov rcx, r12
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x20], 0xe5
mov ebp, 0xffffffff
mov qword [rsp + 0x28], r10
call sym.libvlccore.dll_vlc_Log
mov rcx, r13
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbx
call fcn.14016b5d8
mov rcx, r14
call fcn.14016b5d8
jmp 0x14008999f
mov rcx, rbx
xor ebx, ebx
call fcn.14016b5d8
jmp 0x140089e51
mov ecx, eax
mov ebp, 0xffffffff
call fcn.1400e7de0
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x38], r14
lea r14, [0x14018a108]
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, r12
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x87
call sym.libvlccore.dll_vlc_Log
mov rcx, qword [rsp + 0x78]
call fcn.14016b5d8
jmp 0x14008999f
lea rsi, str.socks:_no_authentication_required
lea rax, str.SocksNegotiate
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov dword [rsp + 0x20], 0x16f
mov edx, 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov rcx, r12
call sym.libvlccore.dll_vlc_Log
mov rcx, qword [rsp + 0x88]
call sub.msvcrt.dll_strlen
cmp rax, 0xfe
ja 0x14008a2b0
lea r9d, [rax + 7]
lea edx, [rax + 5]
mov r11d, eax
movsxd r9, r9d
movsxd r8, edx
mov r10, r9
cmp eax, 8
mov byte [rsp + 0xe0], 5
mov byte [rsp + 0xe1], 1
mov byte [rsp + 0xe2], 0
mov byte [rsp + 0xe3], 3
lea rdx, [r15 + 5]
mov byte [rsp + 0xe4], r11b
mov ecx, eax
jae 0x14008a2d2
test al, 4
jne 0x14008a330
test ecx, ecx
je 0x14008a1a1
mov rsi, qword [rsp + 0x88]
test cl, 2
movzx eax, byte [rsi]
mov byte [r15 + 5], al
jne 0x14008a34d
mov qword [rsp + 0x68], r10
movzx r10d, word [rsp + 0x3d0]
mov edx, ebp
mov rcx, r12
rol r10w, 8
mov word [rsp + r8 + 0xe0], r10w
mov r8, r15
call sym.libvlccore.dll_net_Write
mov r8, qword [rsp + 0x68]
cmp rax, r8
jne 0x14008a011
mov r9d, 5
mov r8, r15
mov edx, ebp
mov rcx, r12
call sym.libvlccore.dll_net_Read
cmp rax, 5
jne 0x14008a011
movzx r9d, byte [rsp + 0xe3]
movzx edx, byte [rsp + 0xe1]
lea r11, str.socks:_v_d_rep_d_atyp_d
movzx eax, byte [rsp + 0xe0]
lea rsi, str.SocksHandshakeTCP
mov r8, qword [str.main]
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x20], 0x1fb
mov rcx, r12
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x48], r9d
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], eax
mov edx, 3
call sym.libvlccore.dll_vlc_Log
cmp byte [rsp + 0xe1], 0
jne 0x14008a687
movzx ecx, byte [rsp + 0xe3]
cmp cl, 1
je 0x14008a320
cmp cl, 3
je 0x14008a30a
cmp cl, 4
jne 0x14008a011
mov esi, 0x11
mov r9d, 0x11
mov r8, r15
mov edx, ebp
mov rcx, r12
call sym.libvlccore.dll_net_Read
cmp rax, rsi
je 0x14008a058
jmp 0x14008a011
mov r10d, 0x106
mov r9d, 0x106
mov eax, 0xff
mov r11d, 0xffffffff
mov r8d, 0x104
jmp 0x14008a146
mov rsi, qword [rsp + 0x88]
mov edi, eax
mov rcx, qword [rsi]
mov qword [rsp + 0xe5], rcx
mov r11, qword [rsi + rdi - 8]
mov qword [rdx + rdi - 8], r11
lea rdi, [r15 + 8]
sub rdx, rdi
sub rsi, rdx
add edx, eax
shr edx, 3
mov ecx, edx
rep movsq qword [rdi], qword [rsi]
jmp 0x14008a1a1
movzx edi, byte [rsp + 0xe4]
add edi, 2
movsxd r9, edi
mov rsi, r9
jmp 0x14008a292
mov esi, 5
mov r9d, 5
jmp 0x14008a292
mov rdi, qword [rsp + 0x88]
mov eax, dword [rdi]
mov dword [r15 + 5], eax
mov r11d, dword [rdi + rcx - 4]
mov dword [rdx + rcx - 4], r11d
jmp 0x14008a1a1
mov rdi, qword [rsp + 0x88]
movzx r11d, word [rdi + rcx - 2]
mov word [rdx + rcx - 2], r11w
jmp 0x14008a1a1
lea rbp, str.socks:_authentication_needed
lea r10, str.SocksNegotiate
mov dword [rsp + 0x20], 0x1a1
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r10
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov edx, 1
mov rcx, r12
call sym.libvlccore.dll_vlc_Log
jmp 0x14008a011
test rbx, rbx
je 0x14008a645
test r14, r14
je 0x14008a645
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov rcx, r14
mov qword [rsp + 0x68], rax
call sub.msvcrt.dll_strlen
mov r9, qword [rsp + 0x68]
cmp r9d, 0xff
jg 0x14008a620
cmp eax, 0xff
jg 0x14008a620
mov qword [rsp + 0x78], rax
lea rdx, str.SocksNegotiate
lea rax, str.socks:_username_password_authentication
mov r8, qword [str.main]
mov qword [rsp + 0x68], r9
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov rcx, r12
mov dword [rsp + 0x20], 0x184
mov edx, 3
lea rdi, [r15 + 2]
call sym.libvlccore.dll_vlc_Log
mov r10, qword [rsp + 0x68]
mov byte [rsp + 0xe0], 5
mov rax, qword [rsp + 0x78]
movsxd r11, r10d
mov byte [rsp + 0xe1], r10b
cmp r11, 8
jae 0x14008a5b1
test r11b, 4
jne 0x14008a5e4
test r11, r11
je 0x14008a47a
movzx ecx, byte [rbx]
test r11b, 2
mov byte [r15 + 2], cl
jne 0x14008a6a5
lea r11d, [r10 + 2]
lea r10d, [r10 + 3]
movsxd rcx, eax
movsxd r8, r10d
movsxd rdx, r11d
add r8, r15
cmp rcx, 8
mov byte [rsp + rdx + 0xe0], al
jae 0x14008a581
test cl, 4
jne 0x14008a5fa
test rcx, rcx
je 0x14008a4bd
movzx edi, byte [r14]
test cl, 2
mov byte [r8], dil
jne 0x14008a60f
add eax, r10d
mov r8, r15
mov edx, ebp
movsxd rsi, eax
mov rcx, r12
mov r9, rsi
call sym.libvlccore.dll_net_Write
cmp rax, rsi
jne 0x14008a011
mov r9d, 2
mov r8, r15
mov edx, ebp
mov rcx, r12
call sym.libvlccore.dll_net_Read
cmp rax, 2
jne 0x14008a011
movzx eax, byte [rsp + 0xe1]
movzx r10d, byte [rsp + 0xe0]
lea r8, str.socks:_v_d_status_x
lea r11, str.SocksNegotiate
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_tcp.c
mov dword [rsp + 0x20], 0x194
mov qword [rsp + 0x30], r8
mov r8, qword [str.main]
mov edx, 3
mov qword [rsp + 0x28], r11
mov rcx, r12
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r10d
call sym.libvlccore.dll_vlc_Log
cmp byte [rsp + 0xe1], 0
je 0x14008a11a
lea r15, str.socks:_authentication_rejected
lea rbp, str.SocksNegotiate
mov dword [rsp + 0x20], 0x197
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rbp
jmp 0x14008a386
mov rdx, qword [r14]
lea rdi, [r8 + 8]
mov rsi, r14
and rdi, 0xfffffffffffffff8
mov qword [r8], rdx
mov r9, qword [r14 + rcx - 8]
mov qword [r8 + rcx - 8], r9
sub r8, rdi
add rcx, r8
sub rsi, r8
shr rcx, 3
rep movsq qword [rdi], qword [rsi]
jmp 0x14008a4bd
mov rdx, qword [rbx]
lea r9, [r15 + 8]
mov rsi, rbx
mov qword [r15 + 2], rdx
mov r8, qword [rbx + r11 - 8]
mov qword [rdi + r11 - 8], r8
sub rdi, r9
sub rsi, rdi
add rdi, r11
shr rdi, 3
mov rcx, rdi
mov rdi, r9
rep movsq qword [rdi], qword [rsi]
jmp 0x14008a47a
mov r8d, dword [rbx]
mov dword [r15 + 2], r8d
mov esi, dword [rbx + r11 - 4]
mov dword [rdi + r11 - 4], esi
jmp 0x14008a47a
mov r9d, dword [r14]
mov dword [r8], r9d
mov esi, dword [r14 + rcx - 4]
mov dword [r8 + rcx - 4], esi
jmp 0x14008a4bd
movzx r11d, word [r14 + rcx - 2]
mov word [r8 + rcx - 2], r11w
jmp 0x14008a4bd
lea rdx, str.socks:_rejecting_username_and_or_password_due_to_violation_of_RFC1929__longer_than_255_bytes_
lea r9, str.SocksNegotiate
mov dword [rsp + 0x20], 0x180
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r9
jmp 0x14008a386
lea rcx, str.socks:_server_mandates_authentication_but_a_username_and_or_password_was_not_supplied
lea rdi, str.SocksNegotiate
mov dword [rsp + 0x20], 0x176
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
jmp 0x14008a386
mov edi, 3
mov r9d, 3
mov r11d, 1
xor esi, esi
jmp 0x140089f05
call fcn.1400c4db0
lea r15, str.socks:_CONNECT_request_failed
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x1ff
mov qword [rsp + 0x30], r15
jmp 0x14008a386
movzx r9d, word [rbx + r11 - 2]
mov word [rdi + r11 - 2], r9w
jmp 0x14008a47a