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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101058ad
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x1015d3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.10023160
lea ecx, [esi + esi*2]
cmp dword [eax + ecx*8 + 0x14], 0xf
lea eax, [eax + ecx*8]
mov ecx, eax
jbe 0x10047883
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xorps xmm0, xmm0
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10003780
cmp dword [ebp - 0x14], 0xf
lea eax, [edi + 0x18]
mov esi, dword [edi + 4]
mov edx, 0x811c9dc5
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100478f7
mov edi, dword [ebp - 0x44]
mov esi, eax
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100478e0
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x18]
call fcn.10013b50
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x10047918
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x34], eax
cmp eax, dword [edi + 0x1c]
je 0x10047959
mov edi, dword [edi]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x44], ecx
cmp edi, esi
je 0x10047947
nop dword [eax]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x44], eax
je 0x10047944
add edi, 4
cmp edi, esi
jne 0x10047930
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100163e0
mov esi, edi
mov edi, dword [ebp - 0x3c]
push 8
call fcn.100d3795
mov ecx, eax
mov dword [ebp - 0x44], eax
add esp, 4
test ecx, ecx
je 0x1004797c
mov eax, dword [ebp + 0x10]
mov dword [ecx], vtable.._AU__binding_W4meta_function_sol__P8guid128_t__AE_AV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__XZU3__u_detail_sol__.0
mov eax, dword [eax]
mov dword [ecx + 4], eax
jmp 0x10047981
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov eax, dword [edi + 4]
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], edi
cmp esi, eax
je 0x10047ad3
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x100479a6
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
call fcn.10023160
cmp dword [eax + 0x2c], 0xf
mov edx, dword [eax + 0x28]
lea ecx, [eax + 0x18]
jbe 0x100479bc
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x2c], al
call fcn.10023160
cmp dword [eax + 0x44], 0xf
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x30]
jbe 0x100479eb
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x29], al
call fcn.10023160
cmp dword [eax + 0x35c], 0xf
mov edx, dword [eax + 0x358]
lea ecx, [eax + 0x348]
jbe 0x10047a23
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x2a], al
call fcn.10023160
cmp dword [eax + 0x374], 0xf
mov edx, dword [eax + 0x370]
lea ecx, [eax + 0x360]
jbe 0x10047a5b
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x2b], al
call fcn.10023160
cmp dword [eax + 0x1dc], 0xf
mov edx, dword [eax + 0x1d8]
lea ecx, [eax + 0x1c8]
jbe 0x10047a93
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100141a0
add esp, 0x10
mov byte [ebp - 0x35], al
cmp byte [esi + 0xc0], 0
je 0x10047ac1
cmp byte [esi + 0xc1], 0
jne 0x10047acd
cmp byte [ebp - 0x2c], 0
jne 0x10047b18
cmp byte [ebp - 0x29], 0
jne 0x10047b18
mov byte [ebp - 0x2d], 0
jmp 0x10047b1c
mov dword [ebp - 0x34], ecx
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp eax, dword [esi + 8]
je 0x10047af1
mov dword [ebp - 0x34], 0
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047afd
lea ecx, [ebp - 0x34]
push ecx
push eax
mov ecx, esi
call fcn.10013870
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100479a9
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x100479a9
mov byte [ebp - 0x2d], 1
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov edx, eax
mov dword [ebp - 0x4c], edx
mov dh, byte [ebp - 0x2c]
test dh, dh
jne 0x10047b3b
mov ecx, 0x1003f110
cmp byte [ebp - 0x2a], dh
je 0x10047b40
mov ecx, 0x1003a750
cmp byte [ebp - 0x29], 0
mov dword [ebp - 0x54], ecx
jne 0x10047b54
cmp byte [ebp - 0x2b], 0
mov eax, 0x1003f110
je 0x10047b59
mov eax, 0x1003a750
mov dl, byte [ebp - 0x35]
lea esi, [ebp - 0x28]
mov byte [ebp - 0xa0], dl
test dh, dh
mov dl, byte [ebp - 0x29]
mov byte [ebp - 0x9e], dl
mov dl, byte [ebp - 0x2a]
mov byte [ebp - 0x9d], dl
mov dl, byte [ebp - 0x2b]
mov dword [ebp - 0x98], esi
lea esi, [ebp - 0x54]
mov byte [ebp - 0x9c], dl
mov dl, byte [ebp - 0x2d]
mov dword [ebp - 0x8c], esi
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 0x9f], dh
mov byte [ebp - 0x9b], dl
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov word [ebp - 0x9a], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0x10039bc0
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], 0x10016760
mov dword [ebp - 0x7c], 0x10016740
mov dword [ebp - 0x78], 0x10016be0
mov dword [ebp - 0x74], 0x10016bc0
mov dword [ebp - 0x70], 0x10021cb0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
je 0x10047c18
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa8], edx
cmp byte [ebp - 0x29], 0
je 0x10047c2a
mov dword [esi + 0xa4], eax
mov dword [esi + 0xac], edx
cmp byte [ebp - 0x2a], 0
je 0x10047c3c
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb8], edx
cmp byte [ebp - 0x2b], 0
je 0x10047c4e
mov dword [esi + 0xb4], eax
mov dword [esi + 0xbc], edx
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
push dword [ebp - 0x58]
call fcn.10016480
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
movq xmm0, qword [ebp - 0x54]
cmova esi, dword [ebp - 0x28]
sub esp, 0xc
mov eax, dword [ebp - 0x4c]
mov edx, esp
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x18]
movq qword [edx], xmm0
push esi
mov dword [edx + 8], eax
call fcn.10021590
test edi, edi
je 0x10047c97
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10047cc7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047cbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047ce4
push ecx
push edx
call fcn.100d37c5
add esp, 8
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.100d37d3
mov esp, ebp
pop ebp
ret 0xc
call fcn.100d9c9a
int3