Function at 0x140101f60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
movaps xmmword [rax - 0x28], xmm6
xor esi, esi
movaps xmmword [rax - 0x38], xmm7
xor r9d, r9d
mov rax, qword [0x1408a67a0]
xor r8d, r8d
mov qword [rbp - 0x30], rax
mov edx, 1
lea rax, [0x1408a67b8]
mov qword [rbp - 0x4c], rsi
mov qword [rsp + 0x58], rax
xor ecx, ecx
lea rax, [rbp + 0x1e8]
mov qword [rbp - 0x38], 2
mov qword [rsp + 0x50], rax
lea rax, [0x1408a67b0]
mov qword [rsp + 0x48], rax
lea rax, [0x1408a67c0]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x1f8]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x20], 2
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x50], 0x1c
mov dword [rbp - 0x58], 0x3c
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x3c], 0x20
mov qword [rbp - 0x44], 1
mov qword [rbp - 0x28], 1
mov dword [rbp + 0x1f8], 0xb000
mov dword [rbp + 0x1fc], 0xa000
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
mov rcx, qword [0x1408a67c0]
lea r9, [rbp + 0x1f0]
lea r8, [0x14037d918]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x1408a67b0]
lea r9, [0x1408a67c8]
mov rdx, qword [rbp + 0x1f0]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x1f0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x30], 2
lea rcx, str.1.90.1
mov qword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov edx, 0x38e8
mov r9d, 8
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x464
call fcn.1400283c0
xor ecx, ecx
call fcn.140019410
call fcn.140019510
xor ecx, ecx
mov rdi, rax
or dword [rax], 3
call fcn.140049da0
lea rcx, [rbp + 0x80]
call fcn.1400525a0
lea rcx, [rbp + 0x110]
call fcn.1400525a0
mov rcx, qword [0x1408a67a0]
mov byte [rbp + 0x11c], sil
mov byte [rbp + 0xc8], 1
mov byte [rbp + 0xa0], 1
mov dword [rbp + 0x98], 2
mov dword [rbp + 0x9c], 2
call fcn.1400725b0
mov rdx, qword [0x1408a67b8]
mov rcx, qword [0x1408a67b0]
call fcn.140071110
mov rcx, qword [0x1408a67c0]
mov rax, qword [rcx]
lea r9, [rbp + 0x1f0]
lea r8, [0x14037d918]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1408a67b0]
lea r9, [0x1408a67c8]
mov rdx, qword [rbp + 0x1f0]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x1f0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x30], 2
lea rcx, str.1.90.1
mov qword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov edx, 0x38e8
mov r9d, 8
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x464
call fcn.1400283c0
xor ecx, ecx
call fcn.140019410
lea rcx, [rbp - 0x10]
call fcn.1400525a0
mov dword [rbp + 0x3c], 0x30c
mov rbx, qword [rdi + 0x30]
mov rcx, rbx
call fcn.140053f20
movss xmm3, dword [0x14038027c]
lea rdx, [0x1406bbbf0]
mov qword [rsp + 0x28], rax
mov r8d, 0x4cefc
lea rax, [rbp - 0x10]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400532b0
mov qword [0x1408a5828], rax
mov rbx, qword [rdi + 0x30]
mov rcx, rbx
call fcn.140053f20
movss xmm3, dword [0x14037a1b0]
lea rdx, [0x1406bbbf0]
mov qword [rsp + 0x28], rax
mov r8d, 0x4cefc
lea rax, [rbp - 0x10]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400532b0
mov qword [0x1408a5830], rax
mov rbx, qword [rdi + 0x30]
mov rcx, rbx
call fcn.140053f20
movss xmm3, dword [0x140372e10]
lea rdx, [0x14066e740]
mov qword [rsp + 0x28], rax
mov r8d, 0x4d4a8
lea rax, [rbp - 0x10]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400532b0
mov qword [0x1408a71c0], rax
mov rbx, qword [rdi + 0x30]
mov rcx, rbx
call fcn.140053f20
movss xmm6, dword [0x140380280]
lea rdx, [0x14066e740]
mov qword [rsp + 0x28], rax
movaps xmm3, xmm6
lea rax, [rbp - 0x10]
mov r8d, 0x4d4a8
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400532b0
mov qword [0x1408a5838], rax
mov rbx, qword [rdi + 0x30]
mov rcx, rbx
call fcn.140053f20
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
movaps xmm3, xmm6
mov qword [rsp + 0x20], rax
mov r8d, 0x1bdc
lea rdx, [0x140708af0]
mov rcx, rbx
call fcn.1400532b0
mov qword [0x14089fef8], rax
mov rbx, qword [rdi + 0x30]
mov rcx, rbx
call fcn.140053f20
movss xmm3, dword [0x140372e08]
lea rdx, [0x140708af0]
mov qword [rsp + 0x28], rax
mov r8d, 0x1bdc
lea rax, [rbp - 0x10]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400532b0
movups xmm3, xmmword [0x14037d960]
mov r8d, esi
mov ebx, dword [reloc.WS2_32.dll_accept]
movsd xmm0, qword [0x14037d970]
movdqa xmm7, xmmword [0x14037bad0]
mov qword [0x1408a71c8], rax
movzx eax, word [0x14037d978]
mov word [rsp + 0x78], ax
movzx eax, byte [0x14037d97a]
mov byte [rsp + 0x7a], al
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm3
cmp ebx, 2
jl 0x14010260b
movdqa xmm4, xmmword [0x140380750]
movdqa xmm2, xmmword [0x140379a20]
movdqa xmm5, xmmword [str.::::HKRC_NGO]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm6, xmmword [0x14037bae0]
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x14037ba90]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rsp + 0x60], xmm2
movdqa xmm2, xmmword [0x14037ba80]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
pmuldq xmm1, xmm4
movd xmm0, dword [rsp + 0x64]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x64], xmm2
movdqa xmm2, xmmword [0x14037baa0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0x68]
andps xmm3, xmm7
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x68], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
movdqa xmm3, xmmword [0x14037bab0]
mov r8d, 0x18
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rsp + 0x6c]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
pmuldq xmm1, xmm4
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x6c], xmm2
movdqa xmm2, xmmword [0x140380400]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0x70]
andps xmm3, xmm7
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x70], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x74]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rsp + 0x74], xmm2
mov eax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x140102620
movss xmm6, dword [0x14037a1b4]
lea rdx, [rsp + 0x60]
mov rcx, qword [rdi + 0x30]
movaps xmm2, xmm6
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call fcn.140053020
mov qword [0x1408a6900], rax
mov r8d, esi
mov eax, dword [0x14037d998]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x14037d99c]
mov byte [rbp - 0x64], al
movups xmm0, xmmword [0x14037d980]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x14037d990]
movsd qword [rbp - 0x70], xmm0
cmp ebx, 2
jl 0x1401027d2
movdqa xmm0, xmmword [0x14037bae0]
lea rcx, [rbp - 0x7c]
movdqa xmm4, xmmword [0x140379a20]
movdqa xmm3, xmmword [0x140380750]
movdqa xmm5, xmmword [str.::::HKRC_NGO]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1401026e1
cmp r8d, 0x1d
jge 0x140102814
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x1d
jl 0x1401027e0
mov rcx, qword [rdi + 0x30]
lea rdx, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
movaps xmm2, xmm6
call fcn.140053020
mov qword [0x1408a6908], rax
lea rdx, [0x14063c660]
mov rcx, qword [rdi + 0x30]
movaps xmm3, xmm6
mov qword [rsp + 0x28], rsi
mov r8d, 0xa0f8
mov qword [rsp + 0x20], rsi
call fcn.1400532b0
mov qword [0x1408a6910], rax
lea rdx, str.OTTO
mov rcx, qword [rdi + 0x30]
movaps xmm3, xmm6
mov qword [rsp + 0x28], rsi
mov r8d, 0x1b44c
mov qword [rsp + 0x20], rsi
call fcn.1400532b0
mov qword [0x1408a68e8], rax
lea rdx, [0x14070a6d0]
mov rcx, qword [rdi + 0x30]
movaps xmm3, xmm6
mov qword [rsp + 0x28], rsi
mov r8d, 0x947c
mov qword [rsp + 0x20], rsi
call fcn.1400532b0
movsd xmm0, qword [0x14037d9b0]
mov r8d, esi
mov qword [0x1408a68f8], rax
movzx eax, word [0x14037d9b8]
mov word [rsp + 0x78], ax
movzx eax, byte [0x14037d9ba]
mov byte [rsp + 0x7a], al
movsd qword [rsp + 0x70], xmm0
movups xmm6, xmmword [0x14037d9a0]
movups xmmword [rsp + 0x60], xmm6
cmp ebx, 2
jl 0x140102b76
movdqa xmm4, xmmword [0x140380750]
movdqa xmm3, xmmword [0x140379a20]
movdqa xmm2, xmmword [0x14037ba80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm5, xmmword [str.::::HKRC_NGO]
mov ecx, dword [0x14037bae0]
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
pmuldq xmm1, xmm4
andps xmm3, xmm7
movd xmm0, ecx
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x60], xmm3
movdqa xmm3, xmmword [0x14037ba90]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x64]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rsp + 0x64], xmm2
movdqa xmm2, xmmword [0x14037baa0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x68]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rsp + 0x68], xmm3
shufps xmm1, xmm0, 0xdd
movdqa xmm3, xmmword [0x14037bab0]
paddd xmm1, xmm2
psrad xmm1, 5
mov r8d, 0x18
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x6c]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rsp + 0x6c], xmm2
movdqa xmm2, xmmword [0x140380400]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x70]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rsp + 0x70], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x74]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x74], xmm2
mov eax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x140102b81
movss xmm2, dword [0x140372dfc]
lea rdx, [rsp + 0x60]
mov rcx, qword [rdi + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call fcn.140053020
mov rcx, qword [0x1408a67a0]
mov qword [0x1408a68d0], rax
call fcn.1400725b0
mov rdx, qword [0x1408a67b8]
mov rcx, qword [0x1408a67b0]
call fcn.140071110
mov rcx, qword [0x1408a67b0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea r11, [rsp + 0x2c0]
mov al, 1
mov rbx, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret