Function at 0x140050e50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor esi, esi
movups xmm0, xmmword [0x14013caf0]
movups xmmword [rsp + 0x20], xmm0
mov ecx, dword [0x14013cb00]
mov dword [rsp + 0x30], ecx
movzx eax, word [0x14013cb04]
mov edi, 0x78
mov word [rsp + 0x20], di
xor word [rsp + 0x22], 0x36
xor word [rsp + 0x24], 0x37
xor word [rsp + 0x26], 0x38
xor word [rsp + 0x28], 0x39
xor word [rsp + 0x2a], 0x3a
xor word [rsp + 0x2c], 0x3b
xor word [rsp + 0x2e], 0x3c
xor cx, 0x3d
mov word [rsp + 0x30], cx
xor word [rsp + 0x32], 0x3e
xor ax, 0x3f
mov word [rsp + 0x34], ax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], si
jne 0x140050f13
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x70]
call fcn.1400594c0
nop
lea rcx, [rbp + 0x70]
call fcn.140050c60
test al, al
je 0x14005105f
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov ecx, Ordinal_50
call fcn.1400be058
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.140057a20
nop
lea rcx, [rsp + 0x40]
call fcn.140050890
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140058ea0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140051018
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051013
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051013
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
call fcn.140050950
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [0x1400d1746]
lea rcx, [rsp + 0x40]
call fcn.140059750
lea rdx, [rsp + 0x40]
lea rcx, [0x1401731b0]
call fcn.140063bd0
nop
lea rcx, [rsp + 0x70]
call fcn.140052190
movups xmm0, xmmword [0x14013be08]
movups xmmword [rsp + 0x20], xmm0
mov ecx, dword [0x14013be18]
mov dword [rsp + 0x30], ecx
movzx eax, word [0x14013be1c]
mov word [rsp + 0x20], di
xor word [rsp + 0x22], 0x36
xor word [rsp + 0x24], 0x37
xor word [rsp + 0x26], 0x38
xor word [rsp + 0x28], 0x39
xor word [rsp + 0x2a], 0x3a
xor word [rsp + 0x2c], 0x3b
xor word [rsp + 0x2e], 0x3c
xor cx, 0x3d
mov word [rsp + 0x30], cx
xor word [rsp + 0x32], 0x3e
xor ax, 0x3f
mov word [rsp + 0x34], ax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400510e0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x50]
call fcn.1400594c0
nop
lea rcx, [rbp + 0x50]
call fcn.140050c60
test al, al
je 0x14005122d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov ecx, Ordinal_50
call fcn.1400be058
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.140057a20
nop
lea rcx, [rsp + 0x40]
call fcn.140050890
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140058ea0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400511e6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400511e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400511e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
call fcn.140050950
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [0x1400d1746]
lea rcx, [rsp + 0x40]
call fcn.140059750
lea rdx, [rsp + 0x40]
lea rcx, [0x1401731b0]
call fcn.140063bd0
nop
lea rcx, [rsp + 0x70]
call fcn.140052190
movups xmm0, xmmword [str.QXdH_]
movups xmmword [rsp + 0x20], xmm0
mov eax, dword [0x14013c730]
mov dword [rsp + 0x30], eax
cmp word [0x14013c732], 0
je 0x14005128d
mov eax, 0x64
mov word [rsp + 0x20], ax
xor word [rsp + 0x22], 0x36
xor word [rsp + 0x24], 0x37
xor word [rsp + 0x26], 0x38
xor word [rsp + 0x28], 0x39
xor word [rsp + 0x2a], 0x3a
xor word [rsp + 0x2c], 0x3b
xor word [rsp + 0x2e], 0x3c
xor word [rsp + 0x30], 0x3d
xor word [rsp + 0x32], 0x3e
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1400512a4
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x30]
call fcn.1400594c0
nop
lea rcx, [rbp + 0x30]
call fcn.140050c60
test al, al
je 0x1400513f1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov ecx, Ordinal_50
call fcn.1400be058
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.140057a20
nop
lea rcx, [rsp + 0x40]
call fcn.140050890
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140058ea0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400513aa
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400513a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400513a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
call fcn.140050950
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [0x1400d1746]
lea rcx, [rsp + 0x40]
call fcn.140059750
lea rdx, [rsp + 0x40]
lea rcx, [0x1401731b0]
call fcn.140063bd0
nop
lea rcx, [rsp + 0x70]
call fcn.140052190
movups xmm3, xmmword [str.wSVUHeD_v_n]
movups xmmword [rsp + 0x20], xmm3
movsd xmm0, qword [0x14013c160]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x14013c168]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14013c16c]
mov word [rsp + 0x3c], ax
mov r8d, esi
mov edi, dword [reloc.WS2_32.dll_accept]
cmp edi, 2
jl 0x140051515
movdqa xmm4, xmmword [0x14013d030]
movdqa xmm2, xmmword [0x14013cf70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14013cf90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14013cfa0]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x14013cf80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14013cf90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14013cfa0]
movq xmm0, qword [rsp + 0x28]
xorps xmm2, xmm0
movq qword [rsp + 0x28], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x140051530
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140051580
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x10]
call fcn.1400594c0
nop
lea rcx, [rbp + 0x10]
call fcn.140050c60
test al, al
je 0x1400516cd
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov ecx, Ordinal_50
call fcn.1400be058
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.140057a20
nop
lea rcx, [rsp + 0x40]
call fcn.140050890
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140058ea0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140051686
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051681
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051681
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
call fcn.140050950
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [0x1400d1746]
lea rcx, [rsp + 0x40]
call fcn.140059750
lea rdx, [rsp + 0x40]
lea rcx, [0x1401731b0]
call fcn.140063bd0
nop
lea rcx, [rsp + 0x70]
call fcn.140052190
movups xmm7, xmmword [str.wSVUHeD]
movups xmmword [rsp + 0x20], xmm7
movsd xmm0, qword [0x14013c560]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x14013c568]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14013c56c]
mov word [rsp + 0x3c], ax
mov r8d, esi
cmp edi, 2
jl 0x1400517f3
movdqa xmm4, xmmword [0x14013d030]
movdqa xmm6, xmmword [0x14013cfa0]
movdqa xmm2, xmmword [0x14013cf70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14013cf90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x14013cf80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14013cf90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x28]
xorps xmm3, xmm0
movq qword [rsp + 0x28], xmm3
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x140051800
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140051850
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400594c0
nop
lea rcx, [rbp - 0x10]
call fcn.140050c60
test al, al
je 0x14005199d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov ecx, Ordinal_50
call fcn.1400be058
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.140057a20
nop
lea rcx, [rsp + 0x40]
call fcn.140050890
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140058ea0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140051956
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051951
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051951
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
call fcn.140050950
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [0x1400d1746]
lea rcx, [rsp + 0x40]
call fcn.140059750
lea rdx, [rsp + 0x40]
lea rcx, [0x1401731b0]
call fcn.140063bd0
nop
lea rcx, [rsp + 0x70]
call fcn.140052190
movups xmm0, xmmword [str.bch_YIZYZ2]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14013ca98]
movups xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [0x14013caa8]
movsd qword [rsp + 0x60], xmm0
mov r8d, esi
cmp edi, 2
jl 0x140051aef
movdqa xmm5, xmmword [0x14013cf70]
movdqa xmm4, xmmword [0x14013d030]
movdqa xmm6, xmmword [0x14013cf90]
movdqa xmm7, xmmword [0x14013cfa0]
lea rcx, [rsp + 0x40]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x10
jl 0x140051a00
cmp r8d, 0x14
jge 0x140051b34
movsxd rax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x14
jl 0x140051b00
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140051b50
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400594c0
nop
lea rcx, [rbp - 0x30]
call fcn.140050c60
test al, al
je 0x140051c9d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov ecx, Ordinal_50
call fcn.1400be058
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.140057a20
nop
lea rcx, [rsp + 0x40]
call fcn.140050890
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140058ea0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140051c56
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051c51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051c51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
call fcn.140050950
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [0x1400d1746]
lea rcx, [rsp + 0x40]
call fcn.140059750
lea rdx, [rsp + 0x40]
lea rcx, [0x1401731b0]
call fcn.140063bd0
nop
lea rcx, [rsp + 0x70]
call fcn.140052190
movups xmm7, xmmword [str.s___HZ]
movups xmmword [rsp + 0x20], xmm7
movsd xmm0, qword [0x14013c830]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x14013c838]
mov word [rsp + 0x38], ax
mov r8d, esi
cmp edi, 2
jl 0x140051db9
movdqa xmm4, xmmword [0x14013d030]
movdqa xmm6, xmmword [0x14013cfa0]
movdqa xmm2, xmmword [0x14013cf70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14013cf90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x14013cf80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14013cf90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x28]
xorps xmm3, xmm0
movq qword [rsp + 0x28], xmm3
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xd
jl 0x140051dd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rsp + 0x20]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140051e20
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.1400594c0
nop
lea rcx, [rbp - 0x50]
call fcn.140050c60
test al, al
je 0x140051f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov ecx, Ordinal_50
call fcn.1400be058
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x58], 8
mov dword [rsp + 0x70], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.140057a20
nop
lea rcx, [rsp + 0x40]
call fcn.140050890
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140058ea0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140051f28
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051f23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051f23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
call fcn.140050950
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [0x1400d1746]
lea rcx, [rsp + 0x40]
call fcn.140059750
lea rdx, [rsp + 0x40]
lea rcx, [0x1401731b0]
call fcn.140063bd0
nop
lea rcx, [rsp + 0x70]
call fcn.140052190
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140051fb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051fae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051fae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140051ff8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051ff2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051ff2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14005203c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052036
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140052080
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005207a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005207a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x1400520c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400520be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400520be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140052108
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052102
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052102
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x14005214e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052149
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052149
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd44
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400bd930
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret