Function at 0x1800c09a0
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x90
mov rax, qword [0x180127040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ecx, ecx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsd xmm0, qword [0x180128c98]
mov rdx, rax
ucomisd xmm0, qword [0x180110a68]
jp 0x1800c0a0f
jne 0x1800c0a0f
lea rcx, [rax + 0xb5022d4]
lea rdi, [rax + 0xb501e68]
mov qword [0x18012a030], rcx
lea rcx, [rax + 0xb4d1e04]
mov qword [0x18012a028], rdi
mov qword [0x18012a040], rcx
mov qword [0x18012a038], rdi
jmp 0x1800c0e9f
ucomisd xmm0, qword [0x180110a20]
jp 0x1800c0a57
jne 0x1800c0a57
lea rdi, [rax + 0x6ad0958]
add rax, 0x6ad0be4
mov qword [0x18012a030], rax
lea rcx, [rdx + 0x6ab25bc]
lea rax, [rdx + 0x6ad09d8]
mov qword [0x18012a028], rdi
mov qword [0x18012a038], rax
mov qword [0x18012a040], rcx
jmp 0x1800c0e9f
ucomisd xmm0, qword [0x180110a00]
jp 0x1800c0a9f
jne 0x1800c0a9f
lea rdi, [rax + 0x5cd2b88]
add rax, 0x5cd2e90
mov qword [0x18012a030], rax
lea rcx, [rdx + 0x5cbc4ac]
lea rax, [rdx + 0x5cd2cb8]
mov qword [0x18012a028], rdi
mov qword [0x18012a038], rax
mov qword [0x18012a040], rcx
jmp 0x1800c0e9f
cmp dword [0x180128da4], 0x13
jne 0x1800c0dc6
cmp dword [0x180127018], 2
mov r8d, edi
mov eax, dword [0x18010ee40]
movups xmm0, xmmword [0x18010ee20]
mov qword [rsp + 0xa0], rbx
movups xmm1, xmmword [0x18010ee30]
mov dword [rsp + 0x70], eax
movzx eax, byte [0x18010ee44]
mov qword [rsp + 0xa8], rbp
movups xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x74], al
movups xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0xb0], rsi
jl 0x1800c0c57
movdqa xmm0, xmmword [0x180110f70]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111060]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x180110ea0]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 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 [0x180110f50]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x1800c0b40
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x25
jge 0x1800c0ca4
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [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, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x25
jl 0x1800c0c70
mov rcx, qword [0x180128be8]
mov ebp, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180128be8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x50]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180021880
mov rcx, qword [0x180128be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x38]
mov r9d, edi
mov r11, qword [rsp + 0x30]
mov rsi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x1800c0d49
mov edx, edi
test r10, r10
je 0x1800c0d30
mov rax, rdi
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x1800c0d27
cmp r8d, 0xffffffff
jne 0x1800c0d36
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800c0d10
test ebp, ebp
jle 0x1800c0d43
dec ebp
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x1800c0d03
jmp 0x1800c0d49
mov edi, r9d
add rdi, rsi
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
test r11, r11
je 0x1800c0da2
mov rdx, qword [rsp + 0x40]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800c0d9a
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c0d9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d3c10
test rdi, rdi
je 0x1800c0db2
movsxd rax, dword [rdi + 1]
add rdi, 5
add rdi, rax
movsd xmm0, qword [0x180128c98]
mov qword [0x18012a028], rdi
jmp 0x1800c0e98
ucomisd xmm0, qword [0x1801109e0]
jp 0x1800c0e0e
jne 0x1800c0e0e
lea rdi, [rax + 0x416a840]
add rax, 0x416aab8
mov qword [0x18012a030], rax
lea rcx, [rdx + 0x41624c8]
lea rax, [rdx + 0x416a93c]
mov qword [0x18012a028], rdi
mov qword [0x18012a038], rax
mov qword [0x18012a040], rcx
jmp 0x1800c0e9f
ucomisd xmm0, qword [0x1801109d8]
jp 0x1800c0e53
jne 0x1800c0e53
lea rdi, [rax + 0x3e5496c]
add rax, 0x3e54bcc
mov qword [0x18012a030], rax
lea rcx, [rdx + 0x3e4d768]
lea rax, [rdx + 0x3e54a68]
mov qword [0x18012a028], rdi
mov qword [0x18012a038], rax
mov qword [0x18012a040], rcx
jmp 0x1800c0e9f
ucomisd xmm0, qword [0x1801109c8]
jp 0x1800c0e91
jne 0x1800c0e91
lea rdi, [rax + 0x3decfc8]
add rax, 0x3ded158
lea rcx, [rdx + 0x3de5ce8]
mov qword [0x18012a030], rax
mov qword [0x18012a028], rdi
mov qword [0x18012a038], rdi
mov qword [0x18012a040], rcx
jmp 0x1800c0e9f
mov rdi, qword [0x18012a028]
mov rcx, qword [0x18012a040]
test rdi, rdi
je 0x1800c0ed1
xor r8d, r8d
lea rdx, [fcn.1800a3930]
mov rcx, rdi
call fcn.1800ce6ac
mov rcx, qword [0x18012a028]
call fcn.1800ce944
movsd xmm0, qword [0x180128c98]
mov rcx, qword [0x18012a040]
mov rax, qword [0x18012a030]
test rax, rax
je 0x1800c0f0a
xor r8d, r8d
lea rdx, [fcn.1800a3930]
mov rcx, rax
call fcn.1800ce6ac
mov rcx, qword [0x18012a030]
call fcn.1800ce944
movsd xmm0, qword [0x180128c98]
mov rcx, qword [0x18012a040]
mov rax, qword [0x18012a038]
test rax, rax
je 0x1800c0f43
xor r8d, r8d
lea rdx, [fcn.1800a3930]
mov rcx, rax
call fcn.1800ce6ac
mov rcx, qword [0x18012a038]
call fcn.1800ce944
movsd xmm0, qword [0x180128c98]
mov rcx, qword [0x18012a040]
test rcx, rcx
je 0x1800c0f88
comisd xmm0, xmmword [0x180110a68]
lea rdx, [0x1800c0960]
jb 0x1800c0f69
mov qword [0x18012a050], rcx
lea r8, [0x18012a050]
jmp 0x1800c0f77
mov qword [0x18012a048], rcx
lea r8, [0x18012a048]
call fcn.1800ce6ac
mov rcx, qword [0x18012a040]
call fcn.1800ce944
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800d3880
add rsp, 0x90
pop rdi
ret