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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dfe13
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x101053c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x268], 0
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x1008f80e
cmp dword [0x10105e5c], 0
je 0x1008f80e
mov edi, dword [eax + 8]
mov eax, dword [0x101345bc]
test al, 1
jne 0x1008ebbe
or eax, 1
mov dword [0x101345bc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10049bf0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101345c0
call fcn.1004a020
push 0x100e1a50
call fcn.100af17d
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101345c0]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x1008ec4d
test esi, esi
je 0x1008ec4d
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008ec4d
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008ec2a
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008ec04
xor edx, edx
test ecx, ecx
je 0x1008ec2a
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008ec11
cmp edi, 0xd791104e
je 0x1008ec45
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008ec4d
mov esi, dword [ebp - 0x260]
jmp 0x1008ebe6
mov ecx, dword [ebp - 0x258]
jmp 0x1008ec4f
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008ec59.2
jmp dword [eax*4 + 0x1008f868]
push dword [ecx + 4]
call fcn.100c0208
add esp, 4
mov edx, eax
jmp 0x1008ec96
push dword [ecx + 8]
call fcn.100c01c9
add esp, 4
mov edx, eax
jmp 0x1008ec96
vxorps xmm0, xmm0, xmm0
vroundss xmm0, xmm0, dword [ecx + 0xc], 1
vcvttss2si edx, xmm0
jmp 0x1008ec96
xor edx, edx
jmp 0x1008ec96
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1013047c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x14]
mov ecx, dword [0x101345bc]
mov dword [ebp - 0x268], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x1008ecfa
or ecx, 1
mov dword [0x101345bc], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10049bf0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101345c0
call fcn.1004a020
push 0x100e1a50
call fcn.100af17d
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101345c0]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x1008ed8d
test esi, esi
je 0x1008ed8d
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008ed8d
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008ed6a
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008ed44
xor edx, edx
test ecx, ecx
je 0x1008ed6a
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008ed51
cmp edi, 0x11ab48ff
je 0x1008ed85
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008ed8d
mov esi, dword [ebp - 0x260]
jmp 0x1008ed26
mov ecx, dword [ebp - 0x258]
jmp 0x1008ed8f
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008ed99.2
jmp dword [eax*4 + 0x1008f884]
push dword [ecx + 4]
call fcn.100c0208
add esp, 4
mov edx, eax
jmp 0x1008edd6
push dword [ecx + 8]
call fcn.100c01c9
add esp, 4
mov edx, eax
jmp 0x1008edd6
vxorps xmm0, xmm0, xmm0
vroundss xmm0, xmm0, dword [ecx + 0xc], 1
vcvttss2si edx, xmm0
jmp 0x1008edd6
xor edx, edx
jmp 0x1008edd6
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1013047c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x268]
mov esi, eax
mov dword [ebp - 0x25c], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1008f80e
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1008f80e
mov ecx, dword [0x1013047c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1008f80e
mov ecx, dword [0x1013047c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1008f80e
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x101345bc]
test al, 1
jne 0x1008ee81
or eax, 1
mov dword [0x101345bc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.10049bf0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101345c0
call fcn.1004a020
push 0x100e1a50
call fcn.100af17d
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101345c0]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x1008ef1c
test esi, esi
je 0x1008ef1c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008ef1c
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008eef9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008eed0
xor edx, edx
test ecx, ecx
je 0x1008eef9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008eee0
cmp edi, 0x2a7e565d
je 0x1008ef14
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008ef1c
mov esi, dword [ebp - 0x260]
jmp 0x1008eeb0
mov ecx, dword [ebp - 0x258]
jmp 0x1008ef1e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008ef28.2
jmp dword [eax*4 + 0x1008f8a0]
push dword [ecx + 4]
call fcn.100c0208
add esp, 4
mov esi, eax
jmp 0x1008ef73
push dword [ecx + 8]
call fcn.100c01c9
add esp, 4
mov dword [ebp - 0x264], eax
mov esi, eax
jmp 0x1008ef79
vxorps xmm0, xmm0, xmm0
vroundss xmm0, xmm0, dword [ecx + 0xc], 1
vcvttss2si esi, xmm0
jmp 0x1008ef73
mov dword [ebp - 0x264], 0
jmp 0x1008ef82
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x264], esi
cmp esi, 0xa
je 0x1008f80e
mov ecx, dword [0x10130480]
mov edi, dword [ebp - 0x25c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x260], eax
test eax, eax
je 0x1008f80e
mov esi, dword [0x1013047c]
lea eax, [ebp - 0x23c]
push eax
push edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
call edx
test al, al
je 0x1008f80e
vpxor xmm0, xmm0, xmm0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x244], 0
vmovdqu xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x240], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008eff0
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.1002dad0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x254]
mov ecx, 0x18
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x244], ecx
vpxor xmm0, xmm0, xmm0
cmovb ecx, dword [ebp - 0x244]
cmp dword [ebp - 0x240], 0xf
push ecx
cmova eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x34]
push eax
vmovdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
call fcn.1002dad0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x268], 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.100330e0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1008f0a1
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f097
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f860
push ecx
push edx
call fcn.100af192
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x240]
cmp ecx, 0xf
jbe 0x1008f0df
mov edx, dword [ebp - 0x254]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f0d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f860
push ecx
push edx
call fcn.100af192
add esp, 8
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x101345bc]
test al, 1
jne 0x1008f12c
or eax, 1
mov dword [0x101345bc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.10049bf0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101345c0
call fcn.1004a020
push 0x100e1a50
call fcn.100af17d
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101345c0]
call eax
mov esi, eax
mov dword [ebp - 0x25c], esi
test edi, edi
je 0x1008f1bc
test esi, esi
je 0x1008f1bc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008f1bc
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008f199
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008f172
xor edx, edx
test ecx, ecx
je 0x1008f199
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008f180
cmp edi, 0xa0d9523e
je 0x1008f1b4
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x1008f1bc
mov esi, dword [ebp - 0x25c]
jmp 0x1008f154
mov ecx, dword [ebp - 0x258]
jmp 0x1008f1be
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008f1c8.2
jmp dword [eax*4 + 0x1008f8bc]
push dword [ecx + 4]
call fcn.100c0208
add esp, 4
jmp 0x1008f201
push dword [ecx + 8]
call fcn.100c01c9
add esp, 4
jmp 0x1008f201
vxorps xmm0, xmm0, xmm0
vroundss xmm0, xmm0, dword [ecx + 0xc], 1
vcvttss2si eax, xmm0
jmp 0x1008f201
xor eax, eax
jmp 0x1008f201
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x101345bc]
test al, 1
jne 0x1008f254
or eax, 1
mov dword [0x101345bc], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.10049bf0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101345c0
call fcn.1004a020
push 0x100e1a50
call fcn.100af17d
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101345c0]
call eax
mov esi, eax
mov dword [ebp - 0x25c], esi
test edi, edi
je 0x1008f2d3
test esi, esi
je 0x1008f2d3
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1008f2d3
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008f2b9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008f293
xor edx, edx
test ecx, ecx
je 0x1008f2b9
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008f2a0
cmp edi, 0x6b98ed8f
je 0x1008f2ce
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1008f2d3
mov esi, dword [ebp - 0x25c]
jmp 0x1008f275
mov ecx, dword [ebp - 0x14]
jmp 0x1008f2d5
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008f2df.2
jmp dword [eax*4 + 0x1008f8d8]
push dword [ecx + 4]
call fcn.100c0208
add esp, 4
jmp 0x1008f318
push dword [ecx + 8]
call fcn.100c01c9
add esp, 4
jmp 0x1008f318
vxorps xmm0, xmm0, xmm0
vroundss xmm0, xmm0, dword [ecx + 0xc], 1
vcvttss2si eax, xmm0
jmp 0x1008f318
xor eax, eax
jmp 0x1008f318
mov eax, dword [ecx + 0xc]
cmp byte [0x10117978], 0
mov dword [ebp - 0x1c], eax
je 0x1008f380
mov eax, dword [0x101304dc]
vmovss xmm1, dword [0x100f4224]
mov ecx, dword [0x101304d0]
vmovss dword [0x10134430], xmm1
vmovss xmm0, dword [eax + 0x10]
vmovss dword [0x10134428], xmm0
vaddss xmm0, xmm0, xmm1
vmovss dword [0x1013442c], xmm0
mov eax, dword [ecx]
push ecx
vxorps xmm0, xmm0, xmm0
vmovss dword [esp], xmm0
vmovss xmm0, dword [0x100f41dc]
mov eax, dword [eax + 0x30]
push 0
push 0x64
push ecx
vmovss dword [esp], xmm0
push str.buttons_arena_switch_press_02.wav
call eax
push 1
push dword [0x10117464]
push dword [0x10117460]
call fcn.100ae1d0
cmp eax, dword [0x10117464]
je 0x1008f594
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ebp - 0x258]
vcvttss2si eax, xmm0
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x264]
lea eax, [eax + eax*2]
lea esi, [eax*8 + 0x10131088]
push 0x98
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.100b1340
add esp, 8
lea ecx, [ebp - 0xe4]
call fcn.10032ef0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
lea ecx, [ebp - 0xe4]
call fcn.1008fef0
add esp, 0x10
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xe0]
push eax
call fcn.10034230
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x268], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call fcn.1002b460
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe8], eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x94], vtable.std::ios_base.0
call fcn.100ae096
mov byte [ebp - 4], 7
lea edx, [ebp - 0x34]
mov eax, dword [0x100ed4ec]
lea ecx, [ebp - 0x244]
vmovss xmm0, dword [0x100f42b8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
vmovss dword [ebp - 0x14], xmm0
call fcn.1003d4a0
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [0x10130678]
cmp ecx, dword [0x1013067c]
je 0x1008f50b
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x10130678], 8
jmp 0x1008f512
push edx
push ecx
call fcn.1003e120
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x240]
test esi, esi
je 0x1008f541
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1008f541
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1008f541
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.1002b940
push 0x10105e58
call fcn.1003c4b0
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1008f594
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f58a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f85b
push ecx
push edx
call fcn.100af192
add esp, 8
cmp dword [ebp - 0x264], 0
je 0x1008f80e
mov edi, dword [0x101311a8]
mov esi, dword [0x101311a4]
cmp esi, edi
je 0x1008f5d8
mov edx, dword [0x10130700]
mov eax, dword [0x10105e5c]
add edx, 0xffffffc1
mov ecx, dword [esi + 0x18]
xor edx, 0xf0b73a5c
cmp ecx, dword [edx + eax]
jne 0x1008f5d1
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1008f5b1
mov eax, dword [0x101311c0]
test eax, eax
je 0x1008f80e
mov edx, dword [0x101311bc]
lea edi, [eax + edx]
cmp edx, edi
je 0x1008f80e
mov ecx, dword [0x10130700]
mov eax, dword [0x10105e5c]
add ecx, 0xffffffc1
xor ecx, 0xf0b73a5c
mov eax, dword [ecx + eax]
mov ecx, dword [0x101311b4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x101311b8]
dec eax
mov dword [ebp - 0x25c], eax
and eax, edx
mov esi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x18]
cmp dword [esi + 4], eax
jne 0x1008f641
mov eax, dword [esi]
mov ecx, dword [ebp - 0x260]
cmp dword [eax], ecx
mov ecx, dword [0x101311b4]
je 0x1008f652
inc edx
cmp edx, edi
je 0x1008f80e
mov eax, dword [ebp - 0x25c]
jmp 0x1008f622
mov eax, dword [ebp - 0x264]
mov ecx, dword [0x101311cc]
mov dword [ebp - 0x244], eax
mov eax, dword [0x101311d4]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ebp - 0x258]
inc eax
mov dword [ebp - 0x248], esi
vmovss dword [ebp - 0x240], xmm0
cmp ecx, eax
ja 0x1008f699
push ecx
mov ecx, 0x101311c4
call fcn.1003dae0
mov ecx, dword [0x101311cc]
mov edx, dword [0x101311c8]
lea edi, [ecx - 1]
and edi, dword [0x101311d0]
lea eax, [ecx - 1]
mov dword [0x101311d0], edi
cmove edi, ecx
dec edi
and eax, edi
mov dword [ebp - 0x18], eax
cmp dword [edx + eax*4], 0
jne 0x1008f6e2
push 0xc
call fcn.100aed33
mov ecx, dword [0x101311c8]
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [0x101311cc]
mov edx, dword [0x101311c8]
vmovq xmm0, qword [ebp - 0x248]
lea eax, [ecx - 1]
and eax, edi
mov ecx, dword [edx + eax*4]
mov eax, dword [ebp - 0x240]
vmovq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x101311d4]
inc eax
mov dword [0x101311d0], edi
mov dword [0x101311d4], eax
cmp eax, 0x80
jbe 0x1008f73d
nop word [eax + eax]
add eax, 0xffffffff
mov dword [0x101311d4], eax
je 0x1008f733
cmp eax, 0x80
ja 0x1008f720
jmp 0x1008f73d
mov dword [0x101311d0], 0
mov ecx, dword [ebp - 0x260]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x484
lea ecx, [eax + 0x1011b358]
test ecx, ecx
je 0x1008f80e
mov dword [ecx + 0x2c], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3ec]
cmp eax, 6
jne 0x1008f792
mov eax, dword [ecx + 0x45c]
test eax, eax
jle 0x1008f80e
dec eax
mov dword [ecx + 0x45c], eax
jmp 0x1008f80e
cmp eax, 2
jne 0x1008f7aa
mov eax, dword [ecx + 0x440]
test eax, eax
jle 0x1008f80e
dec eax
mov dword [ecx + 0x440], eax
jmp 0x1008f80e
cmp eax, 4
jne 0x1008f7c2
mov eax, dword [ecx + 0x444]
test eax, eax
jle 0x1008f80e
dec eax
mov dword [ecx + 0x444], eax
jmp 0x1008f80e
cmp eax, 7
jne 0x1008f7e0
mov eax, dword [ecx + 0x450]
test eax, eax
jle 0x1008f80e
dec dword [ecx + 0x44c]
dec eax
mov dword [ecx + 0x450], eax
jmp 0x1008f80e
cmp eax, 0xa
jne 0x1008f7f8
mov eax, dword [ecx + 0x454]
test eax, eax
jle 0x1008f80e
dec eax
mov dword [ecx + 0x454], eax
jmp 0x1008f80e
cmp eax, 0xb
jne 0x1008f80e
mov eax, dword [ecx + 0x458]
test eax, eax
jle 0x1008f80e
dec eax
mov dword [ecx + 0x458], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x1008f83e
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f834
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f860
push ecx
push edx
call fcn.100af192
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100aed12
mov esp, ebp
pop ebp
ret 4
call fcn.100b5fcd
add al, byte [eax]
call fcn.100b5fcd
nop dword [eax]
pushal
in al, dx
or byte [eax], dl
xchg ebx, eax
in al, dx
or byte [eax], dl
jle 0x1008f85e
or byte [eax], dl
xchg ebx, eax
in al, dx
or byte [eax], dl
outsd dx, dword [esi]
in al, dx
or byte [eax], dl
xchg ebx, eax
in al, dx
or byte [eax], dl
invalid