Function at 0x4a264a
Capabilities:
Set socket configuration

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x220
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov r8, rax
mov eax, 1
mov r11, rax
mov eax, dword [rbp + 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.ws2_32.dll_socket
shl rax, 0x20
shr rax, 0x20
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0049bfab
mov eax, 0x30
mov r8, rax
lea rax, [rbp - 0x60]
mov r11, rax
lea rax, [rbp - 0x30]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0x30]
cmp eax, 0
je 0x4a271b
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0x30]
mov r11, rax
lea rax, [rbp - 0x90]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x90]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a2984
mov eax, dword [rbp - 8]
mov dword [rbp - 0x94], eax
mov eax, dword [rbp - 0x94]
mov dword [rbp - 0xa0], eax
mov eax, 4
mov r8, rax
lea rax, [rbp - 0xa0]
mov r11, rax
lea rax, [rbp - 0x9c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 4
mov r8, rax
lea rax, [rbp - 0x9c]
mov r11, rax
lea rax, [rbp - 0x98]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 1
mov r9, rax
mov eax, 4
mov r8, rax
lea rax, [rbp - 0x98]
mov r11, rax
lea rax, [rbp - 0x100]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004a2f87
mov eax, 0x30
mov r8, rax
lea rax, [rbp - 0x100]
mov r11, rax
lea rax, [rbp - 0xd0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0xd0]
cmp eax, 0
je 0x4a2839
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0xd0]
mov r11, rax
lea rax, [rbp - 0x130]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x130]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a2984
mov eax, 1
mov dword [rbp - 0x134], eax
mov eax, dword [rbp - 0x94]
movsxd rax, eax
lea rcx, [rbp - 0x134]
mov r8, rcx
mov ecx, dword [0x00512794]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.ws2_32.dll_ioctlsocket
mov r11, rax
lea rax, [rbp - 0x198]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0049bfab
mov eax, 0x30
mov r8, rax
lea rax, [rbp - 0x198]
mov r11, rax
lea rax, [rbp - 0x168]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0x168]
cmp eax, 0
je 0x4a2912
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0x168]
mov r11, rax
lea rax, [rbp - 0x1c8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x1c8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a2984
mov eax, 4
mov r8, rax
lea rax, [rbp - 0x98]
mov r11, rax
lea rax, [rbp - 0x1fc]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 4
mov r8, rax
lea rax, [rbp - 0x1f8]
mov r11, rax
lea rax, [rbp - 0x1fc]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0042c0a5
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x1f8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
leave
ret