Function at 0x1001ca27
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a937d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx eax, ax
push eax
push str._04X
lea eax, [ebp - 0x18]
push 5
push eax
call fcn.10025620
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], 0
add esp, 0x10
lea edx, [ecx + 1]
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c925
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10018c10
mov eax, dword [ebp + 0xc]
add eax, 0xffffffd0
mov dword [ebp - 4], 0
cmp eax, 0xae
ja case.0x1001c95a.58
movzx eax, byte [eax + 0x1001cbc4]
jmp dword [eax*4 + 0x1001cb6c]
mov dword [ebp + 0xc], 0x30
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x31
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x32
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x33
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x34
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x35
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x36
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x37
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x38
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x39
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x60
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x2d
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x3d
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x2c
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x2e
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x2f
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x3b
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x27
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x5b
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x5d
jmp case.0x1001c95a.58
mov dword [ebp + 0xc], 0x5c
cmp dword [ebp - 0x24], 0xf
mov edx, 0x811c9dc5
push esi
mov esi, dword [ebp - 0x38]
push edi
lea edi, [ebp - 0x38]
cmova edi, esi
xor ecx, ecx
cmp dword [ebp - 0x28], ecx
jbe 0x1001ca62
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x28]
jb 0x1001ca50
push edx
lea eax, [ebp - 0x38]
mov ecx, 0x102260dc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10018d90
mov edi, dword [0x102260e0]
mov eax, dword [eax + 4]
test eax, eax
cmovne edi, eax
cmp edi, dword [0x102260e0]
je 0x1001cb30
mov eax, dword [ebp + 0xc]
add edi, 0x20
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 0xd]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10018e80
mov eax, dword [eax + 4]
test eax, eax
je 0x1001cb30
cmp eax, dword [edi + 4]
je 0x1001cb30
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.100210a0
cmp byte [ebp + 0x10], 0
je 0x1001cadf
add eax, 2
movzx eax, word [eax]
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.1001dc90
mov eax, dword [ebp - 0x24]
add esp, 8
cmp eax, 0xf
jbe 0x1001cb1e
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1001cb14
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cb64
push ecx
push esi
call fcn.1017821e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.1001dc90
mov eax, dword [ebp - 0x24]
add esp, 8
cmp eax, 0xf
jbe 0x1001cb1e
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1001cb14
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001cb14
call fcn.1018070f
nop dword [eax]
popal
leave
add dword [eax], edx
insd dword es:[edi], dx
leave
add dword [eax], edx
jns 0x1001cb3f
add dword [eax], edx
test ecx, ecx
add dword [eax], edx
xchg ecx, eax
leave
add dword [eax], edx
popfd
leave
add dword [eax], edx
test eax, 0xb21001c9
leave
add dword [eax], edx
mov ebx, 0xc41001c9
leave
add dword [eax], edx
add ecx, edx
add dword [eax], edx
invalid