Function at 0x1401c62f0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
xor eax, eax
mov qword [rcx + 8], rax
mov rbx, rcx
lea rax, [rcx + 0x10]
mov r13, rdx
mov byte [rcx], 0
mov ecx, 0x40
mov dword [rsp + 0x140], r8d
mov qword [rsp + 0x40], rax
call fcn.1403cd4b0
lea rcx, [rax + 8]
mov rdi, rax
call fcn.1402c07f0
lea rax, [rbx + 0x10]
xor r15d, r15d
mov qword [rbx + 0x10], rdi
mov qword [rdi + 0x30], rax
mov eax, 1
mov qword [rdi + 0x38], r15
lock xadd dword [0x140428060], eax
test eax, eax
je 0x1401c638a
xor edx, edx
lock xadd dword [0x140428064], edx
test edx, edx
je 0x1401c63ef
jmp 0x1401c63a0
xor r8d, r8d
mov edx, 2
lea rcx, [0x140428060]
call fcn.14029b730
jmp 0x1401c6365
lea rsi, [rsp + 0x60]
lea r8, [0x1404280e0]
mov rcx, rsi
call fcn.1402c4e70
lea rax, [0x14042afdb]
lea r8, [rsp + 0x78]
mov rcx, rsi
mov qword [rsp + 0x78], rax
lea rdx, [0x14042b02e]
lea rax, [0x14042b01f]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0x48
call fcn.140287cc0
mov ecx, 0xb0
call fcn.1403cd4b0
xor r8d, r8d
lea rdx, [rbx + 0x10]
mov rcx, rax
mov rdi, rax
call fcn.1402a3e20
mov rsi, qword [rbx + 0x10]
lea rax, [0x1404ea970]
xor r14d, r14d
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x58], r14
cmp qword [rsi + 0x30], rax
je 0x1401c64c1
lea rbp, [rsp + 0xb0]
lea rdx, [0x14042b036]
mov rcx, rbp
call fcn.140352540
lea rax, fcn.14027ff80
mov ecx, 0x40
xor r13d, r13d
mov qword [rsp + 0xb0], rax
call fcn.1403cd580
mov rdx, rbp
mov rsi, rax
lea rax, [0x1405042a0]
mov qword [rsi], rax
lea rcx, [rsi + 8]
call fcn.1403525e0
lea rax, [0x140502fc0]
mov qword [rsi + 0x20], r13
mov rcx, rsi
mov qword [rsi], rax
add rax, 0x30
lea r8, [fcn.140253560]
lea rdx, [0x1404e9a40]
mov qword [rsi + 8], rax
add rax, 0x28
mov qword [rsi + 0x28], r13
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], 0xffffffffffffffff
mov qword [rsi + 0x18], rax
call fcn.1403cdb10
lea rcx, [rsi + 8]
mov qword [rsp + 0x90], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x98], 1
mov rbp, qword [rsi + 0x38]
lea r12, [rsp + 0x50]
test rbp, rbp
je 0x1401c659a
lea rcx, [rbp + 8]
mov rdx, r12
call fcn.140290470
test al, al
je 0x1401c6591
lea rbp, [rsp + 0xb0]
lea rdx, [0x14042b04d]
mov rcx, rbp
call fcn.140352540
lea rax, fcn.14027ffc0
mov ecx, 0x40
xor r12d, r12d
mov qword [rsp + 0xb0], rax
call fcn.1403cd580
mov rdx, rbp
mov rsi, rax
lea rax, [0x1405042a0]
mov qword [rsi], rax
lea rcx, [rsi + 8]
call fcn.1403525e0
lea rax, [0x140503040]
mov qword [rsi + 0x20], r12
mov rcx, rsi
mov qword [rsi], rax
add rax, 0x30
lea r8, [fcn.140253f60]
lea rdx, [0x1404e9a90]
mov qword [rsi + 8], rax
add rax, 0x28
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x38], 0xffffffffffffffff
mov qword [rsi + 0x18], rax
call fcn.1403cdb10
mov rbp, qword [rbp + 0x20]
jmp 0x1401c64e4
mov rax, qword [rsi + 0x38]
movaps xmm0, xmmword [rsp + 0x50]
lea rbp, [rsp + 0x90]
mov rcx, rbp
mov qword [rdi + 0x20], rax
movups xmmword [rdi + 8], xmm0
mov qword [rsi + 0x38], rdi
xor esi, esi
call fcn.140287ca0
mov qword [rbx + 0x20], rdi
mov rcx, rdi
mov qword [rbx + 0x28], rdi
call fcn.1402a0ca0
mov rdi, qword [r13]
lea rax, [rbx + 0x30]
xor r11d, r11d
mov qword [rsp + 0x20], rbp
xor r10d, r10d
mov ecx, 0x17
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x78]
mov rdx, rdi
mov dword [rsp + 0x78], esi
lea rsi, [rsp + 0xb0]
mov r9, rax
mov r8, rsi
mov dword [rsp + 0x90], r10d
mov qword [rsp + 0x98], r11
mov qword [rsp + 0xa0], r11
mov qword [rsp + 0x38], rax
call fcn.140287750
test eax, eax
jle 0x1401c66a5
mov r14d, dword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0xb0]
jmp 0x1401c66ab
xor r14d, r14d
xorps xmm6, xmm6
mov rcx, rbp
call fcn.1402ee430
test al, al
je 0x1401c66f7
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
mov ecx, 2
xor r12d, r12d
call fcn.140287750
test eax, eax
jle 0x1401c66de
mov r12d, dword [rsp + 0xb0]
mov rcx, rbp
xor r14d, r14d
xorps xmm6, xmm6
call fcn.1402ee430
test al, al
cmovne r12d, r14d
xor r15d, r15d
jmp 0x1401c6700
xor r12d, r12d
mov r15d, 1
lea rax, [0x14042b065]
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0xc0], 0x70
mov qword [rsp + 0xb0], rax
lea rax, [0x14042b0a0]
mov qword [rsp + 0xb8], rax
call fcn.140287cf0
xor eax, eax
mov ecx, 7
mov rdi, rbp
test r15d, r15d
rep stosd dword [rdi], eax
movzx ecx, word [rsp + 0x140]
mov rax, qword [sym.imp.WSOCK32.dll_htons]
jne 0x1401c6783
mov word [rsp + 0x90], 2
call rax
mov ecx, r12d
mov word [rsp + 0x92], ax
call qword [sym.imp.WSOCK32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x94], eax
jmp 0x1401c67b2
mov word [rsp + 0x90], 0x17
call rax
xor r9d, r9d
mov dword [rsp + 0xa8], r14d
mov word [rsp + 0x92], ax
mov dword [rsp + 0x94], r9d
movups xmmword [rsp + 0x98], xmm6
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14028c870
xor r8d, r8d
xor ecx, ecx
mov r14d, 0x17
mov eax, 2
cmp word [rsp + 0x90], 2
mov r15, qword [rbx + 0x30]
mov dword [rsp + 0x78], ecx
cmove r14d, eax
cmp qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], r8
je 0x1401c682e
mov rcx, qword [rsp + 0x38]
mov edx, 1
call fcn.1402c5e40
movups xmm1, xmmword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
movaps xmmword [rsp + 0xb0], xmm1
mov qword [rsp + 0xc0], rax
jmp 0x1401c68d6
mov r9, qword [rsp + 0x38]
mov r8d, 6
mov edx, 1
mov ecx, r14d
call fcn.140287510
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
mov r12, rax
lea rdi, [rsp + 0x60]
je 0x1401c68b1
mov rax, qword [r15 + 0x30]
mov r9, qword [rsp + 0x38]
mov r8, r12
mov rcx, rsi
mov rdx, qword [rax + 0x28]
call fcn.1402a1080
mov rcx, rsi
call fcn.1402ee430
test al, al
jne 0x1401c68b1
mov qword [rbx + 0x38], r12
lea rcx, [rbx + 0x48]
xor edx, edx
mov byte [rbx + 0x40], 0x10
mov qword [rsp + 0x60], 0xffffffffffffffff
call fcn.1403560b0
xor edx, edx
xor eax, eax
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], rdx
movups xmm2, xmmword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
mov rcx, rdi
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm2
call fcn.14028bec0
mov rcx, rsi
call fcn.1402ee430
test al, al
jne 0x1401c6930
lea rdi, [rsp + 0xb2]
mov ecx, 0x1a
mov dword [rbx + 0x70], r14d
rep stosb byte [rdi], al
mov byte [rbx + 0x74], 0
mov word [rsp + 0xb0], 2
movups xmm4, xmmword [rsp + 0xbc]
movaps xmm3, xmmword [rsp + 0xb0]
movups xmmword [rbx + 0x78], xmm3
movups xmmword [rbx + 0x84], xmm4
jmp 0x1401c6930
mov rdx, qword [rsp + 0x38]
lea r8, [0x14050b5c0]
lea r12, [0x14042b0ad]
lea rdi, [0x14042b0ee]
mov rcx, rdx
call fcn.1402c4e30
mov rcx, qword [rsp + 0x38]
mov r8, rsi
lea rdx, [0x14042b11d]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 0x126
call fcn.140287cc0
mov dword [rsp + 0xb0], 1
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
jne 0x1401c69a8
mov rcx, qword [rsp + 0x38]
mov edx, 0x2719
call fcn.1402c6020
jmp 0x1401c69d5
mov dword [rsp + 0x20], 4
mov r9, rsi
mov r8d, 4
mov edx, 0xffff
call qword [sym.imp.WSOCK32.dll_setsockopt]
xor edx, edx
mov rcx, qword [rsp + 0x38]
test eax, eax
setne dl
call fcn.140285ad0
mov rdx, qword [rsp + 0x38]
lea r8, [0x14050b560]
mov rcx, rdx
call fcn.1402c4e30
mov rcx, qword [rsp + 0x38]
mov r8, rsi
lea rdx, [0x14042b122]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 0x12b
call fcn.140287cc0
mov rcx, qword [rbx + 0x38]
mov r8d, 0x1c
mov eax, 0x10
cmp word [rsp + 0x90], 2
cmove r8, rax
cmp rcx, 0xffffffffffffffff
jne 0x1401c6a4c
mov rcx, qword [rsp + 0x38]
mov edx, 0x2719
call fcn.1402c6020
jmp 0x1401c6a66
mov rdx, rbp
call qword [sym.imp.WSOCK32.dll_bind]
xor edx, edx
mov rcx, qword [rsp + 0x38]
test eax, eax
setne dl
call fcn.140285ad0
mov rdx, qword [rsp + 0x38]
lea r8, [0x14050b5a0]
mov rcx, rdx
call fcn.1402c4e30
mov rcx, qword [rsp + 0x38]
mov r8, rsi
lea rdx, [0x14042b12d]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 0x12e
call fcn.140287cc0
mov rcx, qword [rbx + 0x38]
mov r8, qword [rsp + 0x38]
mov edx, 0x7fffffff
call fcn.140287450
mov rcx, qword [rsp + 0x38]
mov r8, rsi
lea rdx, [0x14042b132]
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 0x131
call fcn.140287cc0
lea rcx, [rbx + 0xd0]
mov rdx, r13
call fcn.1403939d0
nop
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret