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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4f8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x460], xmm6
mov qword [rbp + 0x458], 0xfffffffffffffffe
mov r15, rdx
mov r14, rcx
mov rax, qword [rdx]
mov rcx, qword [rdx + 0x10]
mov edx, dword [rdx + 0x118]
test edx, edx
je 0x140011051
cmp edx, 1
jne 0x140011058
mov edx, 0x1bb
jmp 0x14001105f
mov edx, 0x50
jmp 0x14001105f
mov edx, dword [r15 + 0x11c]
lea rbx, [rbp + 0x1c0]
mov qword [rbx], rax
mov qword [rbx + 8], rcx
lea rax, [rbp + 0x3fc]
mov dword [rax], edx
lea rdi, [rbp + 0x1d0]
mov qword [rdi], rbx
lea rcx, [0x14000d7d0]
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rax
lea rax, [0x140007a70]
mov qword [rdi + 0x18], rax
lea rax, [0x140051e38]
lea rdx, [rbp - 0x50]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], rax
lea rsi, [rbp + 0x3e0]
mov rcx, rsi
call fcn.1400040b0
mov r13, qword [rsi]
mov rbx, qword [rsi + 0x10]
mov qword [rdi], r13
mov qword [rdi + 8], rbx
lea rcx, [rbp + 0x1d0]
call fcn.14002e540
mov rsi, rax
test sil, 1
je 0x1400111fe
mov rdi, qword [rbp + 0x1d8]
test rdi, rdi
je 0x140011149
mov rax, qword [rbp + 0x1d0]
lea rcx, [rdi - 1]
mov dl, byte [rax]
inc rax
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], rcx
cmp dl, 0x3a
jne 0x140011149
lea rcx, [rbp + 0x1d0]
mov edx, 0xa
xor r8d, r8d
call fcn.14002ec40
cmp ax, 1
jne 0x14001114b
mov rdi, qword [rbp + 0x1d8]
jmp 0x140011154
xor eax, eax
test ax, ax
je 0x1400111fe
test rdi, rdi
jne 0x140011687
mov qword [rbp + 0x438], r14
movabs rax, 0xffffffff00
and rsi, rax
shr rsi, 8
shl rsi, 0x10
movzx edi, dx
lea rbx, [rdi + rsi]
shr rbx, 8
xor r13d, r13d
mov ecx, 0x20
mov edx, 4
call fcn.140003ac0
test rax, rax
je 0x140011e89
mov r14, rax
mov word [rax], r13w
mov rax, rbx
shl rax, 8
movzx ecx, dil
or rcx, rax
shr rbx, 0x18
mov word [r14 + 6], bx
mov dword [r14 + 2], ecx
mov dword [r14 + 8], esi
mov word [r14 + 0xc], r12w
movdqu xmmword [r14 + 0xe], xmm6
mov ecx, 1
movzx esi, word [r14]
cmp si, 2
jne 0x1400113d0
movups xmm0, xmmword [rbp - 0x50]
mov rax, qword [rbp + 0x438]
movups xmmword [rax + 8], xmm0
mov qword [rax], 7
jmp 0x140011e4e
test rbx, rbx
je 0x140011687
lea rsi, [r13 + 1]
lea rdi, [rbx - 1]
mov al, byte [r13]
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], rdi
cmp al, 0x5b
jne 0x140011687
pxor xmm0, xmm0
lea rdx, [rbp - 0x50]
movdqa xmmword [rdx], xmm0
lea rcx, [rbp + 0x1d0]
mov r8d, 8
call fcn.14002eab0
cmp rax, 8
jne 0x1400112fe
movdqa xmm6, xmmword [rbp - 0x50]
movdqa xmm0, xmm6
psrlw xmm0, 8
psllw xmm6, 8
por xmm6, xmm0
mov r10, qword [rbp + 0x1d0]
mov r11, qword [rbp + 0x1d8]
xor r9d, r9d
test r11, r11
je 0x140011475
cmp byte [r10], 0x25
jne 0x140011619
mov qword [rbp + 0x438], r14
lea r12, [r10 + 1]
lea rcx, [r11 - 1]
xor edi, edi
mov r8d, 0xa
mov qword [rbp + 0x440], rcx
mov qword [rbp + 0x448], r12
xor esi, esi
xor r9d, r9d
mov eax, 0
test rcx, rcx
je 0x1400112da
movzx r14d, byte [r12]
add r14d, 0xffffffd0
xor eax, eax
cmp r14d, 0xa
setb al
jae 0x1400112da
inc r12
dec rcx
cmp eax, 1
jne 0x140011562
mov eax, esi
mul r8d
jo 0x140011533
mov esi, eax
add esi, r14d
jb 0x140011533
dec rdi
jmp 0x1400112b6
test dl, 1
jne 0x1400113bd
mov rcx, qword [rbp + 0x1d8]
test rcx, rcx
je 0x1400113bd
mov rdx, qword [rbp + 0x1d0]
cmp byte [rdx], 0x3a
jne 0x1400113bd
cmp rcx, 1
je 0x1400113bd
add rcx, 0xfffffffffffffffe
mov r8b, byte [rdx + 1]
add rdx, 2
mov qword [rbp + 0x1d0], rdx
mov qword [rbp + 0x1d8], rcx
cmp r8b, 0x3a
jne 0x1400113bd
xor ecx, ecx
mov qword [rbp + 0x416], rcx
mov qword [rbp + 0x410], rcx
mov r8d, 7
sub r8, rax
jb 0x140011e9a
lea rcx, [rbp + 0x1d0]
lea rdx, [rbp + 0x410]
call fcn.14002eab0
mov ecx, 8
sub rcx, rax
jb 0x140011eae
cmp rax, 8
je 0x140011ec1
lea rcx, [rcx*2 - 0x50]
add rcx, rbp
add rax, rax
lea rdx, [rbp + 0x410]
mov r8, rax
call fcn.1400356d0
jmp 0x140011251
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], rdi
jmp 0x140011687
mov qword [rbp + 0x440], rcx
mov r13d, dword [r14 + 8]
movzx r12d, word [r14 + 0xc]
movzx eax, word [r14 + 0xe]
mov ecx, dword [r14 + 2]
mov qword [rbp + 0x448], rcx
movzx ebx, word [r14 + 6]
mov word [rbp + 0x400], ax
mov rax, qword [r14 + 0x10]
mov rcx, qword [r14 + 0x16]
mov qword [rbp + 0x402], rax
mov qword [rbp + 0x408], rcx
movzx eax, word [r14 + 0x1e]
mov word [rbp + 0x430], ax
mov rax, qword [r15 + 0x138]
lea rdx, [rbp - 0x50]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [r15 + 0x128]
movaps xmmword [rdx], xmm0
lea rdi, [rbp + 0x1d0]
mov rcx, rdi
call fcn.140019120
mov rax, qword [rdi]
cmp rax, 2
jne 0x14001147a
mov rax, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x438]
mov qword [rcx], 1
mov qword [rcx + 8], rax
mov rcx, qword [rbp + 0x440]
jmp 0x140011e4e
jmp 0x140011619
shl r12, 0x20
or r12, r13
shl rbx, 0x20
add rbx, qword [rbp + 0x448]
mov r15, r12
shr r15, 0x20
cmp eax, 1
jne 0x14001153f
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x448], rax
mov eax, dword [rbp + 0x1e0]
mov dword [rbp + 0x430], eax
mov rax, qword [0x140061c48]
cmp rax, 3
jne 0x1400119d0
lea rdi, [rbp - 0x50]
mov rcx, rdi
mov edx, esi
call fcn.14002fb40
cmp qword [rdi], 0
mov r13, qword [rdi + 8]
jne 0x140011e35
lea r8, [rbp - 0x50]
mov dword [r8], 1
mov rcx, r13
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x140011906
mov rdi, rbx
shr rdi, 0x10
test si, si
je 0x140011925
rol r15w, 8
mov r8d, 0x1c
mov cx, 0x17
movaps xmm0, xmmword [rbp + 0x400]
mov ebx, r15d
jmp 0x140011936
mov r14, qword [rbp + 0x438]
jmp 0x140011603
mov dword [rbp - 0x50], r12d
mov word [rbp - 0x4c], r15w
movaps xmm0, xmmword [rbp + 0x400]
movups xmmword [rbp - 0x4a], xmm0
cmp si, 3
jne 0x140011588
mov r13, qword [rbp - 0x50]
jmp 0x140011e35
test rdi, rdi
mov r14, qword [rbp + 0x438]
je 0x140011600
mov r9d, 1
mov qword [rbp + 0x440], rcx
mov qword [rbp + 0x448], r12
jmp 0x140011603
lea r8, [rbp - 0x50]
mov rax, qword [r8 + 0xe]
mov qword [rbp + 0x1de], rax
movups xmm0, xmmword [r8]
movaps xmmword [rbp + 0x1d0], xmm0
mov word [r8], si
mov rax, rbx
shr rax, 0x20
mov word [r8 + 6], ax
mov dword [r8 + 2], ebx
movaps xmm0, xmmword [rbp + 0x1d0]
movups xmmword [r8 + 8], xmm0
mov rax, qword [rbp + 0x1de]
mov qword [r8 + 0x16], rax
movzx eax, word [rbp + 0x430]
mov word [r8 + 0x1e], ax
lea rsi, [rbp + 0x410]
mov rcx, rsi
xor edx, edx
call fcn.1400347d0
cmp qword [rsi], 0
je 0x1400118fa
mov r13, qword [rbp + 0x418]
jmp 0x140011e35
xor r9d, r9d
cmp r9d, 1
jne 0x140011619
mov r10, qword [rbp + 0x448]
mov r11, qword [rbp + 0x440]
jmp 0x140011620
test r9d, r9d
cmove esi, r9d
test r11, r11
je 0x140011687
cmp byte [r10], 0x5d
jne 0x140011687
mov rdi, r11
dec rdi
je 0x140011677
add r11, 0xfffffffffffffffe
mov al, byte [r10 + 1]
add r10, 2
mov qword [rbp + 0x1d0], r10
mov qword [rbp + 0x1d8], r11
cmp al, 0x3a
jne 0x140011677
lea rcx, [rbp + 0x1d0]
mov edx, 0xa
xor r8d, r8d
call fcn.14002ec40
mov r12d, edx
cmp ax, 1
jne 0x140011679
mov rdi, qword [rbp + 0x1d8]
jmp 0x14001167e
xor eax, eax
test ax, ax
je 0x140011687
test rdi, rdi
je 0x14001185c
lea r12, str.invalid_socket_address
mov rdi, rbx
mov cl, 0x3a
mov rdx, r13
mov r8, rdi
call fcn.140009bd0
cmp rax, 1
jne 0x1400116c1
mov rdi, rdx
mov rcx, rdx
inc rcx
je 0x1400116bc
cmp rbx, rcx
jb 0x1400116bc
cmp byte [r13 + rdi], 0x3a
je 0x140011707
cmp rdi, rbx
jbe 0x140011691
mov qword [r14], 1
mov qword [r14 + 8], r12
cmp qword [rbp + 0x3e8], 0
je 0x1400116ec
mov r8, qword [rbp + 0x3e0]
mov rcx, qword [0x140061c40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm6, xmmword [rbp + 0x460]
add rsp, 0x4f8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r12, str.invalid_port_value
sub rbx, rcx
je 0x1400116c1
add rcx, r13
movzx eax, byte [rcx]
cmp eax, 0x2d
je 0x14001172d
cmp eax, 0x2b
jne 0x140011733
dec rbx
je 0x1400116c1
inc rcx
jmp 0x140011733
cmp rbx, 1
je 0x1400116c1
mov qword [rbp + 0x438], r14
cmp rbx, 5
jae 0x1400117b3
xor eax, eax
xor r14d, r14d
movzx edx, byte [rcx + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x1400117f1
add r14d, r14d
lea r14d, [r14 + r14*4]
add r14d, edx
inc rax
cmp rbx, rax
jne 0x140011745
mov rax, qword [0x140061c48]
cmp rax, 3
jne 0x14001191b
lea r12, [rbp - 0x50]
mov rcx, r12
mov rdx, r13
mov r8, rdi
call fcn.140003f40
mov r8, qword [r12 + 8]
test r8, r8
je 0x1400117fd
cmp qword [rbp - 0x40], 0
lea r12, str.data_provided_contains_a_nul_byte
je 0x1400117f1
mov rcx, qword [0x140061c40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400117f1
xor r9d, r9d
mov r8w, 0xa
xor r14d, r14d
cmp rbx, r9
je 0x140011767
mov eax, r14d
mul r8w
movzx edx, byte [rcx + r9]
seto r10b
add edx, 0xffffffd0
cmp edx, 0xa
cmovb esi, edx
jae 0x1400117f1
test r10b, r10b
jne 0x1400117f1
mov r14d, eax
inc r9
add r14w, si
mov esi, edx
jae 0x1400117be
mov r14, qword [rbp + 0x438]
jmp 0x1400116c1
lea r8, [rbp - 0x50]
mov r12, qword [r8 + 0x10]
mov rsi, qword [r8 + 0x18]
pxor xmm0, xmm0
movdqa xmmword [r8], xmm0
movdqa xmmword [r8 + 0x20], xmm0
movdqa xmmword [r8 + 0x10], xmm0
mov dword [r8 + 8], 1
lea r9, [rbp + 0x1d0]
mov qword [r9], 0
mov rcx, r12
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
mov ebx, eax
test eax, eax
je 0x140011871
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x440], rax
jmp 0x14001187f
mov qword [rbp + 0x438], r14
mov r13w, 1
xor edi, edi
xor ebx, ebx
jmp 0x140011187
mov rdi, qword [rbp + 0x1d0]
mov qword [rbp + 0x440], rdi
mov byte [r12], 0
test rsi, rsi
je 0x14001189b
mov rcx, qword [0x140061c40]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
test ebx, ebx
je 0x1400118b2
mov r14, qword [rbp + 0x438]
mov r12, qword [rbp + 0x440]
jmp 0x1400116c1
test rdi, rdi
mov rcx, qword [rbp + 0x440]
je 0x1400118e4
mov rbx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x20]
mov rdi, qword [rdi + 0x28]
movzx edx, word [rax]
cmp edx, 0x17
je 0x140011a07
cmp edx, 2
je 0x1400119da
test rdi, rdi
jne 0x1400118be
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
mov r14d, 4
xor r13d, r13d
xor ecx, ecx
jmp 0x140011c2d
mov r13, qword [rbp + 0x418]
jmp 0x140011e6e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x140011e29
call fcn.140044660
jmp 0x140011778
rol bx, 8
xorps xmm0, xmm0
mov r8d, 0x10
mov cx, 2
lea rdx, [rbp - 0x50]
mov word [rdx], cx
mov word [rdx + 2], bx
mov dword [rdx + 4], edi
movups xmmword [rdx + 8], xmm0
mov dword [rdx + 0x18], r12d
mov rcx, r13
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14001195e
xor edi, edi
jmp 0x14001196e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
lea r8, [rbp - 0x50]
mov dword [r8], 0
mov rcx, r13
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400119b4
test rdi, rdi
je 0x140011e6e
mov r12d, edi
and r12d, 3
lea rax, [0x140012110]
movsxd rcx, dword [rax + r12*4]
add rcx, rax
jmp rcx
mov al, byte [rdi + 0x10]
jmp 0x140011c5e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov r12d, edi
and r12d, 3
jmp 0x140011d8c
call fcn.140044660
jmp 0x1400114c7
cmp rbx, 0x10
jb 0x140011f25
movzx r13d, word [rax + 2]
rol r13w, 8
mov esi, dword [rax + 4]
mov r12b, 1
lea rbx, str.invalid_argument
mov dword [rbp + 0x448], 0
jmp 0x140011a56
cmp rbx, 0x1c
jb 0x140011f46
movzx ecx, word [rax + 2]
mov esi, dword [rax + 4]
mov edx, dword [rax + 0x18]
rol cx, 8
movzx ecx, cx
shl rcx, 0x20
or rcx, rdx
mov ebx, dword [rax + 8]
shl rbx, 0x30
or rbx, rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x1d6], rcx
mov rax, qword [rax + 0xa]
mov qword [rbp + 0x1d0], rax
mov ax, 1
mov dword [rbp + 0x448], eax
xor r12d, r12d
mov rax, qword [rbp + 0x1d0]
mov qword [rbp + 0x410], rax
mov eax, dword [rbp + 0x1d8]
mov dword [rbp + 0x418], eax
movzx eax, word [rbp + 0x1dc]
mov word [rbp + 0x41c], ax
movzx eax, word [rbp + 0x1de]
mov word [rbp + 0x41e], ax
mov ecx, 0x80
mov edx, 4
call fcn.140003ac0
test rax, rax
je 0x140011ed9
mov rcx, rbx
shr rcx, 0x30
mov rdx, rbx
shr rdx, 0x20
test r12b, r12b
cmove edx, r14d
cmovne r13d, r14d
mov word [rax + 0xe], cx
movaps xmm0, xmmword [rbp + 0x410]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [rbp + 0x448]
mov word [rax], cx
mov word [rax + 2], r13w
mov dword [rax + 4], esi
mov dword [rax + 8], ebx
mov word [rax + 0xc], dx
lea r8, [rbp - 0x50]
mov qword [r8], rax
movdqa xmm0, xmmword [0x1400456b0]
movdqu xmmword [r8 + 8], xmm0
mov r13d, 1
test rdi, rdi
mov rcx, qword [rbp + 0x440]
je 0x140011c1f
mov rdx, rdi
mov rsi, qword [rdx + 0x20]
mov rdi, qword [rdx + 0x28]
movzx ebx, word [rsi]
cmp ebx, 0x17
je 0x140011b6f
cmp ebx, 2
je 0x140011b34
mov rdx, rdi
test rdi, rdi
jne 0x140011b12
jmp 0x140011c1f
cmp qword [rdx + 0x10], 0x10
jb 0x140011ef1
mov ecx, dword [rsi + 4]
mov dword [rbp + 0x448], ecx
lea rcx, str.invalid_argument
mov rbx, rcx
shr rbx, 0x20
mov r12, rcx
shr r12, 0x30
mov dword [rbp + 0x428], 0
mov dword [rbp + 0x430], ecx
jmp 0x140011bb4
cmp qword [rdx + 0x10], 0x1b
jbe 0x140011f0b
mov ecx, dword [rsi + 4]
mov dword [rbp + 0x448], ecx
mov ecx, dword [rsi + 0x18]
mov dword [rbp + 0x430], ecx
movzx r12d, word [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rbp + 0x1d6], rdx
mov rcx, qword [rsi + 0xa]
mov qword [rbp + 0x1d0], rcx
mov cx, 1
mov dword [rbp + 0x428], ecx
mov ebx, r14d
cmp r13, qword [rbp - 0x48]
jne 0x140011bcf
mov rsi, r8
mov rcx, r8
mov rdx, r13
call fcn.140044590
mov rax, qword [rbp - 0x50]
mov r8, rsi
mov rcx, r13
shl rcx, 5
mov edx, dword [rbp + 0x428]
mov word [rax + rcx], dx
mov word [rax + rcx + 2], r14w
mov edx, dword [rbp + 0x448]
mov dword [rax + rcx + 4], edx
mov edx, dword [rbp + 0x430]
mov dword [rax + rcx + 8], edx
mov word [rax + rcx + 0xc], bx
mov word [rax + rcx + 0xe], r12w
movdqu xmm0, xmmword [rbp + 0x1d0]
movdqu xmmword [rax + rcx + 0x10], xmm0
inc r13
mov qword [rbp - 0x40], r13
jmp 0x140011aff
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
mov r14, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
shl r13, 5
jne 0x1400111d5
jmp 0x1400111e3
mov rcx, rdi
shr rcx, 0x20
call fcn.140024680
jmp 0x140011c5e
mov rax, rdi
shr rax, 0x20
cmp eax, 0xd
je 0x140011c66
jmp 0x140011e29
mov al, byte [rdi + 0xf]
cmp al, 0xd
jne 0x140011e29
cmp qword [rbp + 0x448], 0
jne 0x140011c85
cmp dword [rbp + 0x430], 0
jne 0x140011c85
lea rsi, str.cannot_set_a_0_duration_timeout
jmp 0x140011d8c
mov ecx, dword [rbp + 0x430]
mov eax, ecx
imul rax, rax, 0x10624dd3
shr rax, 0x26
lea r15, [rbp + 0x410]
mov rsi, qword [rbp + 0x448]
mov dword [r15], esi
cmp ecx, 0x3e8
mov ecx, 1
mov edx, eax
cmovb edx, ecx
test esi, esi
cmovne edx, eax
mov dword [r15 + 4], edx
mov esi, 1
lea rcx, [rbp + 0x1e0]
mov qword [rcx - 0x10], rsi
mov qword [rcx - 8], r13
mov r8d, 0x1f8
xor edx, edx
call fcn.140036410
lea rcx, [rbp - 0x40]
mov qword [rcx - 0x10], rsi
mov qword [rcx - 8], r13
mov r8d, 0x1f8
xor edx, edx
call fcn.140036410
mov qword [rsp + 0x20], r15
lea r8, [rbp + 0x1d0]
lea r9, [rbp - 0x50]
mov ecx, 1
xor edx, edx
call qword [sym.imp.ws2_32.dll_select]
test eax, eax
je 0x140011d34
cmp eax, 0xffffffff
jne 0x140011d3d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x140011d8c
lea rsi, str.connection_timed_out
jmp 0x140011d48
cmp dword [rbp + 0x1d0], 1
jne 0x140011d77
xor esi, esi
cmp r12d, 1
jne 0x140011e21
mov qword [rbp + 0x448], r13
lea rax, [rdi - 1]
mov qword [rbp + 0x430], rax
mov rcx, qword [rdi - 1]
mov rax, qword [rdi + 7]
mov qword [rbp + 0x428], rdi
call qword [rax]
jmp 0x140011dc2
mov rcx, r13
call fcn.14002fc50
mov rsi, rdx
test rax, rax
jne 0x140011d8c
test rsi, rsi
je 0x140011d46
test rdi, rdi
je 0x140011e21
cmp r12d, 1
jne 0x140011e21
mov qword [rbp + 0x448], r13
lea rax, [rdi - 1]
mov qword [rbp + 0x430], rax
mov rcx, qword [rdi - 1]
mov rax, qword [rdi + 7]
mov qword [rbp + 0x428], rdi
call qword [rax]
mov rax, qword [rbp + 0x428]
mov rax, qword [rax + 7]
cmp qword [rax + 8], 0
je 0x140011e01
mov rdi, qword [rbp + 0x430]
mov r8, qword [rdi]
cmp qword [rax + 0x10], 0x11
mov r13, qword [rbp + 0x448]
jb 0x140011df0
mov r8, qword [r8 - 8]
mov rcx, qword [0x140061c40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140011e0f
mov r13, qword [rbp + 0x448]
mov rdi, qword [rbp + 0x430]
mov rcx, qword [0x140061c40]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, rsi
test rsi, rsi
je 0x140011e6e
mov rcx, r13
call qword [sym.imp.ws2_32.dll_closesocket]
mov r13, rdi
mov rcx, qword [rbp + 0x440]
mov rax, qword [rbp + 0x438]
mov qword [rax], 1
mov qword [rax + 8], r13
test rcx, rcx
je 0x1400116cc
mov rcx, qword [0x140061c40]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400116cc
mov rcx, qword [rbp + 0x440]
mov rax, qword [rbp + 0x438]
mov qword [rax + 8], r13
mov qword [rax], 0x14
jmp 0x140011e4e
mov ecx, 0x20
mov edx, 4
call fcn.140042f60
ud2
lea rax, [0x140051de8]
mov edx, 7
mov rcx, r8
mov r8, rax
jmp 0x140011ed2
lea r8, [0x140051e00]
mov edx, 8
call fcn.1400431c0
ud2
lea r8, [0x140051e18]
mov ecx, 8
mov edx, 7
call fcn.140043100
ud2
mov byte [rbp + 0x457], 1
mov ecx, 0x80
mov edx, 4
call fcn.140042f60
jmp 0x140011f65
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x1400538d8]
mov edx, 0x42
call fcn.140043110
jmp 0x140011f65
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x140053878]
mov edx, 0x43
call fcn.140043110
jmp 0x140011f65
mov byte [rbp + 0x457], 1
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x1400538d8]
mov edx, 0x42
call fcn.140043110
jmp 0x140011f65
mov byte [rbp + 0x457], 1
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x140053878]
mov edx, 0x43
call fcn.140043110
ud2