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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abe14
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x100bf040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, 0xf
mov dword [ebp - 0x1ac], ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x100871fa
cmp dword [0x100bf2a8], 0
je 0x100871fa
mov eax, dword [0x10104450]
mov edi, dword [ecx + 8]
test al, 1
jne 0x10086546
or eax, 1
mov dword [0x10104450], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c8]
call fcn.100439e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10104454
call fcn.10043e30
push 0x100ad380
call fcn.100a3c62
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10104454]
call eax
mov esi, eax
mov dword [ebp - 0x1bc], esi
test edi, edi
je 0x100865dc
test esi, esi
je 0x100865dc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x100865dc
nop
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 0x100865b9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10086590
xor edx, edx
test ecx, ecx
je 0x100865b9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100865a0
cmp edi, 0xd791104e
je 0x100865d4
mov ecx, dword [ebp - 0x1b8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x100865dc
mov esi, dword [ebp - 0x1bc]
jmp 0x10086570
mov ecx, dword [ebp - 0x1b8]
jmp 0x100865de
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100b5218]
dec eax
movss xmm1, dword [0x100b5210]
movss xmm5, dword [0x100b5054]
cmp eax, 6
ja case.0x10086600.2
jmp dword [eax*4 + 0x1008724c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x1008666e
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x1008666e
movss xmm4, dword [ecx + 0xc]
movaps xmm3, xmm0
andps xmm3, xmm4
movaps xmm0, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm5
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1008666e
xor edx, edx
jmp 0x1008666e
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100fef80]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1ac]
mov ecx, dword [0x10104450]
mov dword [ebp - 0x14], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x100866d2
or ecx, 1
mov dword [0x10104450], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
call fcn.100439e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10104454
call fcn.10043e30
push 0x100ad380
call fcn.100a3c62
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10104454]
call eax
mov esi, eax
mov dword [ebp - 0x1bc], esi
test edi, edi
je 0x1008675d
test esi, esi
je 0x1008675d
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1008675d
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 0x1008673a
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10086714
xor edx, edx
test ecx, ecx
je 0x1008673a
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10086721
cmp edi, 0x11ab48ff
je 0x10086755
mov ecx, dword [ebp - 0x1b8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1008675d
mov esi, dword [ebp - 0x1bc]
jmp 0x100866f6
mov ecx, dword [ebp - 0x1b8]
jmp 0x1008675f
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008676d.2
jmp dword [eax*4 + 0x10087268]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x100867f0
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x100867f0
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b5218]
movaps xmm0, xmm4
movss xmm1, dword [0x100b5210]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x100b5054]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x100867f0
xor edx, edx
jmp 0x100867f0
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100fef80]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x100871f7
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x100871f7
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x100871f7
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x100871f7
mov eax, dword [ebp - 0x1ac]
mov edi, dword [eax + 8]
mov eax, dword [0x10104450]
test al, 1
jne 0x10086898
or eax, 1
mov dword [0x10104450], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c8]
call fcn.100439e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10104454
call fcn.10043e30
push 0x100ad380
call fcn.100a3c62
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10104454]
call eax
mov esi, eax
mov dword [ebp - 0x1bc], esi
test edi, edi
je 0x1008692c
test esi, esi
je 0x1008692c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1008692c
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 0x10086909
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100868e0
xor edx, edx
test ecx, ecx
je 0x10086909
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100868f0
cmp edi, 0x2a7e565d
je 0x10086924
mov ecx, dword [ebp - 0x1b8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x1008692c
mov esi, dword [ebp - 0x1bc]
jmp 0x100868c0
mov ecx, dword [ebp - 0x1b8]
jmp 0x1008692e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008693c.2
jmp dword [eax*4 + 0x10087284]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100869c1
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100869c1
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b5218]
movaps xmm0, xmm4
movss xmm1, dword [0x100b5210]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x100b5054]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x100869c1
xor eax, eax
mov dword [ebp - 0x1b8], eax
jmp 0x100869d0
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1b8], eax
cmp eax, 0xa
je 0x100871f7
mov ecx, dword [0x100fef84]
mov edi, dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x1bc], eax
test eax, eax
je 0x100871f7
mov esi, dword [0x100fef80]
lea eax, [ebp - 0x1a8]
push eax
push edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
call edx
test al, al
je 0x100871f7
xorps xmm0, xmm0
mov dword [ebp - 0x1c4], 0
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x1c0], 0
movups xmmword [ebp - 0x1d4], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086a35
sub ecx, edx
lea eax, [ebp - 0x198]
push ecx
push eax
lea ecx, [ebp - 0x1d4]
call fcn.100270f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1d4]
mov ecx, 0x18
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x1c4], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
cmovb ecx, dword [ebp - 0x1c4]
cmp dword [ebp - 0x1c0], 0xf
push ecx
cmova eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x38]
push eax
mov dword [ebp - 0x24], 0
call fcn.100270f0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10086ace
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10086ac4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086f88
push ecx
push edx
call fcn.100a3c77
add esp, 8
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x28]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c0]
movq qword [ebp - 0x40], xmm0
cmp ecx, 0xf
jbe 0x10086b1e
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10086b14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086f88
push ecx
push edx
call fcn.100a3c77
add esp, 8
mov eax, dword [ebp - 0x1ac]
mov edi, dword [eax + 8]
mov eax, dword [0x10104450]
test al, 1
jne 0x10086b6e
or eax, 1
mov dword [0x10104450], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c8]
call fcn.100439e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10104454
call fcn.10043e30
push 0x100ad380
call fcn.100a3c62
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10104454]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10086bf0
test esi, esi
je 0x10086bf0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10086bf0
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 0x10086bd9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10086bb0
xor edx, edx
test ecx, ecx
je 0x10086bd9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10086bc0
cmp edi, 0xa0d9523e
je 0x10086beb
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10086bf0
mov esi, dword [ebp - 0x18]
jmp 0x10086b90
mov ecx, dword [ebp - 0x14]
jmp 0x10086bf2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10086c00.2
jmp dword [eax*4 + 0x100872a0]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10086c7f
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10086c7f
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b5218]
movaps xmm0, xmm4
movss xmm1, dword [0x100b5210]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x100b5054]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x10086c7f
xor eax, eax
jmp 0x10086c7f
mov eax, dword [ecx + 0xc]
movd xmm0, eax
mov eax, dword [ebp - 0x1ac]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10104450]
movss dword [ebp - 0x1c], xmm0
test al, 1
jne 0x10086cdb
or eax, 1
mov dword [0x10104450], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c8]
call fcn.100439e0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10104454
call fcn.10043e30
push 0x100ad380
call fcn.100a3c62
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x10104454]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10086d60
test esi, esi
je 0x10086d60
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10086d60
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 0x10086d49
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10086d20
xor edx, edx
test ecx, ecx
je 0x10086d49
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10086d30
cmp edi, 0x6b98ed8f
je 0x10086d5b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10086d60
mov esi, dword [ebp - 0x18]
jmp 0x10086d00
mov ecx, dword [ebp - 0x14]
jmp 0x10086d62
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10086d6c.2
jmp dword [eax*4 + 0x100872bc]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10086deb
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10086deb
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100b5218]
movaps xmm0, xmm2
movss xmm3, dword [0x100b5210]
andps xmm4, xmm2
xorps xmm0, xmm4
movaps xmm1, xmm2
cmpltss xmm0, xmm3
andps xmm3, xmm0
orps xmm3, xmm4
addss xmm1, xmm3
subss xmm1, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movss xmm2, dword [0x100b5054]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x10086df3
xor eax, eax
jmp 0x10086deb
mov eax, dword [ecx + 0xc]
movss xmm2, dword [0x100b5054]
mov esi, dword [ebp - 0x1b8]
cmp esi, 1
mov dword [ebp - 0x20], eax
sete byte [0x100ffc84]
cmp byte [0x100c44cc], 0
je 0x10086e5d
mov eax, dword [0x100fefdc]
mov ecx, dword [0x100fefd4]
mov dword [0x10104314], 0x3f800000
push ecx
movss xmm0, dword [eax + 0x10]
movss dword [0x1010430c], xmm0
addss xmm0, xmm2
mov dword [esp], 0
push 0
push 0x64
push ecx
movss dword [0x10104310], xmm0
mov eax, dword [ecx]
mov dword [esp], 0x3f800000
push str.buttons_arena_switch_press_02.wav
mov eax, dword [eax + 0x30]
call eax
push 0
push dword [0x100cf2dc]
push dword [0x100cf2d8]
call fcn.100a36c0
cmp eax, dword [0x100cf2dc]
je 0x1008702b
movss xmm0, dword [0x100bff30]
comiss xmm0, dword [ebp - 0x1c]
jb 0x10086f8e
cmp byte [0x100fd510], 0
jne 0x10086f8e
cmp byte [0x100bf2c4], 0
je 0x10086f8e
lea eax, [ebp - 0x20]
mov edx, str.hit__s_in_the__s_for__i_damage___i_health_remaining__n
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + esi*2]
lea eax, [eax*8 + 0x100ffb30]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
call fcn.100494e0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x38]
mov eax, dword [0x100b0684]
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x41000000
push eax
call fcn.1002b5e0
add esp, 0x18
push eax
mov byte [ebp - 4], 8
call fcn.1002b090
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x1ac]
test edi, edi
je 0x10086f37
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10086f31
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10086f31
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [ebp - 0x1b8]
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.1002b210
push 0x100bf2a8
call fcn.10032b10
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1008702b
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10087021
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10087021
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x20]
mov edx, str.hit__s_in_the__s_for__i_damage___i_health_remaining__n
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + esi*2]
lea eax, [eax*8 + 0x100ffb30]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
call fcn.100494e0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x38]
mov eax, dword [0x100b0674]
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x40a00000
push eax
call fcn.1002b5e0
add esp, 0x18
push eax
mov byte [ebp - 4], 0xa
call fcn.1002b090
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x1ac]
test edi, edi
je 0x10086f37
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10086f31
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10086f31
jmp 0x10086f2a
push ecx
push edx
call fcn.100a3c77
add esp, 8
test esi, esi
je 0x100871f7
mov edi, dword [0x100ffc50]
mov esi, dword [0x100ffc4c]
cmp esi, edi
je 0x10087077
nop dword [eax]
nop word [eax + eax]
mov edx, dword [0x100ff1d4]
mov eax, dword [0x100bf2a8]
add edx, 0xffffffc2
mov ecx, dword [esi + 0x18]
xor edx, 0x7f685683
cmp ecx, dword [edx + eax]
jne 0x10087070
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x10087050
mov eax, dword [0x100ffc68]
test eax, eax
je 0x100871f7
mov edx, dword [0x100ffc64]
lea esi, [eax + edx]
cmp edx, esi
je 0x100871f7
mov ecx, dword [0x100ff1d4]
mov eax, dword [0x100bf2a8]
add ecx, 0xffffffc2
mov edi, dword [0x100ffc5c]
xor ecx, 0x7f685683
mov eax, dword [ecx + eax]
mov ecx, dword [0x100ffc60]
dec ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
nop
mov eax, edx
and eax, ecx
mov ecx, dword [edi + eax*4]
mov eax, dword [ebp - 0x18]
cmp dword [ecx + 4], eax
jne 0x100870e1
mov eax, dword [ecx]
mov edi, dword [ebp - 0x1bc]
cmp dword [eax], edi
mov edi, dword [0x100ffc5c]
je 0x100870ef
inc edx
cmp edx, esi
je 0x100871f7
mov ecx, dword [ebp - 0x14]
jmp 0x100870c0
mov eax, dword [ebp - 0x1b8]
movss xmm0, dword [ebp - 0x1c]
mov dword [ebp - 0x1b0], eax
mov eax, dword [0x100ffc7c]
mov dword [ebp - 0x1b4], ecx
inc eax
mov ecx, dword [0x100ffc74]
movss dword [ebp - 0x1ac], xmm0
cmp ecx, eax
ja 0x1008712f
push ecx
mov ecx, 0x100ffc6c
call fcn.10034100
mov ecx, dword [0x100ffc74]
mov edx, dword [0x100ffc70]
lea esi, [ecx - 1]
and esi, dword [0x100ffc78]
lea edi, [ecx - 1]
mov dword [0x100ffc78], esi
cmove esi, ecx
dec esi
and edi, esi
cmp dword [edx + edi*4], 0
jne 0x10087172
push 0xc
call fcn.100a3818
mov ecx, dword [0x100ffc70]
add esp, 4
mov dword [ecx + edi*4], eax
mov ecx, dword [0x100ffc74]
mov edx, dword [0x100ffc70]
movq xmm0, qword [ebp - 0x1b4]
lea eax, [ecx - 1]
and eax, esi
mov ecx, dword [edx + eax*4]
mov eax, dword [ebp - 0x1ac]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x100ffc7c]
inc eax
mov dword [0x100ffc78], esi
mov dword [0x100ffc7c], eax
cmp eax, 0x80
jbe 0x100871cd
nop word [eax + eax]
add eax, 0xffffffff
mov dword [0x100ffc7c], eax
je 0x100871c3
cmp eax, 0x80
ja 0x100871b0
jmp 0x100871cd
mov dword [0x100ffc78], 0
mov ecx, dword [ebp - 0x1bc]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0xac0
lea eax, [eax + 0x100d092c]
test eax, eax
je 0x100871f7
mov dword [eax + 0x480], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x1008722d
mov edx, dword [ebp - 0x50]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10087223
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086f88
push ecx
push edx
call fcn.100a3c77
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.100a37fc
mov esp, ebp
pop ebp
ret 4