Function at 0x14013a1d9
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1402022d0
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 [0x14069d5c0]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x1406d5129]
call fcn.14013cce5
nop
mov rax, qword [rbp + 0x480]
add rax, 0x99
mov rcx, rax
call fcn.14013b840
movzx eax, al
test eax, eax
je 0x14020233d
xor al, al
jmp 0x140202755
mov byte [rbp + 4], 1
mov rax, qword [rbp + 0x480]
add rax, 0x98
mov dl, 1
mov rcx, rax
call fcn.14013b985
nop
mov rdx, qword [rbp + 0x480]
lea rcx, [rbp + 0x318]
call fcn.140138451
mov rdx, rax
lea rcx, [rbp + 0x2c0]
call fcn.140138384
nop
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x30]
call fcn.1401394b9
nop
lea rcx, [rbp + 0x2c0]
call fcn.1401383ac
nop
mov edx, 8
lea rcx, [rbp + 0x98]
call fcn.140137e16
mov rax, qword [rbp + 0x480]
add rax, 8
mov rcx, rax
call fcn.14013b63d
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.1401394f5
nop
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.1401396da
cmp rax, 0xffffffffffffffff
je 0x1402026d1
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.1401396da
mov qword [rbp + 0x448], rax
mov r8, qword [rbp + 0x438]
mov rdx, qword [rbp + 0x440]
mov rcx, qword [rbp + 0x448]
call fcn.140133a55
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x140202487
lea rcx, [rbp + 0x98]
call fcn.14013d73f
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 0x1402023ce
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.1401396da
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 0x140202557
call fcn.140136778
cmp dword [rax], 0x18
jne 0x140202500
mov dword [rbp + 0x354], 1
lea rdx, [rbp + 0x354]
lea rcx, [rbp + 0x338]
call fcn.14013537d
mov rcx, rax
call fcn.14013423e
nop
jmp 0x1402023ce
call fcn.140136778
cmp dword [rax], 4
je 0x140202514
call fcn.140136778
cmp dword [rax], 0xb
jne 0x140202519
jmp 0x1402023ce
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.1401396da
cmp rax, 0xffffffffffffffff
je 0x140202552
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.1401396da
mov rcx, rax
call fcn.1401393b5
nop
mov byte [rbp + 4], 0
jmp 0x1402026d1
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.14013d73f
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.14013c547
mov rdx, rax
mov rcx, qword [rbp + 0x3d8]
call fcn.14013cfa1
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 0x1402026cc
mov rcx, qword [rbp + 0xd8]
call fcn.140133d9d
nop
mov rcx, qword [rbp + 0xd8]
call fcn.1401393b5
nop
jmp 0x1402023ce
lea rcx, [rbp + 0x98]
call fcn.14013d73f
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.1401353a5
nop
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x140202717
mov byte [rbp + 0x434], 1
jmp 0x14020271e
mov byte [rbp + 0x434], 0
mov rax, qword [rbp + 0x480]
add rax, 0x99
movzx edx, byte [rbp + 0x434]
mov rcx, rax
call fcn.14013b985
nop
movzx eax, byte [rbp + 4]
mov byte [rbp + 0x424], al
lea rcx, [rbp + 0x30]
call fcn.14013dda2
movzx eax, byte [rbp + 0x424]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.14013b1e7
mov rax, rdi
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.140137add
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret