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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, esi
mov dword [ebp - 0x38], ecx
push edi
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4f5a10
sub edx, ecx
lea ecx, [ebp - 0x68]
push edx
push esi
call fcn.00414570
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x50]
call fcn.004141c0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 8], 0
je 0x4f5be4
push 1
push 0x721444
lea ecx, [ebp - 0x50]
call fcn.00413010
mov edi, dword [ebx + 4]
mov dword [ebp + 8], edi
mov esi, dword [edi]
cmp esi, edi
je 0x4f5be4
nop dword [eax + eax]
lea ebx, [esi + 8]
push ebx
lea ecx, [ebp - 0x8c]
call fcn.004141c0
mov ebx, dword [ebx + 0x18]
lea edi, [ebp - 0x8f]
mov dword [ebp - 0x74], ebx
nop dword [eax + eax]
mov eax, 0xcccccccd
dec edi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [edi], bl
mov ebx, edx
test ebx, ebx
jne 0x4f5a80
mov dword [ebp - 0x6c], edi
lea eax, [ebp - 0x8f]
mov ecx, dword [ebp - 0x6c]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
movups xmmword [ebp - 0x34], xmm0
cmp ecx, eax
jne 0x4f5ace
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], dl
jmp 0x4f5ae0
lea eax, [ebp - 0x8f]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00414570
cmp dword [ebp - 0x78], 0xf
lea eax, [ebp - 0x8c]
push dword [ebp - 0x7c]
cmova eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x34]
push eax
push 0
call fcn.0042bd10
lea ecx, [ebp - 0x1c]
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc], xmm0
cmp dword [ebp - 8], 0xf
push dword [ebp - 0xc]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movd eax, xmm1
movups xmmword [ebp - 0x1c], xmm1
cmova ecx, eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00413010
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x4f5b6f
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f5b65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5e93
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x4f5ba3
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f5b99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5e93
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x4f5bda
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f5bd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5e93
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x4f5a60
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x4f5c03
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f5bf0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x50]
call fcn.00413010
mov esi, dword [ebp - 0x3c]
lea edi, [ebp - 0x50]
mov ebx, dword [ebp - 0x40]
cmp esi, 0xf
mov edx, 0x811c9dc5
cmova edi, dword [ebp - 0x50]
xor ecx, ecx
test ebx, ebx
je 0x4f5c31
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4f5c20
mov ebx, dword [ebp - 0x38]
lea eax, [ebp - 0x50]
push edx
push eax
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.004100f0
mov edi, dword [eax + 4]
test edi, edi
je 0x4f5c58
cmp edi, dword [ebx + 4]
je 0x4f5c58
mov edi, dword [edi + 0x20]
jmp 0x4f5e19
push 0x734cae
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
and dword [ebp - 0x2c], 0xfffffeff
push str.combos
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00465fd0
mov edi, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp + 8], edx
mov edi, dword [edi + 4]
mov esi, dword [edi]
cmp esi, edi
je 0x4f5d7f
nop
mov eax, dword [esi + 0x20]
lea ecx, [esi + 8]
mov byte [ebp - 0x14], 2
and dword [ebp - 0x14], 0xfffffeff
cmp dword [ecx + 0x14], 0xf
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
jbe 0x4f5cdf
add eax, dword [ecx]
mov ecx, dword [ecx]
jmp 0x4f5ce1
add eax, ecx
push eax
push ecx
mov ecx, edx
call fcn.00465fd0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00464cb0
lea ecx, [ebp - 0x1c]
call fcn.00465f40
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4f5d6f
mov eax, 3
lea ebx, [ecx + 0x48]
nop word [eax + eax]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 0x18]
dec eax
mov dword [ebp + 0xc], eax
cmp ecx, 0xf
jbe 0x4f5d4d
mov eax, dword [ebx]
inc ecx
cmp ecx, 0x1000
jb 0x4f5d40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5e93
mov eax, edx
push ecx
push eax
call fcn.005ab85c
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
test eax, eax
jne 0x4f5d10
push 0x48
push dword [ebp - 0x10]
call fcn.005ab85c
add esp, 8
mov esi, dword [esi]
mov edx, dword [ebp + 8]
cmp esi, edi
jne 0x4f5ca0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4f5dbf
push eax
lea ecx, [ebp - 0x1c]
call fcn.004649b0
push 0x734cc2
push str.shader
lea ecx, [ebp - 0x34]
call fcn.00465fd0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00464cb0
lea ecx, [ebp - 0x1c]
call fcn.00465f40
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4f5dbf
push eax
call fcn.004672a0
cmp dword [ebp - 0x54], 0xf
lea esi, [ebp - 0x68]
push 0x218
cmova esi, dword [ebp - 0x68]
call fcn.005ab82c
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
push dword [ebx + 0x40]
mov ecx, eax
push 0
push esi
call fcn.004f7590
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x50]
push eax
or dword [edi + 0x16c], 0x1000
call fcn.004ab410
lea ecx, [ebp - 0x34]
mov dword [eax], edi
call fcn.00465f40
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4f5e16
push eax
call fcn.004672a0
mov esi, dword [ebp - 0x3c]
cmp esi, 0xf
jbe 0x4f5e46
mov ecx, dword [ebp - 0x50]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x4f5e3c
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5e93
push esi
push ecx
call fcn.005ab85c
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0xf
jbe 0x4f5e88
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f5e7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5e93
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.005c695f
int3