Function at 0x1400d8e50
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x32a8
call fcn.1401d4c90
sub rsp, rax
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x31b0], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rbp
mov qword [rbp + 0x3240], rax
call fcn.140002950
mov dword [rbp + 0x1080], eax
lea rcx, [rbp + 0x50]
call fcn.140002db0
nop
lea rcx, [rbp + 0x1070]
call fcn.140002db0
nop
lea rcx, [rbp + 0x10b0]
call fcn.140002db0
nop
lea rcx, [rbp + 0x10a8]
call fcn.140002db0
nop
mov dword [rbp + 0x18], 0
cmp qword [rbp + 0x3290], 0
je 0x1400d8f67
mov rax, qword [rbp + 0x3290]
mov eax, dword [rax]
mov dword [rbp + 0x18], eax
mov rdx, qword [rbp + 0x3290]
add rdx, 8
lea rcx, [rbp + 0x50]
call fcn.140002d80
mov rdx, qword [rbp + 0x3290]
mov eax, dword [rdx + 0x10]
mov dword [rbp + 4], eax
mov rdx, qword [rbp + 0x3290]
add rdx, 0x18
lea rcx, [rbp + 0x1070]
call fcn.140002d80
mov rdx, qword [rbp + 0x3290]
mov eax, dword [rdx + 0x20]
mov dword [rbp + 0x107c], eax
mov rdx, qword [rbp + 0x3290]
add rdx, 0x30
lea rcx, [rbp + 0x10b0]
call fcn.140002d80
mov rdx, qword [rbp + 0x3290]
add rdx, 0x38
lea rcx, [rbp + 0x10a8]
call fcn.140002d80
cmp dword [rbp + 0x18], 0
jne 0x1400d9421
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
lea rcx, [rbp + 0x10f8]
call fcn.1400a8080
mov edx, 2
mov word [rbp + 0x10f8], dx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x10fa], ax
mov eax, dword [rbp + 0x3298]
mov dword [rbp + 0x10fc], eax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rbp + 0x10f8]
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_bind]
mov dword [rbp + 0x10d0], eax
cmp dword [rbp + 0x3298], 0
je 0x1400d9030
cmp dword [rbp + 0x10d0], 0xffffffff
jne 0x1400d9030
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2741
jne 0x1400d9030
mov dword [rbp + 0x3144], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3144]
jmp 0x1400da1dc
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
lea rcx, [rbp + 0x10f8]
call fcn.1400a8080
mov edx, 2
mov word [rbp + 0x10f8], dx
mov rax, qword [rbp + 0x3280]
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0
jne 0x1400d9072
mov qword [rbp + 0x31b8], 0
jmp 0x1400d90f5
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0x3fffffff
jle 0x1400d9098
mov qword [rbp + 0x31c0], 0
jmp 0x1400d90e7
movsxd rdx, dword [rbp + 0x1c]
shl rdx, 1
movsxd rcx, dword [rbp + 0x1c]
shl rcx, 1
mov rax, rcx
add rax, 0xf
cmp rax, rcx
ja 0x1400d90bc
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401d4c90
sub rsp, rax
lea rcx, [rsp + 0x50]
mov r9d, dword [rbp + 0x1080]
mov r8d, edx
mov rdx, qword [rbp + 0x30]
call fcn.140050050
mov qword [rbp + 0x31c0], rax
mov rax, qword [rbp + 0x31c0]
mov qword [rbp + 0x31b8], rax
mov rcx, qword [rbp + 0x31b8]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x10fc], eax
movzx ecx, word [rbp + 0x3288]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x10fa], ax
cmp dword [rbp + 0x10fc], 0xffffffff
jne 0x1400d9247
mov rax, qword [rbp + 0x3280]
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0
jne 0x1400d914b
mov qword [rbp + 0x31c8], 0
jmp 0x1400d91ce
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0x3fffffff
jle 0x1400d9171
mov qword [rbp + 0x31d0], 0
jmp 0x1400d91c0
movsxd rdx, dword [rbp + 0x1c]
shl rdx, 1
movsxd rcx, dword [rbp + 0x1c]
shl rcx, 1
mov rax, rcx
add rax, 0xf
cmp rax, rcx
ja 0x1400d9195
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401d4c90
sub rsp, rax
lea rcx, [rsp + 0x50]
mov r9d, dword [rbp + 0x1080]
mov r8d, edx
mov rdx, qword [rbp + 0x30]
call fcn.140050050
mov qword [rbp + 0x31d0], rax
mov rax, qword [rbp + 0x31d0]
mov qword [rbp + 0x31c8], rax
mov rcx, qword [rbp + 0x31c8]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x1108], rax
cmp qword [rbp + 0x1108], 0
jne 0x1400d9231
mov dword [rbp + 0x3148], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3148]
jmp 0x1400da1dc
mov rax, qword [rbp + 0x1108]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov eax, dword [rax]
mov dword [rbp + 0x10fc], eax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rbp + 0x10f8]
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1400d92aa
mov dword [rbp + 0x314c], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x314c]
jmp 0x1400da1dc
mov dword [rbp + 0x10f0], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x10f0]
mov r8d, 1
mov edx, 6
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rbp + 0x10d0], eax
mov dword [rbp + 0x10d4], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x10d4]
mov r8d, 8
mov edx, 0xffff
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rbp + 0x10d0], eax
mov dword [rbp + 0x10c0], 0
lea rdi, [rbp + 0x10c4]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rbp + 0x10ec], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp + 0x10d8], 0
lea rdi, [rbp + 0x10dc]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rbp + 0x10b8], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp + 0x10e8], 0
mov dword [rbp + 0x10c0], 1
mov dword [rbp + 0x10c8], 0x1388
mov dword [rbp + 0x10c4], 0x1388
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x10e8]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x10b8]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x10d8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x10ec]
lea r8, [rbp + 0x10c0]
mov edx, 0x98000004
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [rbp + 0x3150], 1
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3150]
jmp 0x1400da1dc
movzx eax, byte [0x14020e88f]
mov byte [rbp + 0x60], al
lea rdi, [rbp + 0x61]
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov qword [rbp + 0x28], 0
lea rcx, [rbp + 0x50]
call fcn.140023510
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0
jne 0x1400d9464
mov qword [rbp + 0x31d8], 0
jmp 0x1400d94e7
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0x3fffffff
jle 0x1400d948a
mov qword [rbp + 0x31e0], 0
jmp 0x1400d94d9
movsxd rdx, dword [rbp + 0x1c]
shl rdx, 1
movsxd rcx, dword [rbp + 0x1c]
shl rcx, 1
mov rax, rcx
add rax, 0xf
cmp rax, rcx
ja 0x1400d94ae
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401d4c90
sub rsp, rax
lea rcx, [rsp + 0x50]
mov r9d, dword [rbp + 0x1080]
mov r8d, edx
mov rdx, qword [rbp + 0x30]
call fcn.140050050
mov qword [rbp + 0x31e0], rax
mov rax, qword [rbp + 0x31e0]
mov qword [rbp + 0x31d8], rax
mov rax, qword [rbp + 0x31d8]
mov qword [rbp + 0x1098], rax
mov eax, 2
mov word [rbp + 0x1088], ax
movzx ecx, word [rbp + 4]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x108a], ax
mov rcx, qword [rbp + 0x1098]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x108c], eax
cmp dword [rbp + 0x108c], 0xffffffff
jne 0x1400d95a9
mov rcx, qword [rbp + 0x1098]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x1110], rax
cmp qword [rbp + 0x1110], 0
je 0x1400d9564
mov rax, qword [rbp + 0x1110]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov eax, dword [rax]
mov dword [rbp + 0x108c], eax
jmp 0x1400d95a9
mov dword [rbp + 0x3154], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3154]
jmp 0x1400da1dc
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rbp + 0x1088]
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1400d960c
mov dword [rbp + 0x3158], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3158]
jmp 0x1400da1dc
mov dword [rbp + 0x1078], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x1078]
mov r8d, 1
mov edx, 6
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x24], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x24]
mov r8d, 8
mov edx, 0xffff
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rbp + 0x20], eax
mov dword [rbp + 8], 0
lea rdi, [rbp + 0xc]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rbp + 0x4c], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp + 0x38], 0
lea rdi, [rbp + 0x3c]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rbp], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp + 0x48], 0
mov dword [rbp + 8], 1
mov dword [rbp + 0x10], 0x1388
mov dword [rbp + 0xc], 0x1388
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x4c]
lea r8, [rbp + 8]
mov edx, 0x98000004
mov rcx, qword [rbp + 0x3278]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rax, qword [rbp + 0x3290]
cmp dword [rax + 0x48], 0
je 0x1400d9757
mov dword [rbp + 0x315c], 1
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x315c]
jmp 0x1400da1dc
lea rcx, [rbp + 0x1070]
call fcn.140023510
lea rdx, str.HTTPS
mov rcx, rax
call fcn.1400aa18c
test eax, eax
je 0x1400d9799
lea rcx, [rbp + 0x1070]
call fcn.140023510
lea rdx, [0x1402129c0]
mov rcx, rax
call fcn.1400aa18c
test eax, eax
jne 0x1400d9b26
mov rdx, qword [rbp + 0x3280]
lea rcx, [rbp + 0x3160]
call fcn.1400d8920
mov qword [rbp + 0x31e8], rax
mov r9d, dword [rbp + 0x3288]
mov r8, qword [rbp + 0x31e8]
mov r8, qword [r8]
lea rdx, str.CONNECT__s:_d_HTTP_1.0_r_n_r_n
lea rcx, [rbp + 0x60]
call fcn.1400acc74
lea rcx, [rbp + 0x3160]
call fcn.140001490
cmp dword [rbp + 0x107c], 0
je 0x1400d993e
movzx eax, byte [0x14020f15a]
mov byte [rbp + 0x2130], al
lea rdi, [rbp + 0x2131]
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
movzx eax, byte [0x14020f15b]
mov byte [rbp + 0x1120], al
lea rdi, [rbp + 0x1121]
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
lea rcx, [rbp + 0x10a8]
call fcn.140023510
mov rdx, rax
lea rcx, [rbp + 0x3168]
call fcn.1400d8920
mov qword [rbp + 0x31f0], rax
mov rax, qword [rbp + 0x31f0]
mov qword [rbp + 0x31f8], rax
lea rcx, [rbp + 0x10b0]
call fcn.140023510
mov rdx, rax
lea rcx, [rbp + 0x3170]
call fcn.1400d8920
mov qword [rbp + 0x3200], rax
mov r9, qword [rbp + 0x31f8]
mov r9, qword [r9]
mov r8, qword [rbp + 0x3200]
mov r8, qword [r8]
lea rdx, [0x1402129ec]
lea rcx, [rbp + 0x1120]
call fcn.1400acc74
lea rcx, [rbp + 0x3170]
call fcn.140001490
nop
lea rcx, [rbp + 0x3168]
call fcn.140001490
lea rcx, [rbp + 0x1120]
call fcn.1400a9180
mov qword [rsp + 0x20], 0x1001
lea r9, [rbp + 0x2130]
mov r8, rax
lea rdx, [rbp + 0x1120]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d7700
mov rdx, qword [rbp + 0x3280]
lea rcx, [rbp + 0x3178]
call fcn.1400d8920
mov qword [rbp + 0x3208], rax
lea rax, [rbp + 0x2130]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x3288]
mov r8, qword [rbp + 0x3208]
mov r8, qword [r8]
lea rdx, str.CONNECT__s:_d_HTTP_1.0_r_nProxy_Authorization:_Basic__s_r_n_r_n
lea rcx, [rbp + 0x60]
call fcn.1400acc74
lea rcx, [rbp + 0x3178]
call fcn.140001490
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d8c10
mov qword [rbp + 0x28], 0x1000
mov r9, qword [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d82f0
lea rcx, [0x140212a38]
call fcn.1400a9180
mov r8, rax
lea rdx, str.HTTP_1.0_200
lea rcx, [rbp + 0x60]
call fcn.1400ccd88
test eax, eax
je 0x1400d9a03
lea rcx, [0x140212a58]
call fcn.1400a9180
mov r8, rax
lea rdx, str.HTTP_1.1_200
lea rcx, [rbp + 0x60]
call fcn.1400ccd88
test eax, eax
je 0x1400d9a03
mov dword [rbp + 0x3180], 1
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3180]
jmp 0x1400da1dc
mov rax, qword [rbp + 0x3270]
cmp dword [rax + 0x220], 0
je 0x1400d9ae1
mov qword [rbp + 0x28], 0x1000
mov r9, qword [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d82f0
test eax, eax
jg 0x1400d9a83
mov dword [rbp + 0x3184], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3184]
jmp 0x1400da1dc
lea rdx, [0x1402129bc]
lea rcx, [rbp + 0x60]
call fcn.1400ad900
test eax, eax
jne 0x1400d9adc
mov dword [rbp + 0x3188], 1
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3188]
jmp 0x1400da1dc
jmp 0x1400d9a03
mov dword [rbp + 0x318c], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x318c]
jmp 0x1400da1dc
lea rcx, [rbp + 0x1070]
call fcn.140023510
lea rdx, str.SOCKS5
mov rcx, rax
call fcn.1400aa18c
test eax, eax
jne 0x1400da19c
mov qword [rbp + 0x28], 0
cmp dword [rbp + 0x107c], 0
je 0x1400d9eef
mov byte [rbp + 0x60], 5
mov byte [rbp + 0x61], 2
mov byte [rbp + 0x62], 0
mov byte [rbp + 0x63], 2
mov qword [rbp + 0x28], 4
mov r9, qword [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d89a0
mov qword [rbp + 0x28], 2
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d80c0
movsx eax, byte [rbp + 0x60]
cmp eax, 5
jne 0x1400d9ea5
movsx eax, byte [rbp + 0x61]
cmp eax, 2
jne 0x1400d9e56
mov byte [rbp + 0x60], 1
lea rcx, [rbp + 0x10b0]
call fcn.140023510
mov rcx, rax
call fcn.1400a8204
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x28]
mov byte [rbp + 0x61], al
lea rcx, [rbp + 0x10b0]
call fcn.140023510
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0
jne 0x1400d9c20
mov qword [rbp + 0x3210], 0
jmp 0x1400d9ca3
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0x3fffffff
jle 0x1400d9c46
mov qword [rbp + 0x3218], 0
jmp 0x1400d9c95
movsxd rdx, dword [rbp + 0x1c]
shl rdx, 1
movsxd rcx, dword [rbp + 0x1c]
shl rcx, 1
mov rax, rcx
add rax, 0xf
cmp rax, rcx
ja 0x1400d9c6a
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401d4c90
sub rsp, rax
lea rcx, [rsp + 0x50]
mov r9d, dword [rbp + 0x1080]
mov r8d, edx
mov rdx, qword [rbp + 0x30]
call fcn.140050050
mov qword [rbp + 0x3218], rax
mov rax, qword [rbp + 0x3218]
mov qword [rbp + 0x3210], rax
lea rcx, [rbp + 0x62]
mov rdx, qword [rbp + 0x3210]
call fcn.1400acdf0
mov rax, qword [rbp + 0x28]
add rax, 2
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x10a8]
call fcn.140023510
mov rcx, rax
call fcn.1400a8204
mov rdx, rax
mov rax, qword [rbp + 0x28]
mov byte [rbp + rax + 0x60], dl
lea rcx, [rbp + 0x10a8]
call fcn.140023510
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0
jne 0x1400d9d05
mov qword [rbp + 0x3220], 0
jmp 0x1400d9d88
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0x3fffffff
jle 0x1400d9d2b
mov qword [rbp + 0x3228], 0
jmp 0x1400d9d7a
movsxd rdx, dword [rbp + 0x1c]
shl rdx, 1
movsxd rcx, dword [rbp + 0x1c]
shl rcx, 1
mov rax, rcx
add rax, 0xf
cmp rax, rcx
ja 0x1400d9d4f
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401d4c90
sub rsp, rax
lea rcx, [rsp + 0x50]
mov r9d, dword [rbp + 0x1080]
mov r8d, edx
mov rdx, qword [rbp + 0x30]
call fcn.140050050
mov qword [rbp + 0x3228], rax
mov rax, qword [rbp + 0x3228]
mov qword [rbp + 0x3220], rax
mov rax, qword [rbp + 0x28]
lea rcx, [rbp + rax + 0x61]
mov rdx, qword [rbp + 0x3220]
call fcn.1400acdf0
lea rcx, [rbp + 0x10a8]
call fcn.140023510
mov rcx, rax
call fcn.1400a8204
mov rdx, rax
mov rax, qword [rbp + 0x28]
lea rax, [rax + rdx + 1]
mov qword [rbp + 0x28], rax
mov r9, qword [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d89a0
mov qword [rbp + 0x28], 2
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d80c0
movsx eax, byte [rbp + 0x61]
test eax, eax
je 0x1400d9e54
mov dword [rbp + 0x3190], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3190]
jmp 0x1400da1dc
jmp 0x1400d9ea3
movsx eax, byte [rbp + 0x61]
test eax, eax
je 0x1400d9ea3
mov dword [rbp + 0x3194], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3194]
jmp 0x1400da1dc
jmp 0x1400d9eea
mov dword [rbp + 0x3198], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x3198]
jmp 0x1400da1dc
jmp 0x1400d9f9f
mov byte [rbp + 0x60], 5
mov byte [rbp + 0x61], 1
mov byte [rbp + 0x62], 0
mov qword [rbp + 0x28], 3
mov r9, qword [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d89a0
mov qword [rbp + 0x28], 2
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d80c0
movsx eax, byte [rbp + 0x60]
cmp eax, 5
jne 0x1400d9f5a
movsx eax, byte [rbp + 0x61]
test eax, eax
je 0x1400d9f9f
mov dword [rbp + 0x319c], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x319c]
jmp 0x1400da1dc
mov byte [rbp + 0x60], 5
mov byte [rbp + 0x61], 1
mov byte [rbp + 0x62], 0
mov byte [rbp + 0x63], 3
mov rcx, qword [rbp + 0x3280]
call fcn.1400a8204
mov byte [rbp + 0x64], al
mov rax, qword [rbp + 0x3280]
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0
jne 0x1400d9fe0
mov qword [rbp + 0x3230], 0
jmp 0x1400da063
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0x3fffffff
jle 0x1400da006
mov qword [rbp + 0x3238], 0
jmp 0x1400da055
movsxd rdx, dword [rbp + 0x1c]
shl rdx, 1
movsxd rcx, dword [rbp + 0x1c]
shl rcx, 1
mov rax, rcx
add rax, 0xf
cmp rax, rcx
ja 0x1400da02a
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401d4c90
sub rsp, rax
lea rcx, [rsp + 0x50]
mov r9d, dword [rbp + 0x1080]
mov r8d, edx
mov rdx, qword [rbp + 0x30]
call fcn.140050050
mov qword [rbp + 0x3238], rax
mov rax, qword [rbp + 0x3238]
mov qword [rbp + 0x3230], rax
lea rcx, [rbp + 0x65]
mov rdx, qword [rbp + 0x3230]
call fcn.1400acdf0
movzx ecx, word [rbp + 0x3288]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x3140], ax
mov rcx, qword [rbp + 0x3280]
call fcn.1400a8204
lea rcx, [rbp + rax + 0x65]
mov r8d, 2
lea rdx, [rbp + 0x3140]
call fcn.1400a8d30
mov rcx, qword [rbp + 0x3280]
call fcn.1400a8204
add rax, 7
mov qword [rbp + 0x28], rax
mov r9, qword [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d89a0
mov qword [rbp + 0x28], 0xa
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x28]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 0x3278]
mov rcx, qword [rbp + 0x3270]
call fcn.1400d80c0
movsx eax, byte [rbp + 0x60]
cmp eax, 5
jne 0x1400da115
movsx eax, byte [rbp + 0x61]
test eax, eax
je 0x1400da15a
mov dword [rbp + 0x31a0], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x31a0]
jmp 0x1400da1dc
mov dword [rbp + 0x31a4], 1
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x31a4]
jmp 0x1400da1dc
mov dword [rbp + 0x31a8], 0
lea rcx, [rbp + 0x10a8]
call fcn.140001490
nop
lea rcx, [rbp + 0x10b0]
call fcn.140001490
nop
lea rcx, [rbp + 0x1070]
call fcn.140001490
nop
lea rcx, [rbp + 0x50]
call fcn.140001490
mov eax, dword [rbp + 0x31a8]
mov rcx, qword [rbp + 0x3240]
xor rcx, rbp
call fcn.1400a8050
lea rsp, [rbp + 0x3258]
pop rdi
pop rbp
ret