Function at 0x10049920
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 0x10049940
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 0x100499be
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 0x100499a5
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 0x10049a20
cmp ecx, dword [edi + 0x1c]
je 0x10049a20
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 0x10049a0d
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 0x10049a09
add esi, 4
cmp esi, edi
jne 0x100499f4
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__HV1__u_detail_sol__.0
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
cmp esi, ecx
je 0x10049a49
mov ecx, dword [esi]
mov dword [esi], eax
jmp 0x10049a73
mov dword [esp + 0x1c], eax
cmp ecx, dword [edi + 8]
je 0x10049a62
mov dword [esp + 0x1c], 0
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x10049a6f
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.1003cc20
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10049a7e
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 0x10049a91
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 0x10049ac4
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 0x10049afc
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 0x10049b34
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 0x10049b6c
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 0x10049ba3
cmp byte [edi + 0xc1], 0
mov byte [esp + 0x19], 0
jne 0x10049ba8
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 0x10049bcb
cmp byte [esp + 0x16], 0
mov ecx, 0x1004ee00
je 0x10049bd0
mov ecx, 0x1004ee00
mov dh, byte [esp + 0x1a]
mov dword [esp + 0x4c], ecx
test dh, dh
jne 0x10049be7
mov eax, 0x1004eef0
cmp byte [esp + 0x18], dh
je 0x10049bec
mov eax, 0x1004eef0
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], 0x1004ef00
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 0x10049cba
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa8], edx
cmp byte [esp + 0x1a], 0
je 0x10049ccd
mov dword [edi + 0xa4], eax
mov dword [edi + 0xac], edx
cmp byte [esp + 0x16], 0
je 0x10049ce0
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb8], edx
cmp byte [esp + 0x18], 0
je 0x10049cf3
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 0x10049d6a
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10049d60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049d60
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