Function at 0x1800c2ec0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsd xmm0, qword [0x180149dd8]
mov rdx, rax
ucomisd xmm0, qword [0x18012de98]
jp 0x1800c2f19
jne 0x1800c2f19
lea rcx, [rax + 0xb5022d4]
lea r9, [rax + 0xb501e68]
mov qword [0x18014b918], rcx
lea rcx, [rax + 0xb4d1e04]
mov qword [0x18014b910], r9
mov qword [0x18014b928], rcx
mov qword [0x18014b920], r9
jmp 0x1800c327c
ucomisd xmm0, qword [0x18012de40]
jp 0x1800c2f61
jne 0x1800c2f61
lea r9, [rax + 0x6ad0958]
add rax, 0x6ad0be4
mov qword [0x18014b918], rax
lea rcx, [rdx + 0x6ab25bc]
lea rax, [rdx + 0x6ad09d8]
mov qword [0x18014b910], r9
mov qword [0x18014b920], rax
mov qword [0x18014b928], rcx
jmp 0x1800c327c
ucomisd xmm0, qword [0x18012de20]
jp 0x1800c2fa9
jne 0x1800c2fa9
lea r9, [rax + 0x5cd2b88]
add rax, 0x5cd2e90
mov qword [0x18014b918], rax
lea rcx, [rdx + 0x5cbc4ac]
lea rax, [rdx + 0x5cd2cb8]
mov qword [0x18014b910], r9
mov qword [0x18014b920], rax
mov qword [0x18014b928], rcx
jmp 0x1800c327c
cmp dword [0x180149de0], 0x13
jne 0x1800c31a3
mov eax, dword [0x180129a20]
xor r8d, r8d
cmp dword [0x180148090], 2
movups xmm0, xmmword [0x180129a00]
mov dword [rsp + 0x50], eax
movups xmm1, xmmword [str._vvcpsf]
movzx eax, byte [0x180129a24]
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x54], al
movups xmmword [rsp + 0x40], xmm1
jl 0x1800c311e
movdqa xmm0, xmmword [0x18012e230]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x18012e1e0]
nop
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
psrad xmm1, 4
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
psrad xmm1, 4
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, 0x20
jl 0x1800c3030
movaps xmm7, xmmword [rsp + 0x60]
cmp r8d, 0x25
jge 0x1800c3161
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x25
jl 0x1800c3130
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.180038a30
mov rcx, rax
mov r9, qword [rax]
test r9, r9
je 0x1800c318f
movsxd rax, dword [r9 + 1]
add r9, 5
add r9, rax
mov qword [rcx], r9
movsd xmm0, qword [0x180149dd8]
mov qword [0x18014b910], r9
jmp 0x1800c3275
ucomisd xmm0, qword [0x18012de00]
jp 0x1800c31eb
jne 0x1800c31eb
lea r9, [rax + 0x416a840]
add rax, 0x416aab8
mov qword [0x18014b918], rax
lea rcx, [rdx + 0x41624c8]
lea rax, [rdx + 0x416a93c]
mov qword [0x18014b910], r9
mov qword [0x18014b920], rax
mov qword [0x18014b928], rcx
jmp 0x1800c327c
ucomisd xmm0, qword [0x18012ddf8]
jp 0x1800c3230
jne 0x1800c3230
lea r9, [rax + 0x3e5496c]
add rax, 0x3e54bcc
mov qword [0x18014b918], rax
lea rcx, [rdx + 0x3e4d768]
lea rax, [rdx + 0x3e54a68]
mov qword [0x18014b910], r9
mov qword [0x18014b920], rax
mov qword [0x18014b928], rcx
jmp 0x1800c327c
ucomisd xmm0, qword [0x18012dde8]
jp 0x1800c326e
jne 0x1800c326e
lea r9, [rax + 0x3decfc8]
add rax, 0x3ded158
lea rcx, [rdx + 0x3de5ce8]
mov qword [0x18014b918], rax
mov qword [0x18014b910], r9
mov qword [0x18014b920], r9
mov qword [0x18014b928], rcx
jmp 0x1800c327c
mov r9, qword [0x18014b910]
mov rcx, qword [0x18014b928]
test r9, r9
je 0x1800c32b3
xor r8d, r8d
lea rdx, [fcn.1800ab580]
mov rcx, r9
call fcn.1800e6ed8
mov rcx, qword [0x18014b910]
mov edx, 1
call fcn.1800e717c
movsd xmm0, qword [0x180149dd8]
mov rcx, qword [0x18014b928]
mov rax, qword [0x18014b918]
test rax, rax
je 0x1800c32f1
xor r8d, r8d
lea rdx, [fcn.1800ab580]
mov rcx, rax
call fcn.1800e6ed8
mov rcx, qword [0x18014b918]
mov edx, 1
call fcn.1800e717c
movsd xmm0, qword [0x180149dd8]
mov rcx, qword [0x18014b928]
mov rax, qword [0x18014b920]
test rax, rax
je 0x1800c332f
xor r8d, r8d
lea rdx, [fcn.1800ab580]
mov rcx, rax
call fcn.1800e6ed8
mov rcx, qword [0x18014b920]
mov edx, 1
call fcn.1800e717c
movsd xmm0, qword [0x180149dd8]
mov rcx, qword [0x18014b928]
test rcx, rcx
je 0x1800c337d
comisd xmm0, xmmword [0x18012de98]
lea rdx, [0x1800c1e90]
jb 0x1800c3355
mov qword [0x18014b938], rcx
lea r8, [0x18014b938]
jmp 0x1800c3363
mov qword [0x18014b930], rcx
lea r8, [0x18014b930]
call fcn.1800e6ed8
mov rcx, qword [0x18014b928]
mov edx, 1
add rsp, 0x78
jmp fcn.1800e717c
add rsp, 0x78
ret