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

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x1008e11f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
push edi
lea eax, [esp + 0x18]
push eax
call fcn.1008f7b0
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
je 0x1008e13b
lea eax, [esp + 0x14]
jmp 0x1008e41b
cmp dword [0x10351dd8], 0x32
jb 0x1008e1dc
mov eax, dword [0x10351dd4]
mov dword [esp + 0x10], eax
mov esi, dword [eax]
cmp dword [esi + 0x1c], 0x10
lea ebp, [esi + 8]
jb 0x1008e15f
mov ebp, dword [esi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x18], ecx
jbe 0x1008e182
nop dword [eax + eax]
movzx eax, byte [ecx + ebp]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x18]
jb 0x1008e170
and edx, dword [0x10351de8]
mov eax, dword [0x10351ddc]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x1008e1ae
cmp eax, esi
jne 0x1008e1a6
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x1008e1b6
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x1008e1b6
cmp eax, esi
jne 0x1008e1b6
mov eax, dword [esi]
mov dword [ecx], eax
mov edx, dword [esi]
lea ecx, [esi + 8]
dec dword [0x10351dd8]
mov eax, dword [esi + 4]
mov dword [eax], edx
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
call fcn.10090510
push 0x24
push esi
call fcn.1011c1c8
add esp, 8
mov eax, dword [0x10189820]
mov ecx, dword [edi + 0x10]
mov esi, dword [eax]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xf
jb 0x1008e432
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1008e200
mov eax, dword [edi]
push ecx
push eax
push 0xf
push str.resource_flash_
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x50]
call fcn.10022ba0
push str._large.png
lea ecx, [esp + 0x3c]
call fcn.10019dd0
push str.GAME
lea edx, [esp + 0x24]
mov ecx, esi
push 0x1016d9f8
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x38], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esi]
cmovae edx, dword [esp + 0x28]
push edx
mov eax, dword [eax + 8]
call eax
mov edx, dword [esp + 0x34]
mov ebp, eax
cmp edx, 0x10
jb 0x1008e2a3
mov ecx, dword [esp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e299
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e437
push edx
push ecx
call fcn.1011c1c8
add esp, 8
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
cmp edx, 0x10
jb 0x1008e2ee
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e2e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e437
push edx
push ecx
call fcn.1011c1c8
add esp, 8
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
test ebp, ebp
je 0x1008e417
mov eax, dword [0x10189820]
push ebp
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov esi, eax
test esi, esi
je 0x1008e408
push esi
call fcn.1011c20b
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.1011df10
mov ecx, dword [0x10189820]
add esp, 0xc
mov ecx, dword [ecx]
push ebp
push esi
push ebx
mov edx, dword [ecx]
mov edx, dword [edx]
call edx
test eax, eax
jle 0x1008e3ff
mov ecx, dword [0x1018a32c]
lea edx, [esp + 0x14]
mov eax, dword fs:[0x2c]
push 4
push 0
mov dword [esp + 0x70], 0
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x60]
mov dword [esp + 0x80], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x114], ebx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 1
lea eax, [ebx + esi]
mov dword [esp + 0x118], eax
mov dword [esp + 0x110], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x110], ebx
call fcn.10088990
mov dword [esp + 0x10], eax
test eax, eax
je 0x1008e3ff
push edi
lea eax, [esp + 0x54]
push eax
call fcn.1008f7b0
push dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
call fcn.100fb000
push dword [esp + 0x10]
mov dword [esi + 0x20], eax
call fcn.10128249
add esp, 4
push ebx
call fcn.1011c1d6
add esp, 4
mov eax, dword [0x10189820]
push ebp
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea eax, [esp + 0x50]
push edi
push eax
call fcn.1008f7b0
pop edi
pop esi
pop ebp
mov eax, dword [eax]
pop ebx
mov eax, dword [eax + 0x20]
add esp, 0x10c
ret
call fcn.100037c0
call fcn.10120cee
int3