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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca5bd
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100e1040]
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 - 0x7c], edx
mov edi, ecx
mov dword [ebp - 0x5c], edi
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.1003d500
mov esi, dword [ebp - 0x1c]
test al, al
jne 0x100471e7
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test esi, esi
je 0x100471ca
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100471c0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047511
push ecx
push esi
call fcn.100c58e7
add esp, 8
mov eax, edi
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.100c546c
mov esp, ebp
pop ebp
ret
mov eax, esi
mov dword [ebp - 0x58], esi
cmp eax, dword [ebp - 0x18]
je 0x100474b8
nop word [eax + eax]
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 0x100472a0
movups xmmword [ebp - 0x94], xmm0
mov byte [ebp - 0x94], cl
xor edi, edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], 0xf
call fcn.10044c30
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10047426
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047291
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047511
push ecx
push edx
call fcn.100c58e7
add esp, 8
jmp 0x10047426
movzx eax, word [ecx + 0x2c]
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
call fcn.10045000
lea ecx, [ebp - 0x4c]
call fcn.10044c30
movups xmm0, xmmword [ebp - 0x78]
xor eax, eax
lea ecx, [ebp - 0x78]
mov word [ebp - 0x78], ax
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
call fcn.10044c30
cmp dword [ebp - 0x38], 7
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
cmova ecx, dword [ebp - 0x4c]
seta byte [ebp - 0x4d]
cmp byte [ebp - 0x4d], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x4c]
cmovne ecx, dword [ebp - 0x4c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.10044c90
push eax
lea ecx, [ebp - 0x34]
call fcn.10037b50
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x10047362
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047358
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047511
push ecx
push edx
call fcn.100c58e7
add esp, 8
cmp dword [ebp - 0x20], 0xf
lea edi, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
seta cl
cmova edi, esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
test cl, cl
je 0x10047392
add eax, esi
jmp 0x10047397
add eax, edx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x54], eax
cmp esi, eax
je 0x100473b6
sub edi, esi
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 0x100473a0
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
call fcn.10044c30
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10047420
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047416
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047511
push ecx
push edx
call fcn.100c58e7
add esp, 8
mov edi, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 0x94]
cmp edx, 0xf
mov dword [ebp - 0x54], ecx
mov esi, 0x811c9dc5
cmova eax, ecx
xor ecx, ecx
test edi, edi
je 0x10047464
mov edx, eax
nop dword [eax + eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x10047450
mov edx, dword [ebp - 0x80]
cmp edx, 0xf
jbe 0x1004749b
mov eax, dword [ebp - 0x54]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x10047491
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x54], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x10047511
mov eax, dword [ebp - 0x54]
push edx
push eax
call fcn.100c58e7
add esp, 8
mov eax, dword [ebp - 0x58]
cmp esi, dword [ebp - 0x7c]
je 0x10047517
add eax, 0xc
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x18]
jne 0x10047200
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x5c]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test esi, esi
je 0x100471ca
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100471c0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100471c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [ebp - 0x5c]
movq xmm0, qword [eax]
mov esi, dword [ebp - 0x1c]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jmp 0x10047183