Function at 0x14005fa40
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], rcx
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x160], rdx
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x150], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
mov dword [rsp + 0x12c], 0
mov dword [rsp + 0x128], 0
mov rax, qword [rsp + 0x150]
cmp byte [rax + 0x98], 0
je 0x14005fb31
mov dword [rsp + 0x124], 0
mov dword [rsp + 0x120], 0
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x158]
lea r8, [rsp + 0x120]
xor r9d, r9d
lea rax, [rsp + 0x124]
mov qword [rsp + 0x20], rax
call sub.WS2_32.dll_WSAGetOverlappedResult
mov dword [rsp + 0x128], eax
jmp 0x14005fe53
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x150]
mov byte [rax + 0x98], 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
mov rax, rsp
mov qword [rax + 0x28], rcx
lea rcx, [rsp + 0x110]
mov qword [rax + 0x20], rcx
xor eax, eax
mov r9d, eax
lea rcx, [rsp + 0x100]
mov r8, r9
call fcn.140054240
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
mov r8, qword [rsp + 0x110]
mov r9, qword [rsp + 0x118]
mov qword [rsp + 0xd8], r9
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0xc0]
call fcn.140063d40
mov dword [rsp + 0x12c], eax
cmp dword [rsp + 0x12c], 0
setne al
and al, 1
cmp al, 0
je 0x14005fd8c
mov dx, word [rsp + 0x130]
mov r8w, word [rsp + 0x132]
mov r9w, word [rsp + 0x134]
mov r10w, word [rsp + 0x136]
mov r11w, word [rsp + 0x138]
mov si, word [rsp + 0x13a]
mov di, word [rsp + 0x13c]
mov bx, word [rsp + 0x13e]
mov bp, word [rsp + 0x140]
mov r14b, byte [rsp + 0x142]
mov r15b, byte [rsp + 0x143]
mov r12b, byte [rsp + 0x144]
mov r13b, byte [rsp + 0x145]
mov al, byte [rsp + 0x146]
mov byte [rsp + 0x63], al
mov al, byte [rsp + 0x147]
mov byte [rsp + 0x62], al
mov rax, qword [rsp + 0x148]
mov ecx, dword [rsp + 0x12c]
mov dword [rsp + 0x64], ecx
mov cl, byte [rsp + 0x62]
mov qword [rsp + 0x148], rax
mov byte [rsp + 0x147], cl
mov cl, byte [rsp + 0x63]
mov byte [rsp + 0x146], cl
mov ecx, dword [rsp + 0x64]
mov byte [rsp + 0x145], r13b
mov byte [rsp + 0x144], r12b
mov byte [rsp + 0x143], r15b
mov byte [rsp + 0x142], r14b
mov word [rsp + 0x140], bp
mov word [rsp + 0x13e], bx
mov word [rsp + 0x13c], di
mov word [rsp + 0x13a], si
mov word [rsp + 0x138], r11w
mov word [rsp + 0x136], r10w
mov word [rsp + 0x134], r9w
mov word [rsp + 0x132], r8w
mov word [rsp + 0x130], dx
mov dword [rsp + 0x12c], ecx
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 0x18], rax
mov al, byte [rsp + 0x62]
mov byte [rcx + 0x17], al
mov al, byte [rsp + 0x63]
mov byte [rcx + 0x16], al
mov eax, dword [rsp + 0x64]
mov byte [rcx + 0x15], r13b
mov byte [rcx + 0x14], r12b
mov byte [rcx + 0x13], r15b
mov byte [rcx + 0x12], r14b
mov word [rcx + 0x10], bp
mov word [rcx + 0xe], bx
mov word [rcx + 0xc], di
mov word [rcx + 0xa], si
mov word [rcx + 8], r11w
mov word [rcx + 6], r10w
mov word [rcx + 4], r9w
mov word [rcx + 2], r8w
mov word [rcx], dx
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0xd0]
call fcn.140017100
mov r9, qword [rsp + 0x88]
mov rcx, rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax + 8]
lea rdx, [0x1400b9e20]
lea r8, [rsp + 0xb8]
call fcn.14007ff20
mov dword [rsp + 0xb4], 0
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x150]
mov rdx, qword [rdx + 0x10]
mov r8, qword [rsp + 0x150]
add r8, 0x18
mov r10, qword [rsp + 0x158]
xor r9d, r9d
lea r11, [rsp + 0xb4]
mov dword [rsp + 0x20], 0x20
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r10
call rax
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x128], 0
jne 0x14005fffd
call sub.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x12c], eax
mov dx, word [rsp + 0x130]
mov r8w, word [rsp + 0x132]
mov r9w, word [rsp + 0x134]
mov r10w, word [rsp + 0x136]
mov r11w, word [rsp + 0x138]
mov si, word [rsp + 0x13a]
mov di, word [rsp + 0x13c]
mov bx, word [rsp + 0x13e]
mov bp, word [rsp + 0x140]
mov r14b, byte [rsp + 0x142]
mov r15b, byte [rsp + 0x143]
mov r12b, byte [rsp + 0x144]
mov r13b, byte [rsp + 0x145]
mov al, byte [rsp + 0x146]
mov byte [rsp + 0x53], al
mov al, byte [rsp + 0x147]
mov byte [rsp + 0x52], al
mov rax, qword [rsp + 0x148]
mov ecx, dword [rsp + 0x12c]
mov dword [rsp + 0x54], ecx
mov cl, byte [rsp + 0x52]
mov qword [rsp + 0x148], rax
mov byte [rsp + 0x147], cl
mov cl, byte [rsp + 0x53]
mov byte [rsp + 0x146], cl
mov ecx, dword [rsp + 0x54]
mov byte [rsp + 0x145], r13b
mov byte [rsp + 0x144], r12b
mov byte [rsp + 0x143], r15b
mov byte [rsp + 0x142], r14b
mov word [rsp + 0x140], bp
mov word [rsp + 0x13e], bx
mov word [rsp + 0x13c], di
mov word [rsp + 0x13a], si
mov word [rsp + 0x138], r11w
mov word [rsp + 0x136], r10w
mov word [rsp + 0x134], r9w
mov word [rsp + 0x132], r8w
mov word [rsp + 0x130], dx
mov dword [rsp + 0x12c], ecx
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 0x18], rax
mov al, byte [rsp + 0x52]
mov byte [rcx + 0x17], al
mov al, byte [rsp + 0x53]
mov byte [rcx + 0x16], al
mov eax, dword [rsp + 0x54]
mov byte [rcx + 0x15], r13b
mov byte [rcx + 0x14], r12b
mov byte [rcx + 0x13], r15b
mov byte [rcx + 0x12], r14b
mov word [rcx + 0x10], bp
mov word [rcx + 0xe], bx
mov word [rcx + 0xc], di
mov word [rcx + 0xa], si
mov word [rcx + 8], r11w
mov word [rcx + 6], r10w
mov word [rcx + 4], r9w
mov word [rcx + 2], r8w
mov word [rcx], dx
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax + 0x10]
mov rax, rsp
mov dword [rax + 0x20], 0
xor eax, eax
mov r9d, eax
mov edx, 0xffff
mov r8d, 0x700b
call sub.WS2_32.dll_setsockopt
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x150]
add rdx, 0x18
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x90]
call fcn.1400632b0
mov ax, word [rsp + 0x90]
mov word [rsp + 0x48], ax
mov cx, word [rsp + 0x92]
mov dx, word [rsp + 0x94]
mov r8w, word [rsp + 0x96]
mov r9w, word [rsp + 0x98]
mov r10w, word [rsp + 0x9a]
mov r11w, word [rsp + 0x9c]
mov si, word [rsp + 0x9e]
mov di, word [rsp + 0xa0]
mov bl, byte [rsp + 0xa2]
mov bpl, byte [rsp + 0xa3]
mov r14b, byte [rsp + 0xa4]
mov r15b, byte [rsp + 0xa5]
mov r12b, byte [rsp + 0xa6]
mov r13b, byte [rsp + 0xa7]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x148], rax
mov ax, word [rsp + 0x48]
mov byte [rsp + 0x147], r13b
mov byte [rsp + 0x146], r12b
mov byte [rsp + 0x145], r15b
mov byte [rsp + 0x144], r14b
mov byte [rsp + 0x143], bpl
mov byte [rsp + 0x142], bl
mov word [rsp + 0x140], di
mov word [rsp + 0x13e], si
mov word [rsp + 0x13c], r11w
mov word [rsp + 0x13a], r10w
mov word [rsp + 0x138], r9w
mov word [rsp + 0x136], r8w
mov word [rsp + 0x134], dx
mov word [rsp + 0x132], cx
mov word [rsp + 0x130], ax
mov dx, word [rsp + 0x130]
mov r8w, word [rsp + 0x132]
mov r9w, word [rsp + 0x134]
mov r10w, word [rsp + 0x136]
mov r11w, word [rsp + 0x138]
mov si, word [rsp + 0x13a]
mov di, word [rsp + 0x13c]
mov bx, word [rsp + 0x13e]
mov bp, word [rsp + 0x140]
mov r14b, byte [rsp + 0x142]
mov r15b, byte [rsp + 0x143]
mov r12b, byte [rsp + 0x144]
mov r13b, byte [rsp + 0x145]
mov al, byte [rsp + 0x146]
mov byte [rsp + 0x4b], al
mov al, byte [rsp + 0x147]
mov byte [rsp + 0x4a], al
mov rax, qword [rsp + 0x148]
mov ecx, dword [rsp + 0x12c]
mov dword [rsp + 0x4c], ecx
mov cl, byte [rsp + 0x4a]
mov qword [rsp + 0x148], rax
mov byte [rsp + 0x147], cl
mov cl, byte [rsp + 0x4b]
mov byte [rsp + 0x146], cl
mov ecx, dword [rsp + 0x4c]
mov byte [rsp + 0x145], r13b
mov byte [rsp + 0x144], r12b
mov byte [rsp + 0x143], r15b
mov byte [rsp + 0x142], r14b
mov word [rsp + 0x140], bp
mov word [rsp + 0x13e], bx
mov word [rsp + 0x13c], di
mov word [rsp + 0x13a], si
mov word [rsp + 0x138], r11w
mov word [rsp + 0x136], r10w
mov word [rsp + 0x134], r9w
mov word [rsp + 0x132], r8w
mov word [rsp + 0x130], dx
mov dword [rsp + 0x12c], ecx
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 0x18], rax
mov al, byte [rsp + 0x4a]
mov byte [rcx + 0x17], al
mov al, byte [rsp + 0x4b]
mov byte [rcx + 0x16], al
mov eax, dword [rsp + 0x4c]
mov byte [rcx + 0x15], r13b
mov byte [rcx + 0x14], r12b
mov byte [rcx + 0x13], r15b
mov byte [rcx + 0x12], r14b
mov word [rcx + 0x10], bp
mov word [rcx + 0xe], bx
mov word [rcx + 0xc], di
mov word [rcx + 0xa], si
mov word [rcx + 8], r11w
mov word [rcx + 6], r10w
mov word [rcx + 4], r9w
mov word [rcx + 2], r8w
mov word [rcx], dx
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret