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

Disassembly:
sub esp, 0x114
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x10188d07
xor eax, eax
jmp 0x10189064
push edi
lea eax, [esp + 0x18]
push eax
call fcn.10189ba0
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
je 0x10188d23
lea eax, [esp + 0x14]
jmp 0x10189058
cmp dword [0x103dc558], 0x32
jb 0x10188dc0
mov eax, dword [0x103dc554]
mov dword [esp + 0x10], eax
mov esi, dword [eax]
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
mov ebp, dword [esi + 0x18]
jbe 0x10188d4a
mov ebx, dword [esi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebp, ebp
je 0x10188d66
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebp
jb 0x10188d55
and edx, dword [0x103dc568]
mov eax, dword [0x103dc55c]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x10188d92
cmp eax, esi
jne 0x10188d8a
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x10188d9a
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x10188d9a
cmp eax, esi
jne 0x10188d9a
mov eax, dword [esi]
mov dword [ecx], eax
mov edx, dword [esi]
lea ecx, [esi + 8]
dec dword [0x103dc558]
mov eax, dword [esi + 4]
mov dword [eax], edx
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
call fcn.1018b4f0
push 0x24
push esi
call fcn.1018e573
add esp, 8
mov eax, dword [0x10214410]
mov ecx, dword [edi + 0x10]
mov ebx, dword [eax]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xf
jb 0x1018907d
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x10188de4
mov eax, dword [edi]
push ecx
push eax
push 0xf
push str.resource_flash_
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x58]
call fcn.10028b10
mov edx, dword [esp + 0x54]
mov eax, edx
mov ecx, dword [esp + 0x50]
sub eax, ecx
push 0xa
push str._large.png
cmp eax, 0xa
jb 0x10188e3b
cmp edx, 0xf
lea esi, [esp + 0x48]
lea eax, [ecx + 0xa]
cmova esi, dword [esp + 0x48]
add esi, ecx
mov dword [esp + 0x58], eax
push esi
call fcn.1018faa0
add esp, 0xc
mov byte [esi + 0xa], 0
lea eax, [esp + 0x40]
jmp 0x10188e4a
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push 0xa
call fcn.10027540
mov dword [esp + 0x38], 0
lea edx, [esp + 0x28]
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x28], xmm0
push str.GAME
movups xmm0, xmmword [eax]
push 0x101c4b94
mov ecx, ebx
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [esp + 0x44], 0xf
mov eax, dword [ebx]
cmova edx, dword [esp + 0x30]
push edx
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0x3c]
mov ebp, eax
cmp ecx, 0xf
jbe 0x10188ee0
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10188ed6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10189082
push ecx
push edx
call fcn.1018e573
add esp, 8
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp ecx, 0xf
jbe 0x10188f2b
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10188f21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10189082
push ecx
push edx
call fcn.1018e573
add esp, 8
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
test ebp, ebp
je 0x10189054
mov eax, dword [0x10214410]
push ebp
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov esi, eax
test esi, esi
je 0x10189045
push esi
call fcn.1018e5b6
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.10190020
mov ecx, dword [0x10214410]
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 0x1018903c
mov ecx, dword [0x1021551c]
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.10183250
mov dword [esp + 0x10], eax
test eax, eax
je 0x1018903c
push edi
lea eax, [esp + 0x24]
push eax
call fcn.10189ba0
push dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
call fcn.1015eef0
push dword [esp + 0x10]
mov dword [esi + 0x20], eax
call fcn.1019ac09
add esp, 4
push ebx
call fcn.1018e581
add esp, 4
mov eax, dword [0x10214410]
push ebp
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea eax, [esp + 0x20]
push edi
push eax
call fcn.10189ba0
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1018e27a
add esp, 0x114
ret
call fcn.10003270
call fcn.101936a6
int3