Function at 0x14001a6e0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, WSACleanup
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14003ad50]
xor rax, rbp
mov qword [rbp + 0x188], rax
mov rax, qword [0x14003b0d8]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14001a728
xor eax, eax
jmp 0x14001a976
mov rax, qword [rbp + 8]
mov r8d, 4
mov rdx, rax
lea rcx, [rbp + 0x24]
call fcn.140011659
mov byte [rbp + 0x64], 0
jmp 0x14001a74d
movzx eax, byte [rbp + 0x64]
inc al
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0xff
jge 0x14001a91f
mov eax, 1
imul rax, rax, 3
movzx ecx, byte [rbp + 0x64]
mov byte [rbp + rax + 0x24], cl
mov r8d, 4
lea rdx, [rbp + 0x24]
lea rcx, [rbp + 0x44]
call fcn.140011659
mov edx, 0x40
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x14001a7a6
jmp 0x14001a91f
mov rax, qword [rbp + 0x88]
mov ecx, dword [rbp + 0x44]
mov dword [rax + 0x28], ecx
mov rax, qword [rbp + 0x88]
mov byte [rax + 0x2c], 2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rcx, qword [rbp + 0x88]
mov qword [rcx + 0x20], rax
mov rax, qword [rbp + 0x88]
cmp qword [rax + 0x20], 0xffffffffffffffff
jne 0x14001a812
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14001a744
mov edx, 0x10
lea rcx, [rbp + 0xa8]
call fcn.140011140
mov eax, 2
mov word [rbp + 0xa8], ax
xor eax, eax
mov word [rbp + 0xaa], ax
mov dword [rbp + 0xac], 0
mov r8d, setsockopt
lea rdx, [rbp + 0xa8]
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x14001a887
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14001a744
xor r9d, r9d
mov r8d, 2
mov rdx, qword [0x14003b0a8]
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x14001a8d0
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14001a744
mov rax, qword [rbp + 0x88]
mov qword [rax + 0x30], 0
mov rax, qword [rbp + 0x88]
mov rcx, qword [0x14003b100]
mov qword [rax + 0x38], rcx
mov rax, qword [0x14003b100]
mov rcx, qword [rbp + 0x88]
mov qword [rax], rcx
mov rax, qword [rbp + 0x88]
add rax, 0x30
mov qword [0x14003b100], rax
xor eax, eax
test eax, eax
jne 0x14001a8d0
jmp 0x14001a744
mov rax, qword [rbp + 8]
cmp qword [rax + 8], 0
je 0x14001a940
mov rax, qword [rbp + 8]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 0x10], rcx
jmp 0x14001a94f
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x10]
mov qword [0x14003b0e0], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
xor eax, eax
test eax, eax
jne 0x14001a91f
mov rcx, qword [rbp + 8]
call fcn.14001107d
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14001141f
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.140011974
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret