Function at 0x140048b90
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
movaps xmmword [rbp], xmm6
mov r14, r9
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14035bae8]
xor rax, rbp
mov qword [rbp - 8], rax
test r8b, r8b
mov r12d, 0x96cb45c7
mov eax, 0x7767d298
cmove r12d, eax
cmp rcx, 0xffffffffffffffff
mov eax, 0x5fc5247e
mov r13d, 0x5eb9d30f
cmove r13d, eax
mov eax, 0x1eaebac0
mov r15, qword [sym.imp.WS2_32.dll_closesocket]
xorps xmm6, xmm6
jmp 0x140048c10
mov eax, 0x5fc5247e
mov esi, dword [rbp - 0x1c]
nop word cs:[rax + rax]
nop
mov ecx, eax
cmp eax, 0x11bb0d39
jg 0x140048c60
cmp ecx, 0xab440d84
jg 0x140048cc0
cmp ecx, 0x8c42c476
jle 0x140048d8a
cmp ecx, 0x971537b7
jg 0x140048ee6
cmp ecx, 0x8c42c477
je 0x140048f95
mov eax, ecx
cmp ecx, 0x96cb45c7
jne 0x140048c10
movzx eax, byte [rdi]
mov dword [rbp - 0x5c], eax
mov eax, 0x5ffed6b0
jmp 0x140048c10
cmp ecx, 0x5eb9d30e
jg 0x140048d30
cmp ecx, 0x1fd7463c
jle 0x140048dbe
cmp ecx, 0x4aff6755
jg 0x140048f23
cmp ecx, 0x1fd7463d
je 0x140048fd6
mov eax, ecx
cmp ecx, 0x282165ee
jne 0x140048c10
mov rax, qword [rbp - 0x28]
cmp byte [rbp - 0x14], 0
mov eax, 0x5fc5247e
mov ecx, 0x8c42c477
cmovne eax, ecx
mov esi, dword [rbp - 0x1c]
jmp 0x140048c10
cmp ecx, 0xfad09a53
jle 0x140048e3e
cmp ecx, 0x73a25a3
jg 0x140048f4b
cmp ecx, 0xfad09a54
je 0x14004901a
mov eax, ecx
cmp ecx, 0x65abf76
jne 0x140048c10
cmp dword [rbp - 0x1c], 0
setne byte [rbp - 0x11]
mov dl, byte [rbp - 0x11]
sub rsp, 0x20
mov rcx, r14
call fcn.14004d100
add rsp, 0x20
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov eax, 0xeaafe431
jmp 0x140048c10
cmp ecx, 0x7767d297
jg 0x140048e86
cmp ecx, 0x5ffed6af
jle 0x140048f73
cmp ecx, 0x5ffed6b0
je 0x140049036
mov eax, ecx
cmp ecx, 0x60ee8e03
jne 0x140048c10
cmp dword [rbp - 0x20], 0
setne dl
sub rsp, 0x20
mov rcx, r14
call fcn.14004d100
add rsp, 0x20
mov rax, qword [rbp - 0x68]
mov eax, 0x5fc5247e
mov esi, dword [rbp - 0x20]
jmp 0x140048c10
cmp ecx, 0x85a5a907
je 0x14004904b
cmp ecx, 0x866c8004
je 0x140048bfc
mov eax, ecx
cmp ecx, 0x897f61b3
jne 0x140048c10
mov rax, qword [rbp - 0x28]
mov eax, 0xab440d85
jmp 0x140048c10
cmp ecx, 0x11bb0d3a
je 0x14004905d
cmp ecx, 0x1d927f14
je 0x140049073
mov eax, ecx
cmp ecx, 0x1eaebac0
jne 0x140048c10
mov eax, 0x20
call fcn.1402e5fd0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x38], rax
mov eax, 0x20
call fcn.1402e5fd0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x40], rax
mov eax, 0x20
call fcn.1402e5fd0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x48], rax
mov eax, select
call fcn.1402e5fd0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x50], rax
mov eax, 0x7776af0d
jmp 0x140048c10
cmp ecx, 0xab440d85
je 0x140049093
cmp ecx, 0xbdd2cf1e
je 0x14004909d
mov eax, ecx
cmp ecx, 0xeaafe431
jne 0x140048c10
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
cmp byte [rbp - 0x11], 0
mov eax, 0xbdd2cf1e
mov ecx, 0xa9807935
cmovne eax, ecx
jmp 0x140048c10
cmp ecx, 0x7767d298
je 0x1400490ab
cmp ecx, 0x7776af0d
je 0x1400490c6
mov eax, ecx
cmp ecx, 0x7e065b08
jne 0x140048c10
mov rcx, qword [rbp - 0x48]
sub rsp, 0x20
mov edx, 0x4d5
xor r8d, r8d
call fcn.140049600
add rsp, 0x20
mov rdx, qword [rbp - 0x48]
sub rsp, 0x20
mov rcx, r14
call fcn.14004e670
add rsp, 0x20
mov byte [rbp - 0x14], al
mov eax, 0x5cf49139
jmp 0x140048c10
cmp ecx, 0x971537b8
je 0x1400490d0
mov eax, ecx
cmp ecx, 0xa9807935
jne 0x140048c10
mov rcx, qword [rbp - 0x40]
sub rsp, 0x20
mov edx, 0x2733
xor r8d, r8d
call fcn.140049600
add rsp, 0x20
mov eax, 0x4aff6756
jmp 0x140048c10
cmp ecx, 0x4aff6756
je 0x1400490e6
mov eax, ecx
cmp ecx, 0x5cf49139
jne 0x140048c10
mov rax, qword [rbp - 0x30]
mov eax, 0x282165ee
jmp 0x140048c10
cmp ecx, 0x73a25a4
je 0x140049107
mov eax, ecx
cmp ecx, 0xe631279
jne 0x140048c10
mov rax, qword [rbp - 0x28]
mov eax, 0x866c8004
jmp 0x140048c10
mov eax, r12d
cmp ecx, 0x5eb9d30f
je 0x140048c10
mov eax, ecx
cmp ecx, 0x5fc5247e
jne 0x140048c10
jmp 0x14004915d
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x68]
mov rax, qword [rbp - 0x50]
mov dword [rax], 0
mov r8, qword [rbp - 0x50]
sub rsp, 0x20
mov rcx, rbx
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x20
mov al, byte [rdi]
and al, 0xfc
mov byte [rbp - 0x15], al
mov eax, 0x1d927f14
jmp 0x140048c10
mov rax, qword [rbp - 0x70]
mov word [rax], 0
mov rax, qword [rbp - 0x38]
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x78], rax
mov ecx, 0x5b6e7709
cmp ecx, 0x2ffdab04
je 0x140049115
cmp ecx, 0x5b6e7709
jne 0x140048ff0
mov rcx, qword [rbp - 0x78]
movups xmmword [rcx], xmm6
mov qword [rax + 0x10], 0
mov ecx, 0x2ffdab04
jmp 0x140048ff0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov word [rbp - 0x10], 0
mov eax, 0x85a5a907
jmp 0x140048c10
mov eax, dword [rbp - 0x5c]
shr al, 3
and al, 1
mov byte [rbp - 0x12], al
mov eax, 0x971537b8
jmp 0x140048c10
lea rax, [rbp - 0xe]
mov qword [rbp - 0x70], rax
mov eax, 0x1fd7463d
jmp 0x140048c10
cmp byte [rbp - 0x13], 0
mov eax, 0x7e065b08
mov ecx, 0x73a25a4
cmovne eax, ecx
jmp 0x140048c10
mov al, byte [rbp - 0x15]
mov byte [rdi], al
sub rsp, 0x20
mov rcx, rbx
call r15
add rsp, 0x20
mov dword [rbp - 0x20], eax
mov eax, 0x60ee8e03
jmp 0x140048c10
mov eax, 0x8c42c477
jmp 0x140048c10
mov rax, qword [rbp - 0x30]
mov eax, 0xe631279
jmp 0x140048c10
sub rsp, 0x20
mov rcx, rbx
call r15
add rsp, 0x20
mov dword [rbp - 0x1c], eax
mov eax, 0x65abf76
jmp 0x140048c10
xor esi, esi
mov eax, r13d
jmp 0x140048c10
cmp byte [rbp - 0x12], 0
mov eax, 0x7767d298
mov ecx, 0xfad09a54
cmovne eax, ecx
jmp 0x140048c10
mov rdx, qword [rbp - 0x40]
sub rsp, 0x20
mov rcx, r14
call fcn.14004e670
add rsp, 0x20
mov byte [rbp - 0x13], al
mov eax, 0x11bb0d3a
jmp 0x140048c10
mov rax, qword [rbp - 0x30]
mov eax, 0x897f61b3
jmp 0x140048c10
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x58]
sub rsp, 0x40
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 4
mov rcx, rbx
mov rdx, rdi
mov r8d, 0xffff
mov r9d, 0x80
call fcn.14004dd30
add rsp, 0x40
mov rax, qword [rbp - 0x58]
mov eax, 0x7767d298
jmp 0x140048c10
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.1402e6030
add rsp, 0x20
mov eax, esi
movaps xmm6, xmmword [rbp]
lea rsp, [rbp + 0x18]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret