Function at 0x140050dc0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r9
mov r15, rdx
test r8b, r8b
mov eax, 0xdb05fcf7
mov edx, 0xa9783dba
cmovne edx, eax
mov dword [rsp + 0x40], edx
mov eax, 0x7f7c5a5a
mov r13d, 0x46852542
cmovne r13d, eax
movzx eax, r8b
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x70], rcx
cmp rcx, 0xffffffffffffffff
mov eax, 0xa39e54b8
mov edi, 0xaf08e35
cmove edi, eax
mov eax, 0x8ddd0a25
lea r14, [rsp + 0x44]
mov ebx, 0xf927b769
jmp 0x140050e37
mov eax, 0x63aebc28
mov cl, 1
mov dword [rsp + 0x38], ecx
jmp 0x140050e50
mov eax, ecx
cmp ecx, 0x43973161
jne 0x140050e50
mov eax, 0x1a28f370
xor r12d, r12d
nop
mov ecx, eax
cmp eax, 0xfafd3f5c
jle 0x140050e90
cmp ecx, 0x37bc7684
jle 0x140050ee0
cmp ecx, 0x46852541
jg 0x140050f6c
mov eax, dword [rsp + 0x40]
cmp ecx, 0x37bc7685
je 0x140050e50
cmp ecx, 0x39304bb0
jne 0x140050e3d
mov eax, 0xfafd3f5d
jmp 0x140050e50
cmp ecx, 0xb492eb0b
jle 0x140050f30
cmp ecx, 0xdf1563a7
jg 0x140050fa6
cmp ecx, 0xb492eb0c
je 0x14005105a
cmp ecx, 0xd7f2f65a
je 0x140051075
mov eax, ecx
cmp ecx, 0xdb05fcf7
jne 0x140050e50
movzx eax, byte [r15]
mov dword [rsp + 0x4c], eax
mov eax, 0x1b38607b
jmp 0x140050e50
cmp ecx, 0x1a28f36f
jg 0x140050fd3
cmp ecx, 0xfafd3f5d
je 0x140050e30
mov eax, r13d
cmp ecx, 0xaf08e35
je 0x140050e50
mov eax, ecx
cmp ecx, 0xdce97d2
jne 0x140050e50
test dword [rsp + 0x48], 1
mov eax, 0xdf1563a8
mov ecx, 0x7f7c5a5a
cmove eax, ecx
jmp 0x140050e50
cmp ecx, 0xa39e54b7
jle 0x140050ffd
cmp ecx, 0xa39e54b8
je 0x1400510a0
cmp ecx, 0xa9783dba
je 0x140051152
mov eax, ecx
cmp ecx, 0xac43e1ab
jne 0x140050e50
mov eax, 0xb492eb0c
jmp 0x140050e50
cmp ecx, 0x46852542
je 0x140051160
cmp ecx, 0x63aebc28
je 0x140051172
mov eax, ecx
cmp ecx, 0x7f7c5a5a
jne 0x140050e50
mov qword [rsp + 0x68], r14
mov rax, qword [rsp + 0x68]
mov eax, 0x9773a7d3
jmp 0x140050e50
cmp ecx, 0xdf1563a8
je 0x140051186
mov eax, edi
cmp ecx, 0xef2b5e0a
je 0x140050e50
mov eax, ecx
cmp ecx, 0xf1f7e573
je 0x140050e47
jmp 0x140050e50
cmp ecx, 0x1b38607b
je 0x140051232
cmp ecx, 0x32014c9d
jne 0x14005131f
mov eax, 0x63aebc28
mov dword [rsp + 0x38], 0
jmp 0x140050e50
cmp ecx, 0x8ddd0a25
je 0x140051245
mov eax, ecx
cmp ecx, 0x9773a7d3
jne 0x140050e50
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x70]
mov edx, 0x8004667e
mov r8, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
mov edx, eax
shr edx, 0x1f
mov rcx, rsi
call fcn.14004d100
test ebx, ebx
mov ebx, 0xf927b769
mov eax, 0x32014c9d
mov ecx, 0x37bc7685
cmovns eax, ecx
jmp 0x140050e50
mov eax, dword [0x14035e108]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xac43e1ab
mov ecx, 0x43973161
jmp 0x14005108e
mov eax, dword [0x14035e108]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xac43e1ab
mov ecx, 0xb492eb0c
cmove eax, ecx
cmp dword [0x14035e10c], 0xa
cmovl eax, ecx
jmp 0x140050e50
mov eax, dword [0x14035dff8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete byte [rsp + 0x2f]
mov ecx, dword [0x14035dffc]
mov eax, 0xab16c8e1
cmove eax, ebx
cmp ecx, 0xa
setl byte [rsp + 0x30]
cmovl eax, ebx
mov ecx, 0x2334ec52
nop word cs:[rax + rax]
nop dword [rax]
cmp ecx, 0xe40631bc
jle 0x140051130
cmp ecx, 0xe40631bd
je 0x14005124f
cmp ecx, 0xf927b769
je 0x140051147
cmp ecx, 0x2334ec52
jne 0x1400510e0
movzx edx, byte [rsp + 0x2f]
cmp byte [rsp + 0x30], 0
mov ecx, 0xab16c8e1
mov ebp, 0x82bf0231
cmovne ecx, ebp
test dl, dl
cmovne ecx, ebp
jmp 0x1400510e0
cmp ecx, 0x82bf0231
je 0x14005114e
cmp ecx, 0xab16c8e1
jne 0x1400510e0
mov ecx, 0x82bf0231
jmp 0x1400510e0
mov ecx, 0xe40631bd
jmp 0x1400510e0
mov ecx, eax
jmp 0x1400510e0
and byte [r15], 0xfd
mov eax, 0x39304bb0
jmp 0x140050e50
movzx eax, byte [r15]
mov dword [rsp + 0x48], eax
mov eax, 0xdce97d2
jmp 0x140050e50
mov rax, qword [rsp + 0x68]
mov eax, 0x1a28f370
mov r12d, dword [rsp + 0x38]
jmp 0x140050e50
mov eax, dword [0x14035dff8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete byte [rsp + 0x2f]
mov ecx, dword [0x14035dffc]
mov eax, 0xab16c8e1
cmove eax, ebx
cmp ecx, 0xa
setl byte [rsp + 0x30]
cmovl eax, ebx
mov ecx, 0x2334ec52
nop dword [rax + rax]
cmp ecx, 0xe40631bc
jle 0x140051210
cmp ecx, 0xe40631bd
je 0x140051299
cmp ecx, 0xf927b769
je 0x140051227
cmp ecx, 0x2334ec52
jne 0x1400511c0
movzx edx, byte [rsp + 0x2f]
cmp byte [rsp + 0x30], 0
mov ecx, 0xab16c8e1
mov ebp, 0x82bf0231
cmovne ecx, ebp
test dl, dl
cmovne ecx, ebp
jmp 0x1400511c0
cmp ecx, 0x82bf0231
je 0x14005122e
cmp ecx, 0xab16c8e1
jne 0x1400511c0
mov ecx, 0x82bf0231
jmp 0x1400511c0
mov ecx, 0xe40631bd
jmp 0x1400511c0
mov ecx, eax
jmp 0x1400511c0
mov eax, dword [rsp + 0x4c]
or al, 2
mov byte [r15], al
mov eax, 0xfafd3f5d
jmp 0x140050e50
mov eax, 0xef2b5e0a
jmp 0x140050e50
lea rax, [0x140352178]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov eax, 0x81f06290
nop word [rax + rax]
cmp eax, 0xdf872f88
je 0x1400512e9
cmp eax, 0x81f06290
jne 0x140051270
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
mov edx, 0x2719
call fcn.14004d720
mov eax, 0xdf872f88
jmp 0x140051270
lea rax, [0x140352178]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov eax, 0x81f06290
nop word cs:[rax + rax]
nop
cmp eax, 0xdf872f88
je 0x140051304
cmp eax, 0x81f06290
jne 0x1400512c0
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
mov edx, 0x2726
call fcn.14004d720
mov eax, 0xdf872f88
jmp 0x1400512c0
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov eax, 0xd7f2f65a
jmp 0x140050e50
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov eax, 0xf1f7e573
jmp 0x140050e50
mov eax, ecx
cmp ecx, 0x1a28f370
jne 0x140050e50
and r12b, 1
mov eax, r12d
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret