Function at 0x1401bac91
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1404c5a20
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 [0x140625540]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x14066b19b]
call fcn.1401be157
nop
mov rax, qword [rbp + 0x480]
add rax, 0x99
mov rcx, rax
call fcn.1401bc771
movzx eax, al
test eax, eax
je 0x1404c5a8d
xor al, al
jmp 0x1404c5ea8
mov byte [rbp + 4], 1
mov rax, qword [rbp + 0x480]
add rax, 0x98
mov dl, 1
mov rcx, rax
call fcn.1401bc8f7
nop
mov rdx, qword [rbp + 0x480]
lea rcx, [rbp + 0x318]
call fcn.1401b882e
mov rdx, rax
lea rcx, [rbp + 0x2c0]
call fcn.1401b86e4
nop
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x30]
call fcn.1401b9c10
nop
lea rcx, [rbp + 0x2c0]
call fcn.1401b8739
nop
mov edx, 8
lea rcx, [rbp + 0x98]
call fcn.1401b7ffa
mov rax, qword [rbp + 0x480]
add rax, 8
mov rcx, rax
call fcn.1401bc528
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.1401b9c6f
nop
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.1401b9eae
cmp rax, 0xffffffffffffffff
je 0x1404c5e24
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.1401b9eae
mov qword [rbp + 0x448], rax
mov r8, qword [rbp + 0x438]
mov rdx, qword [rbp + 0x440]
mov rcx, qword [rbp + 0x448]
call fcn.1401b2c3f
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x1404c5bd7
lea rcx, [rbp + 0x98]
call fcn.1401bee86
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 0x1404c5b1e
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.1401b9eae
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 0x1404c5caa
call qword [sym.imp.ucrtbased.dll__errno]
cmp dword [rax], 0x18
jne 0x1404c5c51
mov dword [rbp + 0x354], 1
lea rdx, [rbp + 0x354]
lea rcx, [rbp + 0x338]
call fcn.1401bae03
mov rcx, rax
call fcn.1401bbe89
nop
jmp 0x1404c5b1e
call qword [sym.imp.ucrtbased.dll__errno]
cmp dword [rax], 4
je 0x1404c5c67
call qword [sym.imp.ucrtbased.dll__errno]
cmp dword [rax], 0xb
jne 0x1404c5c6c
jmp 0x1404c5b1e
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.1401b9eae
cmp rax, 0xffffffffffffffff
je 0x1404c5ca5
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.1401b9eae
mov rcx, rax
call fcn.1401b9a94
nop
mov byte [rbp + 4], 0
jmp 0x1404c5e24
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.1401bee86
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.1401bd74d
mov rdx, rax
mov rcx, qword [rbp + 0x3d8]
call fcn.1401be4a9
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 0x1404c5e1f
mov rcx, qword [rbp + 0xd8]
call fcn.1401b300e
nop
mov rcx, qword [rbp + 0xd8]
call fcn.1401b9a94
nop
jmp 0x1404c5b1e
lea rcx, [rbp + 0x98]
call fcn.1401bee86
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.1401b4b39
nop
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x1404c5e6a
mov byte [rbp + 0x434], 1
jmp 0x1404c5e71
mov byte [rbp + 0x434], 0
mov rax, qword [rbp + 0x480]
add rax, 0x99
movzx edx, byte [rbp + 0x434]
mov rcx, rax
call fcn.1401bc8f7
nop
movzx eax, byte [rbp + 4]
mov byte [rbp + 0x424], al
lea rcx, [rbp + 0x30]
call fcn.1401bf62e
movzx eax, byte [rbp + 0x424]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.1401bbfec
mov rax, rdi
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.1401b7c3a
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret