Function at 0x14012eba3
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401df020
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140d145c0]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x140d4a129]
call fcn.140131470
nop
mov rax, qword [rbp + 0x480]
add rax, 0x99
mov rcx, rax
call fcn.1401300f7
movzx eax, al
test eax, eax
je 0x1401df08d
xor al, al
jmp 0x1401df4a5
mov byte [rbp + 4], 1
mov rax, qword [rbp + 0x480]
add rax, 0x98
mov dl, 1
mov rcx, rax
call fcn.140130219
nop
mov rdx, qword [rbp + 0x480]
lea rcx, [rbp + 0x318]
call fcn.14012cfb0
mov rdx, rax
lea rcx, [rbp + 0x2c0]
call fcn.14012cef2
nop
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x30]
call fcn.14012df32
nop
lea rcx, [rbp + 0x2c0]
call fcn.14012cf1a
nop
mov edx, 8
lea rcx, [rbp + 0x98]
call fcn.14012c9d4
mov rax, qword [rbp + 0x480]
add rax, 8
mov rcx, rax
call fcn.14012fefe
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.14012df6e
nop
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14012e135
cmp rax, 0xffffffffffffffff
je 0x1401df421
mov rax, qword [rbp + 0x480]
mov rax, qword [rax + 0x88]
mov qword [rbp + 0x438], rax
mov rax, qword [rbp + 0x480]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x440], rax
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14012e135
mov qword [rbp + 0x448], rax
mov r8, qword [rbp + 0x438]
mov rdx, qword [rbp + 0x440]
mov rcx, qword [rbp + 0x448]
call fcn.1401289e7
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x1401df1d7
lea rcx, [rbp + 0x98]
call fcn.140131e34
mov qword [rbp + 0x438], rax
mov rax, qword [rbp + 0x438]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x438]
call qword [rax + 0x18]
nop
jmp 0x1401df11e
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14012e135
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WS2_32.dll_WSAAccept]
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0xffffffffffffffff
jne 0x1401df2a7
call fcn.14012b4b2
cmp dword [rax], 0x18
jne 0x1401df250
mov dword [rbp + 0x354], 1
lea rdx, [rbp + 0x354]
lea rcx, [rbp + 0x338]
call fcn.14012a1ac
mov rcx, rax
call fcn.140129153
nop
jmp 0x1401df11e
call fcn.14012b4b2
cmp dword [rax], 4
je 0x1401df264
call fcn.14012b4b2
cmp dword [rax], 0xb
jne 0x1401df269
jmp 0x1401df11e
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14012e135
cmp rax, 0xffffffffffffffff
je 0x1401df2a2
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14012e135
mov rcx, rax
call fcn.14012de42
nop
mov byte [rbp + 4], 0
jmp 0x1401df421
mov rax, qword [rbp + 0x480]
imul rax, qword [rax + 0x60], 0x3e8
mov qword [rbp + 0x438], rax
mov rcx, qword [rbp + 0x480]
mov rax, qword [rcx + 0x68]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x438]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0xf4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0xf4]
mov r8d, 0x1006
mov edx, 0xffff
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rax, qword [rbp + 0x480]
imul rax, qword [rax + 0x70], 0x3e8
mov qword [rbp + 0x438], rax
mov rcx, qword [rbp + 0x480]
mov rax, qword [rcx + 0x78]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x438]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x114], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x114]
mov r8d, 0x1005
mov edx, 0xffff
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
lea rcx, [rbp + 0x98]
call fcn.140131e34
mov qword [rbp + 0x438], rax
mov rax, qword [rbp + 0x438]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rbp + 0x440], rax
lea rax, [rbp + 0x378]
mov qword [rbp + 0x3d8], rax
lea r8, [rbp + 0xd8]
mov rdx, qword [rbp + 0x480]
lea rcx, [rbp + 0x3f8]
call fcn.140130d4a
mov rdx, rax
mov rcx, qword [rbp + 0x3d8]
call fcn.140131709
mov qword [rbp + 0x448], rax
mov rax, qword [rbp + 0x448]
mov qword [rbp + 0x450], rax
mov rdx, qword [rbp + 0x450]
mov rcx, qword [rbp + 0x438]
call qword [rbp + 0x440]
movzx eax, al
test eax, eax
jne 0x1401df41c
mov rcx, qword [rbp + 0xd8]
call fcn.140128cf3
nop
mov rcx, qword [rbp + 0xd8]
call fcn.14012de42
nop
jmp 0x1401df11e
lea rcx, [rbp + 0x98]
call fcn.140131e34
mov qword [rbp + 0x438], rax
mov rax, qword [rbp + 0x438]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x438]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rbp + 0x98]
call fcn.14012a1d4
nop
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x1401df467
mov byte [rbp + 0x434], 1
jmp 0x1401df46e
mov byte [rbp + 0x434], 0
mov rax, qword [rbp + 0x480]
add rax, 0x99
movzx edx, byte [rbp + 0x434]
mov rcx, rax
call fcn.140130219
nop
movzx eax, byte [rbp + 4]
mov byte [rbp + 0x424], al
lea rcx, [rbp + 0x30]
call fcn.140132424
movzx eax, byte [rbp + 0x424]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.14012fad5
mov rax, rdi
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.14012c6c3
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret