Function at 0x140054850
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rax, qword [0x140164040]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, r8
test r8, r8
jne 0x140054a65
mov eax, dword [0x14014f110]
xor ecx, ecx
cmp dword [0x140164090], 2
movups xmm0, xmmword [str.XAYUS_]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x14014f114]
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x54], al
jl 0x140054a04
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140150d30]
movdqa xmm4, xmmword [0x140150ef0]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movaps xmmword [rsp + 0x170], xmm6
movdqa xmm6, xmmword [0x140150d50]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400548f0
movaps xmm6, xmmword [rsp + 0x170]
cmp ecx, 0x15
jge 0x140054a3f
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x15
jl 0x140054a10
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rsp + 0x40]
call fcn.14009f930
lea rdx, [0x14009fb00]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140054ae6
mov qword [rsp + 0x28], r9
lea r8, [0x14012f5ca]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx eax, byte [0x14014fc98]
lea r9, [rbx + 4]
movsd xmm0, qword [0x14014fc90]
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x60]
xor byte [rsp + 0x31], 0x36
xor al, 0x3d
xor byte [rsp + 0x32], 0x37
mov r8, rbx
xor byte [rsp + 0x33], 0x38
xor byte [rsp + 0x34], 0x39
xor byte [rsp + 0x35], 0x3a
xor byte [rsp + 0x36], 0x3b
xor byte [rsp + 0x37], 0x3c
mov byte [rsp + 0x38], al
lea rax, [rbx + 8]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0x25
call fcn.14004ef00
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14010e270
add rsp, 0x188
pop rbx
pop rbp
ret