Function at 0x140093426
Capabilities:
Connect socket
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa18
movaps xmmword [rsp + 0xa00], xmm6
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xd0], r9
mov rbx, qword [rdx + 0x68]
mov esi, dword [rbx + 0x18]
cmp esi, 0x3b9aca00
jne 0x14009347c
mov rax, qword [r13 + 0x58]
mov qword [rsp + 0xe8], rax
mov eax, dword [r13 + 0x60]
mov dword [rsp + 0x50], eax
jmp 0x14009349f
mov rdi, qword [rbx + 0x10]
call fcn.140058bc0
mov rcx, rax
mov r8, rdi
mov r9d, esi
call fcn.140078220
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x50], edx
lea rdx, [rbx + 0x50]
lea rsi, [rsp + 0x160]
mov rcx, rsi
call fcn.14008292a
cmp byte [rsi + 0x4c], 4
lea r15, [rsp + 0xc8]
lea rbp, [0x140012866]
jne 0x140093518
lea rax, [rsp + 0x5e0]
mov qword [rax], r15
mov qword [rax + 8], rbp
lea rcx, [rsp + 0xa80]
mov qword [rax + 0x10], rcx
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea rdx, [rsp + 0x368]
mov qword [rdx], rcx
mov ecx, 2
mov qword [rdx + 8], rcx
and qword [rdx + 0x20], 0
lea r8, [0x14000cf60]
mov qword [rax + 0x18], r8
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
jmp 0x14009356d
lea rax, [rsp + 0x1a8]
lea rcx, [rsp + 0x5e0]
mov qword [rcx], rsi
lea rdx, [0x1400345e7]
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rax
lea rax, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea rdx, [rsp + 0x368]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
lea r8, [0x14000d060]
mov qword [rcx + 0x18], r8
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rsi, [rsp + 0x260]
mov rcx, rsi
call fcn.14008bb16
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x90], xmm0
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xa0], rax
mov rcx, qword [r13 + 0x70]
mov rax, qword [rcx + 0x10]
lock inc qword [rax]
jle 0x140094906
mov r10, qword [rcx + 0x18]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], r10
mov rcx, qword [r10 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
lea rdx, [rcx + rax]
add rdx, 0x10
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0xa0]
lea rsi, [rsp + 0x1b0]
mov rcx, rsi
call qword [r10 + 0x18]
cmp qword [rsi], 0
je 0x140093622
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x5f8], rax
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rsp + 0x5e8], xmm0
mov dword [rsp + 0x5e0], 3
jmp 0x1400936bd
mov rsi, qword [rsp + 0x1b8]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x120]
mov qword [rcx], rax
lea rax, str.resolve_dns_name_
lea rdx, [rsp + 0x260]
mov qword [rdx], rax
lea rax, [0x1400345e7]
mov qword [rdx + 8], 2
and qword [rdx + 0x20], 0
mov qword [rcx + 8], rax
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], 1
lea rdi, [rsp + 0x3c8]
mov rcx, rdi
call fcn.14008bb16
mov eax, 2
mov dword [rdi - 0x58], eax
and qword [rdi + 0x18], 0
mov byte [rdi + 0x28], 2
mov dword [rdi - 0x60], eax
lea rdi, [rsp + 0x5e0]
lea rdx, [rsp + 0x368]
mov rcx, rdi
mov r8, rsi
call fcn.14008d6f4
mov esi, dword [rdi]
cmp esi, 3
jne 0x140093f14
mov qword [rsp + 0xd8], rbx
mov r14, qword [rsp + 0x5e8]
mov rbx, qword [rsp + 0x5f0]
mov rsi, qword [rsp + 0x5f8]
lea rcx, [rsp + 0xb0]
call fcn.14007e451
test rsi, rsi
je 0x140093e3e
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x80], r13
lea rax, [r13 + 0x70]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x68]
and qword [rax], 0
lea rax, [rsp + 0x160]
movzx eax, byte [rax + 0x4c]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x158], rsi
mov r15, rsi
shl r15, 5
add r15, r14
mov qword [rsp + 0x260], r14
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], r14
mov qword [rsp + 0x278], r15
lea rbx, [rsp + 0x378]
xor edi, edi
lea rax, [rsp + 0x5e0]
lea rcx, str.No_ip_address_for
lea rsi, [rsp + 0x368]
mov qword [rsi], rcx
mov ecx, 1
mov qword [rsi + 8], rcx
and qword [rsi + 0x20], 0
mov qword [rax], r15
mov qword [rax + 8], rbp
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rcx
lea rdi, [rsp + 0x7e8]
mov rcx, rdi
mov rdx, rsi
call fcn.14008bb16
movups xmm0, xmmword [rdi]
movups xmmword [rsi + 0x54], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x64], rax
mov eax, 2
mov dword [r12], eax
mov dword [r12 + 8], eax
lea rdi, [r12 + 0xc]
lea rsi, [rsp + 0x368]
mov ecx, 0x1b
rep movsd dword [rdi], dword [rsi]
and qword [r12 + 0x78], 0
mov byte [r12 + 0x88], 2
mov rcx, r14
mov rdx, rbx
call fcn.14007df36
jmp 0x14009415e
lea rdx, [rsp + 0x600]
mov edi, dword [rdx - 0x1c]
movups xmm6, xmmword [rdx - 0x18]
mov rbx, qword [rdx - 8]
lea rcx, [r12 + 0x20]
mov r8d, 0xf0
call sub.msvcrt.dll_memcpy
mov dword [r12 + 4], edi
movups xmmword [r12 + 8], xmm6
mov qword [r12 + 0x18], rbx
mov dword [r12], esi
lea rcx, [rsp + 0xb0]
call fcn.14007e451
jmp 0x14009415e
ud2