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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov edx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, edx
mov dword [esp + 0x1c], edi
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100477c0
sub ecx, esi
mov dword [esp + 0x30], 0
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
push edx
lea ecx, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
call fcn.10003d20
cmp dword [esp + 0x34], 0xf
lea eax, [edi + 0x18]
mov esi, dword [edi + 4]
mov edx, 0x811c9dc5
mov dword [esp + 0x40], eax
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], eax
test eax, eax
je 0x1004783e
mov edi, dword [esp + 0x44]
mov esi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10047825
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [edi + 0x18]
call fcn.10035730
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100478a0
cmp ecx, dword [edi + 0x1c]
je 0x100478a0
mov eax, dword [ecx + 0x18]
mov edi, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov esi, dword [esi]
cmp esi, edi
je 0x1004788d
mov dword [esp + 0x44], ecx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp dword [esp + 0x58], eax
je 0x10047889
add esi, 4
cmp esi, edi
jne 0x10047874
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push eax
call fcn.100357d0
mov edi, dword [esp + 0x1c]
push 8
call fcn.101832c9
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0x40], eax
mov dword [eax], vtable.._AU__binding___BY07DPQc_usercmd__HV1__u_detail_sol__.0
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x100478c9
mov ecx, dword [esi]
mov dword [esi], eax
jmp 0x100478f3
mov dword [esp + 0x1c], eax
cmp ecx, dword [edi + 8]
je 0x100478e2
mov dword [esp + 0x1c], 0
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x100478ef
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.1003b550
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100478fe
mov eax, dword [ecx]
push 1
call dword [eax + 4]
call fcn.1002a390
mov edx, dword [eax + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x10047911
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.100165e0
add esp, 8
mov byte [esp + 0x17], al
call fcn.1002a390
mov edx, dword [eax + 0x40]
add eax, 0x30
cmp dword [eax + 0x14], 0xf
jbe 0x10047944
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.100165e0
add esp, 8
mov byte [esp + 0x1a], al
call fcn.1002a390
mov edx, dword [eax + 0x358]
add eax, 0x348
cmp dword [eax + 0x14], 0xf
jbe 0x1004797c
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.100165e0
add esp, 8
mov byte [esp + 0x16], al
call fcn.1002a390
mov edx, dword [eax + 0x370]
add eax, 0x360
cmp dword [eax + 0x14], 0xf
jbe 0x100479b4
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.100165e0
add esp, 8
mov byte [esp + 0x18], al
call fcn.1002a390
mov edx, dword [eax + 0x1d8]
add eax, 0x1c8
cmp dword [eax + 0x14], 0xf
jbe 0x100479ec
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push edx
cmova ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
call fcn.100165e0
add esp, 8
mov byte [esp + 0x1b], al
cmp byte [edi + 0xc0], 0
je 0x10047a23
cmp byte [edi + 0xc1], 0
mov byte [esp + 0x19], 0
jne 0x10047a28
mov byte [esp + 0x19], 1
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp byte [esp + 0x17], 0
mov edx, eax
mov dword [esp + 0x54], edx
jne 0x10047a4b
cmp byte [esp + 0x16], 0
mov ecx, 0x1004d7f0
je 0x10047a50
mov ecx, 0x1004d7f0
mov dh, byte [esp + 0x1a]
mov dword [esp + 0x4c], ecx
test dh, dh
jne 0x10047a67
mov eax, 0x1004d8e0
cmp byte [esp + 0x18], dh
je 0x10047a6c
mov eax, 0x1004d8e0
cmp byte [esp + 0x17], 0
mov dl, byte [esp + 0x1b]
mov byte [esp + 0x60], dl
mov dl, byte [esp + 0x17]
mov byte [esp + 0x61], dl
mov dl, byte [esp + 0x16]
mov byte [esp + 0x63], dl
mov dl, byte [esp + 0x18]
mov byte [esp + 0x64], dl
mov dl, byte [esp + 0x19]
mov byte [esp + 0x62], dh
mov byte [esp + 0x65], dl
lea edx, [esp + 0x20]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov word [esp + 0x66], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x1004d8f0
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0x10035890
mov dword [esp + 0x84], 0x100358a0
mov dword [esp + 0x88], 0x100358b0
mov dword [esp + 0x8c], 0x100358c0
mov dword [esp + 0x90], 0x1002bbf0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
je 0x10047b3a
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa8], edx
cmp byte [esp + 0x1a], 0
je 0x10047b4d
mov dword [edi + 0xa4], eax
mov dword [edi + 0xac], edx
cmp byte [esp + 0x16], 0
je 0x10047b60
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb8], edx
cmp byte [esp + 0x18], 0
je 0x10047b73
mov dword [edi + 0xb4], eax
mov dword [edi + 0xbc], edx
lea eax, [esp + 0x60]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.100358d0
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
push dword [esp + 0x30]
cmova eax, dword [esp + 0x24]
movq xmm0, qword [esp + 0x50]
push eax
mov eax, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.1002b5b0
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x10047bea
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047be0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047be0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10183618
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc