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

Disassembly:
sub esp, 0x114
mov eax, dword [0x1020f0c0]
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 0x1019c7a7
xor eax, eax
jmp 0x1019cb04
push edi
lea eax, [esp + 0x18]
push eax
call fcn.1019d640
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
je 0x1019c7c3
lea eax, [esp + 0x14]
jmp 0x1019caf8
cmp dword [0x10522408], 0x32
jb 0x1019c860
mov eax, dword [0x10522404]
mov dword [esp + 0x10], eax
mov esi, dword [eax]
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
mov ebp, dword [esi + 0x18]
jbe 0x1019c7ea
mov ebx, dword [esi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebp, ebp
je 0x1019c806
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebp
jb 0x1019c7f5
and edx, dword [0x10522418]
mov eax, dword [0x1052240c]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x1019c832
cmp eax, esi
jne 0x1019c82a
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x1019c83a
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x1019c83a
cmp eax, esi
jne 0x1019c83a
mov eax, dword [esi]
mov dword [ecx], eax
mov edx, dword [esi]
lea ecx, [esi + 8]
dec dword [0x10522408]
mov eax, dword [esi + 4]
mov dword [eax], edx
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
call fcn.1019ef90
push 0x24
push esi
call fcn.101a201e
add esp, 8
mov eax, dword [0x1022ccd0]
mov ecx, dword [edi + 0x10]
mov ebx, dword [eax]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xf
jb 0x1019cb1d
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x1019c884
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.1002aa60
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 0x1019c8db
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.101a3550
add esp, 0xc
mov byte [esi + 0xa], 0
lea eax, [esp + 0x40]
jmp 0x1019c8ea
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push 0xa
call fcn.10029490
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 0x101d8d64
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 0x1019c980
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1019c976
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1019cb22
push ecx
push edx
call fcn.101a201e
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 0x1019c9cb
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1019c9c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1019cb22
push ecx
push edx
call fcn.101a201e
add esp, 8
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
test ebp, ebp
je 0x1019caf4
mov eax, dword [0x1022ccd0]
push ebp
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov esi, eax
test esi, esi
je 0x1019cae5
push esi
call fcn.101a2061
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.101a3ad0
mov ecx, dword [0x1022ccd0]
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 0x1019cadc
mov ecx, dword [0x1022e69c]
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.10196660
mov dword [esp + 0x10], eax
test eax, eax
je 0x1019cadc
push edi
lea eax, [esp + 0x24]
push eax
call fcn.1019d640
push dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
call fcn.10171800
push dword [esp + 0x10]
mov dword [esi + 0x20], eax
call fcn.101ae6b9
add esp, 4
push ebx
call fcn.101a202c
add esp, 4
mov eax, dword [0x1022ccd0]
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.1019d640
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.101a1d25
add esp, 0x114
ret
call fcn.10003660
call fcn.101a7156
int3