Function at 0x14014044f
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140215b80
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 [0x1406af1c0]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x1406e8136]
call fcn.140143037
nop
mov rax, qword [rbp + 0x480]
add rax, 0x99
mov rcx, rax
call fcn.140141b42
movzx eax, al
test eax, eax
je 0x140215bed
xor al, al
jmp 0x140216005
mov byte [rbp + 4], 1
mov rax, qword [rbp + 0x480]
add rax, 0x98
mov dl, 1
mov rcx, rax
call fcn.140141c8c
nop
mov rdx, qword [rbp + 0x480]
lea rcx, [rbp + 0x318]
call fcn.14013e618
mov rdx, rax
lea rcx, [rbp + 0x2c0]
call fcn.14013e546
nop
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x30]
call fcn.14013f6e4
nop
lea rcx, [rbp + 0x2c0]
call fcn.14013e573
nop
mov edx, 8
lea rcx, [rbp + 0x98]
call fcn.14013dfe7
mov rax, qword [rbp + 0x480]
add rax, 8
mov rcx, rax
call fcn.14014193a
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.14013f725
nop
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14013f905
cmp rax, 0xffffffffffffffff
je 0x140215f81
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.14013f905
mov qword [rbp + 0x448], rax
mov r8, qword [rbp + 0x438]
mov rdx, qword [rbp + 0x440]
mov rcx, qword [rbp + 0x448]
call fcn.140139a82
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x140215d37
lea rcx, [rbp + 0x98]
call fcn.140143ab9
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 0x140215c7e
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14013f905
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 0x140215e07
call fcn.14013c8ef
cmp dword [rax], 0x18
jne 0x140215db0
mov dword [rbp + 0x354], 1
lea rdx, [rbp + 0x354]
lea rcx, [rbp + 0x338]
call fcn.14013b486
mov rcx, rax
call fcn.14013a2a7
nop
jmp 0x140215c7e
call fcn.14013c8ef
cmp dword [rax], 4
je 0x140215dc4
call fcn.14013c8ef
cmp dword [rax], 0xb
jne 0x140215dc9
jmp 0x140215c7e
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14013f905
cmp rax, 0xffffffffffffffff
je 0x140215e02
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rcx, rax
call fcn.14013f905
mov rcx, rax
call fcn.14013f5db
nop
mov byte [rbp + 4], 0
jmp 0x140215f81
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.140143ab9
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.140142867
mov rdx, rax
mov rcx, qword [rbp + 0x3d8]
call fcn.1401432f3
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 0x140215f7c
mov rcx, qword [rbp + 0xd8]
call fcn.140139dde
nop
mov rcx, qword [rbp + 0xd8]
call fcn.14013f5db
nop
jmp 0x140215c7e
lea rcx, [rbp + 0x98]
call fcn.140143ab9
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.14013b4b3
nop
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x140215fc7
mov byte [rbp + 0x434], 1
jmp 0x140215fce
mov byte [rbp + 0x434], 0
mov rax, qword [rbp + 0x480]
add rax, 0x99
movzx edx, byte [rbp + 0x434]
mov rcx, rax
call fcn.140141c8c
nop
movzx eax, byte [rbp + 4]
mov byte [rbp + 0x424], al
lea rcx, [rbp + 0x30]
call fcn.140144144
movzx eax, byte [rbp + 0x424]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.1401414cb
mov rax, rdi
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.14013dc90
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret