Function at 0x140010628
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, 0x4e8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x460], 0xfffffffffffffffe
mov rax, qword [rdx]
mov rdi, qword [rdx + 0x10]
mov ebx, dword [rdx + 0x118]
test ebx, ebx
mov qword [rbp + 0x450], rcx
mov qword [rbp + 0x440], rdx
je 0x140010679
cmp ebx, 1
jne 0x140010680
mov edx, 0x1bb
jmp 0x140010686
mov edx, 0x50
jmp 0x140010686
mov edx, dword [rdx + 0x11c]
lea rbx, [rbp - 0x50]
mov qword [rbx], rax
mov qword [rbx + 8], rdi
lea rax, [rbp + 0x3fc]
mov dword [rax], edx
lea rdi, [rbp + 0x1d0]
mov qword [rdi], rbx
lea rcx, [0x140005da0]
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rax
lea rax, [0x140007000]
mov qword [rdi + 0x18], rax
lea rax, [0x1400504e0]
lea rdx, [rbp - 0x40]
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.140003c10
mov r14, qword [rsi]
mov r15, qword [rsi + 0x10]
mov qword [rdi], r14
mov qword [rdi + 8], r15
lea rcx, [rbp + 0x1d0]
call fcn.14002ec10
mov r13, rax
test r13d, r13d
je 0x1400107ad
mov r9, qword [rbp + 0x1d8]
test r9, r9
je 0x14001079f
mov r11, qword [rbp + 0x1d0]
cmp byte [r11], 0x3a
jne 0x14001079f
lea r8, [r9 - 1]
inc r11
xor ebx, ebx
mov r10w, 0xa
mov rsi, r8
xor edi, edi
mov eax, 0
test rsi, rsi
je 0x140010767
movzx ecx, byte [r11]
add ecx, 0xffffffd0
xor eax, eax
cmp ecx, 0xa
setb al
jae 0x140010767
inc r11
dec rsi
cmp eax, 1
jne 0x14001096e
mov eax, edi
mul r10w
jo 0x14001097c
mov edi, eax
add di, cx
setb dl
xor eax, eax
cmp ecx, 0xffff
ja 0x14001097e
test dl, dl
jne 0x14001097e
dec rbx
jmp 0x140010746
xor eax, eax
mov r8, r9
test ax, ax
jne 0x140010988
test r15, r15
je 0x140010991
lea rsi, [r14 + 1]
lea rdi, [r15 - 1]
mov al, byte [r14]
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], rdi
cmp al, 0x5b
jne 0x140010991
pxor xmm0, xmm0
lea rdx, [rbp - 0x40]
movdqa xmmword [rdx], xmm0
lea rcx, [rbp + 0x1d0]
mov r8d, 8
call fcn.14002f400
cmp rax, 8
jne 0x1400108a1
movdqa xmm0, xmmword [rbp - 0x40]
movdqa xmm1, xmm0
psrlw xmm1, 8
psllw xmm0, 8
por xmm0, xmm1
mov r8, qword [rbp + 0x1d0]
mov r11, qword [rbp + 0x1d8]
xor ebx, ebx
test r11, r11
je 0x140010b4c
cmp byte [r8], 0x25
jne 0x140010d75
lea rsi, [r11 - 1]
lea r10, [r8 + 1]
xor ecx, ecx
mov r13d, 0xa
mov rdi, r10
mov qword [rbp + 0x448], rsi
xor r12d, r12d
xor ebx, ebx
mov eax, 0
test rsi, rsi
je 0x14001087b
movzx r9d, byte [rdi]
add r9d, 0xffffffd0
xor eax, eax
cmp r9d, 0xa
setb al
jae 0x14001087b
inc rdi
dec rsi
cmp eax, 1
jne 0x140010c7e
mov eax, r12d
mul r13d
jo 0x140010d61
mov r12d, eax
add r12d, r9d
jb 0x140010d61
dec rcx
jmp 0x140010858
test dl, 1
jne 0x14001095e
mov rcx, qword [rbp + 0x1d8]
test rcx, rcx
je 0x14001095e
mov rdx, qword [rbp + 0x1d0]
cmp byte [rdx], 0x3a
jne 0x14001095e
cmp rcx, 1
je 0x14001095e
add rcx, 0xfffffffffffffffe
mov bl, byte [rdx + 1]
add rdx, 2
mov qword [rbp + 0x1d0], rdx
mov qword [rbp + 0x1d8], rcx
cmp bl, 0x3a
jne 0x14001095e
xor ecx, ecx
mov qword [rbp + 0x426], rcx
mov qword [rbp + 0x420], rcx
mov r8d, 7
sub r8, rax
jb 0x140011551
lea rcx, [rbp + 0x1d0]
lea rdx, [rbp + 0x420]
call fcn.14002f400
mov ecx, 8
sub rcx, rax
jb 0x14001155b
cmp rax, 8
je 0x140011567
lea rcx, [rcx*2 - 0x40]
add rcx, rbp
add rax, rax
lea rdx, [rbp + 0x420]
mov r8, rax
call fcn.140035120
jmp 0x1400107ff
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], rdi
jmp 0x140010991
xor eax, eax
test rbx, rbx
setne al
cmovne r8, rsi
jmp 0x14001097e
xor eax, eax
cmp ax, 1
jne 0x1400107a1
test r8, r8
je 0x140010a43
lea r13, str.invalid_socket_address
mov rdi, r15
mov cl, 0x3a
mov rdx, r14
mov r8, rdi
call fcn.140009280
cmp rax, 1
jne 0x1400109ca
mov rdi, rdx
mov rcx, rdx
inc rcx
je 0x1400109c5
cmp r15, rcx
jb 0x1400109c5
cmp byte [r14 + rdi], 0x3a
je 0x140010a15
cmp rdi, r15
jbe 0x14001099b
mov rsi, qword [rbp + 0x450]
mov eax, 1
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r13
mov qword [rsi], rax
cmp qword [rbp + 0x3e8], 0
je 0x140010a00
mov r8, qword [rbp + 0x3e0]
mov rcx, qword [0x14005fc80]
xor edx, edx
call sub.kernel32.dll_HeapFree
nop
add rsp, 0x4e8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r13, str.invalid_port_value
sub r15, rcx
je 0x1400109ca
add rcx, r14
mov al, byte [rcx]
cmp al, 0x2d
je 0x140010b51
cmp al, 0x2b
jne 0x140010b5b
dec r15
je 0x1400109ca
inc rcx
jmp 0x140010b5b
rol di, 8
shr r13, 0x20
xor esi, esi
mov bx, 2
xor r14d, r14d
mov ecx, 0x20
mov edx, 4
call fcn.140003a50
test rax, rax
je 0x14001151c
mov r15, rax
mov dword [rax], r14d
mov word [rax + 4], bx
mov word [rax + 6], di
mov dword [rax + 8], r13d
mov qword [rax + 0xc], rsi
mov rax, qword [rbp + 0x448]
mov qword [r15 + 0x14], rax
mov dword [r15 + 0x1c], r12d
mov rdi, r15
add rdi, 0x20
mov r12d, 1
mov rsi, qword [rbp + 0x450]
cmp r15, rdi
je 0x140010ab2
mov eax, dword [r15]
cmp eax, 2
jne 0x140010ac4
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 8], 7
jmp 0x140010b30
mov rcx, qword [r15 + 4]
mov edx, dword [r15 + 0x1c]
mov dword [rbp + 0x420], eax
mov qword [rbp + 0x424], rcx
movups xmm0, xmmword [r15 + 0xc]
movups xmmword [rbp + 0x42c], xmm0
mov dword [rbp + 0x43c], edx
mov rcx, qword [rbp + 0x440]
mov rax, qword [rcx + 0x138]
lea rdx, [rbp + 0x1d0]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rcx + 0x128]
movaps xmmword [rdx], xmm0
lea rdi, [rbp - 0x40]
mov rcx, rdi
call fcn.140018f44
cmp qword [rdi], 0
je 0x140010b98
mov rax, qword [rbp - 0x38]
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], rax
mov qword [rsi], 1
lea rcx, [rbp - 0x40]
mov qword [rcx], r15
mov qword [rcx + 8], r12
call fcn.14001929c
jmp 0x1400109e1
jmp 0x140010d75
cmp r15, 1
je 0x1400109ca
xor ebx, ebx
mov r8w, 0xa
xor r12d, r12d
cmp r15, rbx
je 0x140010be8
movzx esi, byte [rcx + rbx]
add esi, 0xffffffd0
cmp esi, 9
ja 0x1400109ca
mov eax, r12d
mul r8w
jo 0x1400109ca
mov r12d, eax
inc rbx
add r12w, si
jae 0x140010b65
jmp 0x1400109ca
lea rbx, [rbp + 0x424]
cmp qword [rbp - 0x38], 1
jne 0x140010c6f
mov r14, qword [rbp - 0x30]
mov r13d, dword [rbp - 0x28]
mov rax, qword [0x14005fc88]
cmp rax, 3
jne 0x14001126f
mov edx, dword [rbp + 0x420]
lea rdi, [rbp - 0x40]
mov rcx, rdi
call fcn.14002f820
cmp qword [rdi], 0
je 0x140010d00
mov rdi, qword [rbp - 0x38]
jmp 0x1400113df
mov rax, qword [0x14005fc88]
cmp rax, 3
jne 0x140010fdc
mov r13, rdi
inc r13
sete bl
je 0x14001152d
mov edx, 1
mov rcx, r13
call fcn.140003a50
test rax, rax
je 0x140011547
mov r15, rax
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], r13
mov rcx, rax
mov rdx, r14
mov r8, rdi
call fcn.140035120
mov qword [rbp + 0x1e0], rdi
cmp rdi, 0x10
jae 0x140010c98
xor eax, eax
test rdi, rdi
je 0x140010e6d
xor ecx, ecx
cmp byte [r14 + rcx], 0
je 0x140010e68
inc rcx
cmp rdi, rcx
jne 0x140010c57
jmp 0x140010e6d
mov eax, dword [rbp + 0x420]
cmp eax, 2
jne 0x140010cb1
xor eax, eax
jmp 0x140010ced
test rcx, rcx
je 0x140010d5f
mov ebx, 1
mov qword [rbp + 0x448], rsi
jmp 0x140010d64
mov byte [rbp + 0x45e], 1
xor ecx, ecx
mov rdx, r14
mov r8, rdi
call fcn.140009170
jmp 0x140010e6d
lea r8, [rbp - 0x40]
mov dword [r8], eax
movups xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbx + 0xc]
movups xmmword [r8 + 4], xmm0
movdqu xmmword [r8 + 0x10], xmm1
lea rdi, [rbp + 0x1d0]
mov rcx, rdi
xor edx, edx
call fcn.140034240
cmp qword [rdi], 0
je 0x140010fb9
mov rax, qword [rbp + 0x1d8]
test rax, rax
lea rdi, str.could_not_resolve_to_any_addresses
cmovne rdi, rax
jmp 0x1400113df
lea r8, [rbp - 0x40]
mov rdi, qword [r8 + 8]
mov dword [r8], 1
mov rcx, rdi
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
mov qword [rbp + 0x440], rdi
je 0x140010fc7
cmp dword [rbp + 0x420], 0
mov eax, 0x10
mov r8d, 0x1c
cmove r8d, eax
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400111f9
xor edi, edi
jmp 0x140011209
xor ebx, ebx
mov rdi, r10
cmp ebx, 1
jne 0x140010d75
mov r8, rdi
mov r11, qword [rbp + 0x448]
jmp 0x140010d7b
test ebx, ebx
cmove r12d, ebx
test r11, r11
je 0x140010991
cmp byte [r8], 0x5d
jne 0x140010991
mov r9, r11
dec r9
je 0x140010e0b
cmp byte [r8 + 1], 0x3a
jne 0x140010e0b
add r8, 2
add r11, 0xfffffffffffffffe
xor r10d, r10d
mov r13w, 0xa
mov rsi, r8
mov rcx, r11
xor edi, edi
mov eax, 0
test rcx, rcx
je 0x140010dd7
movzx ebx, byte [rsi]
add ebx, 0xffffffd0
xor eax, eax
cmp ebx, 0xa
setb al
jae 0x140010dd7
inc rsi
dec rcx
jmp 0x140010de5
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], rcx
cmp eax, 1
jne 0x140010e1a
mov eax, edi
mul r13w
jo 0x140010e28
mov edi, eax
add di, bx
setb al
cmp ebx, 0xffff
ja 0x140010e28
test al, al
jne 0x140010e28
dec r10
jmp 0x140010db5
xor eax, eax
mov r11, r9
test ax, ax
jne 0x140010e37
jmp 0x140010991
test r10, r10
je 0x140010e28
mov ax, 1
mov r11, rcx
jmp 0x140010e31
mov qword [rbp + 0x1d0], r8
xor eax, eax
cmp ax, 1
jne 0x140010e0d
test r11, r11
jne 0x140010991
pshufd xmm1, xmm0, 0xee
movq rsi, xmm0
rol di, 8
movq qword [rbp + 0x448], xmm1
mov r14d, 1
mov bx, 0x17
xor r13d, r13d
jmp 0x140010a54
mov eax, 1
mov rsi, qword [rbp + 0x450]
test rax, rax
je 0x140010e92
lea r13, str.data_provided_contains_a_nul_byte
test bl, bl
jne 0x1400109d1
mov edi, 1
jmp 0x140010f2a
mov rax, qword [rbp + 0x1e0]
lea rcx, [rbp - 0x40]
mov qword [rcx + 0x10], rax
movdqu xmm0, xmmword [rbp + 0x1d0]
movdqa xmmword [rcx], xmm0
mov byte [rbp + 0x45e], 0
call fcn.140023230
mov r15, rax
mov r14, rdx
pxor xmm0, xmm0
lea r8, [rbp - 0x40]
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, rax
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140010f15
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
mov edi, 1
jmp 0x140010f21
mov rbx, qword [rbp + 0x1d0]
xor edi, edi
mov r13, rbx
mov byte [r15], 0
test r14, r14
je 0x140010f3b
mov rcx, qword [0x14005fc80]
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapFree
test rdi, rdi
jne 0x1400109d1
test rbx, rbx
je 0x140010fa0
lea r14, [rbp - 0x38]
lea rdi, [0x140051b60]
mov qword [rbp + 0x448], r13
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x20]
mov rbx, qword [rbx + 0x28]
movzx edx, word [rax]
cmp dx, 0x17
je 0x140011003
cmp dx, 2
je 0x140010fe6
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x40], 1
mov byte [rbp + 0x45f], 1
mov rcx, r14
call fcn.140024520
test rbx, rbx
mov r13, qword [rbp + 0x448]
jne 0x140010f5b
mov rcx, r13
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
mov r15d, 4
xor edi, edi
xor r12d, r12d
jmp 0x1400111ed
mov rcx, qword [rbp + 0x1d8]
xor eax, eax
jmp 0x1400113ed
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x1400113d2
call fcn.1400439d0
jmp 0x140010bf9
cmp rcx, 0x10
jb 0x1400115c4
mov dword [rbp - 0x3c], 0
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
xor r14d, r14d
jmp 0x14001102c
cmp rcx, 0x1c
jb 0x1400115e5
mov dword [rbp - 0x3c], 1
movups xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0xc]
movdqu xmmword [r14 + 0xc], xmm1
movups xmmword [r14], xmm0
mov r14d, 1
movzx edi, word [rbp - 0x38]
movups xmm0, xmmword [rbp - 0x36]
movaps xmmword [rbp + 0x1d0], xmm0
movups xmm0, xmmword [rbp - 0x2c]
movups xmmword [rbp + 0x1da], xmm0
movups xmm0, xmmword [rbp + 0x1da]
movups xmmword [rbp - 0x36], xmm0
movdqa xmm0, xmmword [rbp + 0x1d0]
movdqa xmmword [rbp - 0x40], xmm0
movzx eax, word [rbp - 0x3e]
mov word [rbp + 0x420], ax
mov eax, dword [rbp - 0x3c]
mov dword [rbp + 0x422], eax
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x426], rax
movzx eax, word [rbp - 0x30]
mov word [rbp + 0x42e], ax
mov rax, qword [rbp - 0x2e]
mov qword [rbp + 0x430], rax
mov ecx, 0x80
mov edx, 4
call fcn.140003a50
test rax, rax
je 0x140011578
rol r12w, 8
mov rcx, qword [rbp + 0x430]
mov qword [rax + 0x18], rcx
movaps xmm0, xmmword [rbp + 0x420]
movups xmmword [rax + 8], xmm0
mov dword [rax], r14d
mov word [rax + 4], di
mov word [rax + 6], r12w
lea r14, [rbp + 0x408]
mov qword [r14], rax
movdqa xmm0, xmmword [0x140044610]
movdqu xmmword [r14 + 8], xmm0
mov edi, 1
test rbx, rbx
je 0x1400111cf
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x20]
mov rbx, qword [rbx + 0x28]
movzx esi, word [rcx]
cmp si, 0x17
je 0x140011129
cmp si, 2
jne 0x1400110ef
cmp rdx, 0x10
jb 0x140011590
mov rsi, qword [rcx]
mov r15, qword [rcx + 8]
xor r13d, r13d
jmp 0x14001114e
cmp rdx, 0x1c
jb 0x1400115aa
mov rsi, qword [rcx]
mov r15, qword [rcx + 8]
mov edx, dword [rcx + 0x18]
mov dword [rbp - 0x38], edx
mov rcx, qword [rcx + 0x10]
mov qword [rbp - 0x40], rcx
mov r13d, 1
mov ecx, dword [rbp - 0x38]
mov dword [rbp + 0x1d8], ecx
mov rcx, qword [rbp - 0x40]
mov qword [rbp + 0x1d0], rcx
cmp qword [rbp + 0x410], rdi
jne 0x14001117d
mov rcx, r14
mov rdx, rdi
call fcn.140043920
mov rax, qword [rbp + 0x408]
mov rcx, rsi
shr rcx, 0x20
mov rdx, rdi
shl rdx, 5
mov dword [rax + rdx], r13d
mov word [rax + rdx + 4], si
mov word [rax + rdx + 6], r12w
mov dword [rax + rdx + 8], ecx
mov qword [rax + rdx + 0xc], r15
mov rcx, qword [rbp + 0x1d0]
mov qword [rax + rdx + 0x14], rcx
mov ecx, dword [rbp + 0x1d8]
mov dword [rax + rdx + 0x1c], ecx
inc rdi
mov qword [rbp + 0x418], rdi
mov r13, qword [rbp + 0x448]
jmp 0x1400110ef
mov rcx, r13
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
mov r15, qword [rbp + 0x408]
mov r12, qword [rbp + 0x410]
mov rsi, qword [rbp + 0x450]
shl rdi, 5
add rdi, r15
jmp 0x140010aa5
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov qword [rbp + 0x400], rdi
lea r8, [rbp - 0x40]
mov dword [r8], 0
mov rcx, qword [rbp + 0x440]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x140011251
test rdi, rdi
je 0x140011279
mov eax, edi
and eax, 3
lea rcx, [0x14001171c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [rdi + 0x10]
jmp case.0x1400112ae.0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rdi, rdi
jne 0x1400113be
jmp 0x1400113ca
call fcn.1400439d0
jmp 0x140010bc3
xor edi, edi
jmp 0x1400113cd
mov rcx, rdi
shr rcx, 0x20
call fcn.1400249d0
jmp case.0x1400112ae.0
mov rcx, rdi
shr rcx, 0x20
cmp ecx, 0x28
ja case.default.0x1400112ae
xor eax, eax
lea rdx, [0x14001172c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov al, 1
jmp case.0x1400112ae.0
mov al, byte [rdi + 0xf]
cmp al, 0xd
jne 0x1400113cd
test r14, r14
jne 0x1400112d5
test r13d, r13d
jne 0x1400112d5
lea rbx, str.cannot_set_a_0_duration_timeout
jmp 0x1400113be
mov eax, r13d
imul rax, rax, 0x10624dd3
shr rax, 0x26
lea rbx, [rbp + 0x408]
mov dword [rbx], r14d
cmp r13d, 0x3e8
mov ecx, 1
mov edx, eax
cmovb edx, ecx
test r14d, r14d
cmovne edx, eax
mov dword [rbx + 4], edx
mov r14, rbx
mov edi, 1
lea rcx, [rbp + 0x1e0]
mov qword [rcx - 0x10], rdi
mov rbx, qword [rbp + 0x440]
mov qword [rcx - 8], rbx
mov r8d, 0x1f8
xor edx, edx
call fcn.140035e60
lea rcx, [rbp - 0x30]
mov qword [rcx - 0x10], rdi
mov qword [rcx - 8], rbx
mov r8d, 0x1f8
xor edx, edx
call fcn.140035e60
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x1d0]
lea r9, [rbp - 0x40]
mov ecx, 1
xor edx, edx
call qword [sym.imp.ws2_32.dll_select]
test eax, eax
je 0x140011383
cmp eax, 0xffffffff
jne 0x14001138c
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x1400113be
lea rdi, str.connection_timed_out
jmp 0x140011397
cmp dword [rbp + 0x1d0], 1
jne 0x1400113a5
xor edi, edi
lea rcx, [rbp + 0x400]
call fcn.140024520
jmp 0x1400113cd
mov rcx, qword [rbp + 0x440]
call fcn.14002f930
mov rbx, rdx
test rax, rax
jne 0x1400113be
test rbx, rbx
je 0x140011395
lea rcx, [rbp + 0x400]
call fcn.140024520
mov rdi, rbx
test rdi, rdi
je 0x1400113f9
mov rcx, qword [rbp + 0x440]
call qword [sym.imp.ws2_32.dll_closesocket]
mov qword [rsi + 0x10], rdi
mov ecx, 1
mov eax, 1
mov qword [rsi + 8], rcx
mov qword [rsi], rax
jmp 0x140010b37
xor eax, eax
mov rcx, qword [rbp + 0x440]
jmp 0x1400113ed
mov al, 0x25
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x23
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x24
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x1b
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x22
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x10
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0xe
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x21
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0xb
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 4
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x28
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0xc
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 9
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x19
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x18
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 2
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0xf
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 3
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 7
jmp case.0x1400112ae.0
mov al, 0x1f
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x11
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x29
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x14
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 5
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x15
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0xd
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 6
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x12
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0xa
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 8
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x1e
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x20
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x16
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x27
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x13
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x17
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x1c
jmp case.0x1400112ae.0
invalid
invalid
invalid
mov al, 0x1d
jmp case.0x1400112ae.0
mov al, 0x26
jmp case.0x1400112ae.0
mov al, 0x1a
jmp case.0x1400112ae.0
mov ecx, 0x20
mov edx, 4
call fcn.1400421c0
ud2
lea rcx, [0x14004f97b]
lea r8, str.library_std_src_ffic_str.rs
mov edx, 0x2b
call fcn.140042340
ud2
mov edx, 1
mov rcx, r13
jmp 0x140011526
mov edx, 7
mov rcx, r8
jmp 0x140011571
mov edx, 8
call fcn.1400423f0
ud2
mov ecx, 8
mov edx, 7
call fcn.140042330
ud2
mov byte [rbp + 0x45f], 1
mov ecx, 0x80
mov edx, 4
call fcn.1400421c0
jmp 0x140011604
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, str.library_std_src_sys_common_net.rsinvalid_argument
mov edx, 0x42
call fcn.140042340
jmp 0x140011604
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsinvalid_argument
mov edx, 0x43
call fcn.140042340
jmp 0x140011604
mov byte [rbp + 0x45f], 1
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, str.library_std_src_sys_common_net.rsinvalid_argument
mov edx, 0x42
call fcn.140042340
jmp 0x140011604
mov byte [rbp + 0x45f], 1
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsinvalid_argument
mov edx, 0x43
call fcn.140042340
ud2