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

Disassembly:
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x180059300]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x88], 0
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x180015a20
jmp 0x180015cae
mov dword [rsp + 0x58], 0x25a207b9
mov eax, 0xddf3
mov word [rsp + 0x5c], ax
mov eax, 0x4660
mov word [rsp + 0x5e], ax
mov byte [rsp + 0x60], 0x8e
mov byte [rsp + 0x61], 0xe9
mov byte [rsp + 0x62], 0x76
mov byte [rsp + 0x63], 0xe5
mov byte [rsp + 0x64], 0x8c
mov byte [rsp + 0x65], 0x74
mov byte [rsp + 0x66], 6
mov byte [rsp + 0x67], 0x3e
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x58]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [0x18005ab90]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x90]
mov edx, 0xc8000006
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
nop
cmp qword [0x18005ab90], 0
je 0x180015aee
lea rdx, [0x180012bc0]
lea rcx, [0x18005ab90]
call fcn.180005260
nop
mov dword [rsp + 0x68], 0xa441e712
mov eax, 0x754f
mov word [rsp + 0x6c], ax
mov eax, 0x43ca
mov word [rsp + 0x6e], ax
mov byte [rsp + 0x70], 0x84
mov byte [rsp + 0x71], 0xa7
mov byte [rsp + 0x72], reloc.WS2_32.dll_listen
mov byte [rsp + 0x73], 0xee
mov byte [rsp + 0x74], 0x44
mov byte [rsp + 0x75], 0xcf
mov byte [rsp + 0x76], 0x60
mov byte [rsp + 0x77], WSAGetLastError
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [0x18005ab98]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x90]
mov edx, 0xc8000006
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
nop
cmp qword [0x18005ab98], 0
je 0x180015bbc
lea rdx, [0x180013950]
lea rcx, [0x18005ab98]
call fcn.180005260
nop
mov dword [rsp + 0x78], 0xf689d7c8
mov eax, 0x6f1f
mov word [rsp + 0x7c], ax
mov eax, 0x436b
mov word [rsp + 0x7e], ax
mov byte [rsp + 0x80], 0x8a
mov byte [rsp + 0x81], 0x53
mov byte [rsp + 0x82], 0xe5
mov byte [rsp + 0x83], 0x4f
mov byte [rsp + 0x84], 0xe3
mov byte [rsp + 0x85], 0x51
mov byte [rsp + 0x86], 0xc3
mov byte [rsp + 0x87], 0x22
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [0x18005aba0]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x90]
mov edx, 0xc8000006
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
nop
cmp qword [0x18005aba0], 0
je 0x180015ca2
lea rdx, [0x180013870]
lea rcx, [0x18005aba0]
call fcn.180005260
nop
mov rcx, qword [rsp + 0x50]
call qword [0x18005ac08]
nop
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180024000
add rsp, 0xb8
pop rdi
pop rsi
ret