Function at 0x140092be0
Capabilities:
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14015d460]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, rcx
lea rdx, [rsp + 0x70]
xor esi, esi
mov ecx, 0x202
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [rsi + 0x40]
call qword [0x140118b70]
mov rbx, rax
test rax, rax
je 0x140092de4
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], rsi
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], rsi
mov qword [rax + 0x10], 0xffffffffffffffff
mov rax, qword [rdi]
mov qword [rbx + 8], rax
mov rax, qword [rdi + 8]
mov qword [rbx + 0x18], rax
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140092c97
lea r8, [rsp + 0x38]
lea rdx, [0x14013bb94]
call fcn.140091f10
cmp eax, 1
mov ecx, esi
cmove ecx, dword [rsp + 0x38]
jmp 0x140092c9c
mov ecx, 0x7530
mov eax, ecx
mov qword [rbx + 0x28], rax
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140092cc5
lea r8, [rsp + 0x38]
lea rdx, [0x14013bb94]
call fcn.140091f10
cmp eax, 1
mov eax, dword [rsp + 0x38]
je 0x140092cc7
mov eax, esi
mov qword [rbx + 0x38], rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140092cee
lea r8, [rsp + 0x38]
lea rdx, [0x14013bb94]
call fcn.140091f10
cmp eax, 1
mov eax, dword [rsp + 0x38]
je 0x140092cf0
mov eax, esi
mov qword [rbx + 0x30], rax
lea r9, [rsp + 0x30]
mov rdx, qword [rdi + 0x18]
lea r8, [rsp + 0x40]
mov rcx, qword [rdi + 0x10]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov dword [rsp + 0x6c], esi
movdqu xmmword [rsp + 0x4c], xmm0
mov dword [rsp + 0x44], esi
movdqu xmmword [rsp + 0x5c], xmm1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140092de4
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0xc]
mov edx, dword [rax + 8]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x10], rax
cmp rax, 0xffffffffffffffff
je 0x140092de4
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], 1
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [rsp + 0x3c], 1
lea r9, [rsp + 0x3c]
mov rcx, qword [rbx + 0x10]
mov edx, 0xffff
mov r8d, 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x140092de4
mov rcx, qword [rbx + 0x10]
mov edx, 0x3ff
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
jne 0x140092de4
mov rcx, qword [rsp + 0x30]
call qword [0x1401189c8]
mov rax, rbx
jmp 0x140092e33
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140092df4
call qword [0x1401189c8]
test rbx, rbx
je 0x140092e31
mov rcx, qword [rbx]
test rcx, rcx
je 0x140092e18
mov rax, qword [rcx + 0xa0]
mov qword [rbx], rax
call fcn.1400925f0
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140092e01
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x140092e28
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbx
call qword [0x140118b48]
xor eax, eax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140106d80
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret