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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c492d
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100e2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], edx
mov esi, ecx
mov dword [ebp - 0x5c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.1004dc00
test al, al
jne 0x1005a49d
lea ecx, [ebp - 0x1c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10054340
jmp 0x1005a7c1
mov edi, dword [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0x58], edi
cmp eax, dword [ebp - 0x18]
je 0x1005a749
nop
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], cx
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
jne 0x1005a54d
movups xmmword [ebp - 0x90], xmm0
mov byte [ebp - 0x90], cl
xor edi, edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 0xf
call fcn.1002f860
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1005a6c0
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a53e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a796
push ecx
push edx
call fcn.100bfaf1
add esp, 8
jmp 0x1005a6c0
movzx eax, word [ecx + 0x2c]
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
call fcn.10054730
lea ecx, [ebp - 0x4c]
call fcn.1002f860
movups xmm0, xmmword [ebp - 0x74]
xor eax, eax
lea ecx, [ebp - 0x74]
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
call fcn.1002f860
cmp dword [ebp - 0x38], 7
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
cmova ecx, dword [ebp - 0x4c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x4c]
cmova ecx, dword [ebp - 0x4c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.100543f0
push eax
lea ecx, [ebp - 0x34]
call fcn.1004db80
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1005a607
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a5fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a796
push ecx
push edx
call fcn.100bfaf1
add esp, 8
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
cmova eax, edx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x50], eax
cmova ecx, edx
mov eax, dword [ebp - 0x24]
add eax, ecx
cmp dword [ebp - 0x20], 0xf
mov dword [ebp - 0x54], eax
cmova esi, edx
cmp esi, eax
je 0x1005a656
mov edi, dword [ebp - 0x50]
sub edi, esi
nop dword [eax + eax]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x54]
jne 0x1005a640
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
call fcn.1002f860
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1005a6bd
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a6b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a796
push ecx
push edx
call fcn.100bfaf1
add esp, 8
mov edi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x90]
cmp edx, 0xf
mov dword [ebp - 0x50], ecx
mov esi, 0x811c9dc5
cmova eax, ecx
xor ecx, ecx
test edi, edi
je 0x1005a6f9
mov edx, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1005a6e5
mov edx, dword [ebp - 0x7c]
cmp edx, 0xf
jbe 0x1005a72c
mov eax, dword [ebp - 0x50]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x1005a722
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x50], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x1005a796
mov eax, dword [ebp - 0x50]
push edx
push eax
call fcn.100bfaf1
add esp, 8
mov eax, dword [ebp - 0x58]
cmp esi, dword [ebp - 0x78]
je 0x1005a79c
add eax, 0xc
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x18]
jne 0x1005a4b0
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x1c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x1005a7c1
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1005a7b7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a7b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x1c]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
call fcn.10054340
jmp 0x1005a7c1
push ecx
push edi
call fcn.100bfaf1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bf676
mov esp, ebp
pop ebp
ret