Function at 0x1800826c0
Capabilities:
Encode data using xor
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1800df010]
xor rax, rsp
mov qword [rbp - 0x20], rax
call fcn.18001ab80
call fcn.180021370
test eax, eax
jne 0x18001d173
movups xmm0, xmmword [0x1800b6838]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x1800b6848]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x1800b684c]
mov byte [rsp + 0x64], al
xor edi, edi
mov r8d, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18001d087
movdqa xmm5, xmmword [0x1800b9500]
movdqa xmm4, xmmword [0x1800b95a0]
mov r13d, 4
movd xmm6, r13d
movdqa xmm7, xmmword [0x1800b9520]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
nop word [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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x18001cf80
cmp r8d, 0x15
jge 0x18001d0d0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x15
jl 0x18001d0a0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], dil
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x18001d100
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.180009130
nop
lea rdx, [rbp - 0x58]
xor ecx, ecx
call fcn.180039830
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18001d162
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d15d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001dccc
call fcn.18009d5c8
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
jmp 0x18001dce3
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x80]
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rcx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
xor edi, edi
mov qword [rbp - 0x48], rdi
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rcx
movdqu xmmword [rbp - 0x38], xmm1
mov qword [rbp - 0x28], rdi
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
mov r9, qword [0x1800e3460]
mov r8, rax
mov rdx, r15
call fcn.180021430
mov r14, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x50]
cmp r14, rbx
jne 0x18001d41d
movups xmm0, xmmword [0x1800b6e40]
movups xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [0x1800b6e50]
movsd qword [rsp + 0x60], xmm1
movzx eax, word [0x1800b6e58]
mov word [rsp + 0x68], ax
lea r13d, [rdi + 4]
lea r12d, [rdi + 0x1f]
mov eax, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1800b6e59], dil
je 0x18001d3c0
mov r8d, edi
cmp eax, 2
jl 0x18001d377
movdqa xmm5, xmmword [0x1800b9500]
movdqa xmm4, xmmword [0x1800b95a0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1800b9520]
movd xmm8, r12d
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
nop dword [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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x18001d270
cmp r8d, 0x1a
jge 0x18001d3c0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x18001d390
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18001d3f1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180009130
nop
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.180039830
nop
jmp 0x18001d698
mov rsi, qword [0x1800e3430]
mov qword [0x1800e3438], rsi
sub rbx, r14
mov rdx, rbx
sar rdx, 3
mov rax, qword [0x1800e3440]
sub rax, rsi
sar rax, 3
cmp rdx, rax
jbe 0x18001d45b
lea rcx, [0x1800e3430]
call fcn.1800761a0
mov rsi, qword [0x1800e3430]
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi]
mov qword [0x1800e3438], rax
movups xmm0, xmmword [str.kWSKYO]
movups xmmword [rsp + 0x50], xmm0
movzx eax, word [0x1800b6d60]
mov word [rsp + 0x60], ax
mov r13d, 4
lea r12d, [r13 + 0x1b]
mov eax, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1800b6d61], 0
je 0x18001d640
mov r8d, edi
cmp eax, 2
jl 0x18001d5f7
movdqa xmm5, xmmword [0x1800b9500]
movdqa xmm4, xmmword [0x1800b95a0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1800b9520]
movd xmm8, r12d
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
nop
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x18001d4f0
cmp r8d, 0x12
jge 0x18001d640
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x18001d610
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18001d671
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180009130
nop
lea rdx, [rsp + 0x30]
mov cl, 1
call fcn.180039830
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18001d6d5
inc rdx
mov rcx, qword [rsp + 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x18001d6d0
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001dc80
call fcn.18009d5c8
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [0x1800e34a8]
mov r8, qword [rsp + 0x70]
mov rdx, r15
call fcn.180021430
mov rsi, qword [rbp - 0x38]
mov r15, qword [rbp - 0x30]
cmp rsi, r15
jne 0x18001d9cc
movups xmm0, xmmword [0x1800b6a08]
movups xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [0x1800b6a18]
movsd qword [rsp + 0x60], xmm1
movzx eax, word [0x1800b6a20]
mov word [rsp + 0x68], ax
movzx eax, byte [0x1800b6a22]
mov byte [rsp + 0x6a], al
mov r8d, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18001d897
movdqa xmm5, xmmword [0x1800b9500]
movdqa xmm4, xmmword [0x1800b95a0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1800b9520]
movd xmm8, r12d
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x18001d790
cmp r8d, 0x1b
jge 0x18001d8e0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1b
jl 0x18001d8b0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18001d907
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180009130
nop
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.180039830
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18001d96d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d968
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001dc80
call fcn.18009d5c8
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], rdi
test rsi, rsi
je 0x18001dc9b
mov rax, qword [rbp - 0x28]
sub rax, rsi
sar rax, 3
lea rdx, [rax*8]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18001dc87
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001dc87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r12, qword [0x1800e3448]
mov qword [0x1800e3450], r12
sub r15, rsi
mov rdx, r15
sar rdx, 3
mov rax, qword [0x1800e3458]
sub rax, r12
sar rax, 3
cmp rdx, rax
jbe 0x18001da0a
lea rcx, [0x1800e3448]
call fcn.1800761a0
mov r12, qword [0x1800e3448]
mov r8, r15
mov rdx, rsi
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + r12]
mov qword [0x1800e3450], rax
movups xmm0, xmmword [str.XIO]
movups xmmword [rsp + 0x50], xmm0
movzx eax, word [0x1800b4ed0]
mov word [rsp + 0x60], ax
movzx eax, byte [0x1800b4ed2]
mov byte [rsp + 0x62], al
mov r8d, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18001dba7
movdqa xmm5, xmmword [0x1800b9500]
movdqa xmm4, xmmword [0x1800b95a0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1800b9520]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800b9580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x18001daa0
cmp r8d, 0x13
jge 0x18001dbf0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x18001dbc0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18001dc17
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180009130
nop
lea rdx, [rsp + 0x30]
mov cl, 1
call fcn.180039830
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18001d96d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d968
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d968
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rsi
call fcn.18009d5c8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
test r14, r14
je 0x18001dce7
mov rdx, qword [rbp - 0x48]
sub rdx, r14
and rdx, 0xfffffffffffffff8
mov rax, r14
cmp rdx, 0x1000
jb 0x18001dcd3
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001dcd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.18009d5c8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rdi
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.18009ce50
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
jmp 0x18001ceb0