Function at 0x4dda80
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x48]
cmp r12, qword [r14 + 0x10]
jbe 0x4ddf5e
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xd0], rax
mov ecx, 0x107
lea rax, [0x004fa8c0]
mov rbx, rcx
call sym.runtime.makeslice
mov qword [rsp + 0xa8], rax
mov rbx, qword [rsp + 0xd8]
mov rcx, rax
mov edi, 0x107
mov rsi, rdi
mov r8d, 5
mov rax, qword [rsp + 0xd0]
call sym.iox_socks5.readAtLeast
test rbx, rbx
jne 0x4ddf10
mov r10, qword [rsp + 0xa8]
cmp byte [r10], 5
jne 0x4ddef5
movzx r11d, byte [r10 + 1]
cmp r11b, 3
ja 0x4ddb1b
test r11b, r11b
jne 0x4ddbe0
movups xmmword [rsp + 0xb0], xmm15
movzx r11d, byte [r10 + 1]
lea r12, [0x004fa8c0]
mov qword [rsp + 0xb0], r12
lea r12, [0x005fb760]
lea r11, [r12 + r11*8]
mov qword [rsp + 0xb8], r11
cmp byte [0x0065a1e8], 0
je 0x4ddbe0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x70]
lea rbx, [0x005225f7]
mov ecx, 4
lea rdi, [0x00525559]
mov esi, 0x13
lea r8, [0x0054fee0]
mov r9d, 1
call sym.runtime.concatstring3
mov rdx, qword [0x00606868]
mov rcx, rax
mov rdi, rbx
lea rsi, [rsp + 0xb0]
mov r8d, 1
mov r9, r8
lea rax, [0x00551568]
mov rbx, rdx
call sym.fmt.Fprintf
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x68]
mov r10, qword [rsp + 0xa8]
cmp byte [r10 + 1], 1
jne 0x4ddeda
movzx r9d, byte [r10 + 3]
cmp r9b, 1
jne 0x4ddc00
mov r9d, 0xa
jmp 0x4ddc21
cmp r9b, 3
jne 0x4ddc11
movzx r9d, byte [r10 + 4]
add r9, 7
jmp 0x4ddc21
cmp r9b, 4
jne 0x4ddebf
mov r9d, 0x16
mov qword [rsp + 0x50], r9
cmp rax, r9
je 0x4ddc9b
jge 0x4ddea4
cmp r9, 0x107
ja 0x4ddf50
nop
cmp rax, r9
ja 0x4ddf48
mov r8, r9
sub r8, rax
lea rsi, [rax - 0x107]
mov rdx, rsi
neg rdx
sar rsi, 0x3f
and rsi, rax
lea rcx, [r10 + rsi]
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xd8]
mov rdi, r8
mov rsi, rdx
nop dword [rax]
call sym.iox_socks5.readAtLeast
test rbx, rbx
jne 0x4dde91
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x68], rbx
movzx esi, byte [r10 + 3]
cmp sil, 1
je 0x4ddd48
cmp sil, 3
jne 0x4ddd07
movzx edx, byte [r10 + 4]
add edx, 5
movzx edx, dl
cmp rdx, 5
jb 0x4ddf3b
lea rcx, [rdx - 5]
lea rbx, [r10 + 5]
xor eax, eax
nop dword [rax]
call sym.runtime.slicebytetostring
mov rcx, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0xa8]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x68]
jmp 0x4ddd80
cmp sil, 4
je 0x4ddd13
xor eax, eax
xor edx, edx
jmp 0x4ddd80
lea rax, [r10 + 4]
mov ebx, 0x10
mov ecx, 0x103
call sym.net.IP.String
mov rcx, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0xa8]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x68]
jmp 0x4ddd80
lea rax, [r10 + 4]
mov ebx, 4
mov ecx, 0x103
call sym.net.IP.String
mov rcx, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0xa8]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x68]
nop dword [rax + rax]
cmp r9, 0x107
ja 0x4ddf2e
lea rsi, [r9 - 2]
cmp r9, rsi
jb 0x4ddf23
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x98], rdx
lea rcx, [r9 - 0x109]
sar rcx, 0x3f
and rsi, rcx
movzx ecx, word [r10 + rsi]
rol cx, 8
movzx eax, cx
mov ebx, 0xa
call sym.strconv.FormatInt
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x98]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0065a430]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4dde4e
xor eax, eax
lea rbx, [0x0052245d]
mov ecx, 1
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x60]
lea r8, [0x00522476]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x48]
call sym.runtime.concatstring4
jmp 0x4dde7b
xor eax, eax
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x00550080]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x48]
call sym.runtime.concatstring3
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0xa0]
add rsp, 0xc0
pop rbp
ret
xor eax, eax
mov rdi, rcx
mov rcx, rbx
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov rcx, qword [0x005ff140]
mov rdi, qword [0x005ff148]
xor eax, eax
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov rcx, qword [0x005ff110]
mov rdi, qword [0x005ff118]
xor eax, eax
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov rcx, qword [0x005ff150]
mov rdi, qword [0x005ff158]
xor eax, eax
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov rcx, qword [0x005ff120]
mov rdi, qword [0x005ff128]
xor eax, eax
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
xor eax, eax
mov rdi, rcx
mov rcx, rbx
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov rax, rsi
mov rcx, r9
call sym.runtime.panicSliceB
mov rcx, r9
mov edx, 0x107
call sym.runtime.panicSliceAcap
mov eax, 5
mov rcx, rdx
call sym.runtime.panicSliceB
mov rcx, r9
call sym.runtime.panicSliceB
mov rcx, r9
mov edx, 0x107
call sym.runtime.panicSliceAcap
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.iox_socks5.parseTarget