Function at 0x10047cf0
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 0x10047d10
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.10003bc0
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 0x10047d8e
mov edi, dword [esp + 0x44]
mov esi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10047d75
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.10036e00
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10047df0
cmp ecx, dword [edi + 0x1c]
je 0x10047df0
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 0x10047ddd
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 0x10047dd9
add esi, 4
cmp esi, edi
jne 0x10047dc4
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push eax
call fcn.10036ea0
mov edi, dword [esp + 0x1c]
push 8
call fcn.1018b313
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0x40], eax
mov dword [eax], vtable.._AU__binding___BY0N_DPQc_usercmd__Vvec3_t__V1__u_detail_sol__.0
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x10047e19
mov ecx, dword [esi]
mov dword [esi], eax
jmp 0x10047e43
mov dword [esp + 0x1c], eax
cmp ecx, dword [edi + 8]
je 0x10047e32
mov dword [esp + 0x1c], 0
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x10047e3f
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.1003cc20
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10047e4e
mov eax, dword [ecx]
push 1
call dword [eax + 4]
call fcn.1002adc0
mov edx, dword [eax + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x10047e61
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.10014090
add esp, 8
mov byte [esp + 0x17], al
call fcn.1002adc0
mov edx, dword [eax + 0x40]
add eax, 0x30
cmp dword [eax + 0x14], 0xf
jbe 0x10047e94
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.10014090
add esp, 8
mov byte [esp + 0x1a], al
call fcn.1002adc0
mov edx, dword [eax + 0x358]
add eax, 0x348
cmp dword [eax + 0x14], 0xf
jbe 0x10047ecc
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.10014090
add esp, 8
mov byte [esp + 0x16], al
call fcn.1002adc0
mov edx, dword [eax + 0x370]
add eax, 0x360
cmp dword [eax + 0x14], 0xf
jbe 0x10047f04
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.10014090
add esp, 8
mov byte [esp + 0x18], al
call fcn.1002adc0
mov edx, dword [eax + 0x1d8]
add eax, 0x1c8
cmp dword [eax + 0x14], 0xf
jbe 0x10047f3c
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.10014090
add esp, 8
mov byte [esp + 0x1b], al
cmp byte [edi + 0xc0], 0
je 0x10047f73
cmp byte [edi + 0xc1], 0
mov byte [esp + 0x19], 0
jne 0x10047f78
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 0x10047f9b
cmp byte [esp + 0x16], 0
mov ecx, 0x1004ee10
je 0x10047fa0
mov ecx, 0x1004ee10
mov dh, byte [esp + 0x1a]
mov dword [esp + 0x4c], ecx
test dh, dh
jne 0x10047fb7
mov eax, 0x1004ee20
cmp byte [esp + 0x18], dh
je 0x10047fbc
mov eax, 0x1004ee20
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], 0x1004ee70
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0x10036f60
mov dword [esp + 0x84], 0x10036f70
mov dword [esp + 0x88], 0x10036f80
mov dword [esp + 0x8c], 0x10036f90
mov dword [esp + 0x90], 0x1002c5d0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
je 0x1004808a
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa8], edx
cmp byte [esp + 0x1a], 0
je 0x1004809d
mov dword [edi + 0xa4], eax
mov dword [edi + 0xac], edx
cmp byte [esp + 0x16], 0
je 0x100480b0
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb8], edx
cmp byte [esp + 0x18], 0
je 0x100480c3
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.10036fa0
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.1002bf90
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1004813a
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048130
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048130
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1018b662
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc