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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100afc24
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x100c4040]
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 - 0x14], ecx
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x10088c80
cmp dword [0x100c42a8], 0
je 0x10088c80
mov eax, dword [0x10108858]
mov edi, dword [ecx + 8]
test al, 1
jne 0x10088083
or eax, 1
mov dword [0x10108858], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c0]
call fcn.10044650
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010885c
call fcn.10044ac0
push 0x100b1410
call fcn.100a7392
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010885c]
call eax
mov esi, eax
mov dword [ebp - 0x1b0], esi
test edi, edi
je 0x1008810e
test esi, esi
je 0x1008810e
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x1008810e
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 0x100880eb
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100880c5
xor edx, edx
test ecx, ecx
je 0x100880eb
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100880d2
cmp edi, 0xd791104e
je 0x10088106
mov ecx, dword [ebp - 0x1a8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x1008810e
mov esi, dword [ebp - 0x1b0]
jmp 0x100880a7
mov ecx, dword [ebp - 0x1a8]
jmp 0x10088110
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100b9658]
dec eax
movss xmm1, dword [0x100b9650]
movss xmm5, dword [0x100b949c]
cmp eax, 6
ja case.0x10088132.2
jmp dword [eax*4 + 0x10088cd4]
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 0x100881a0
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 0x100881a0
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 0x100881a0
xor edx, edx
jmp 0x100881a0
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101034b8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x14]
mov ecx, dword [0x10108858]
mov dword [ebp - 0x18], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x10088201
or ecx, 1
mov dword [0x10108858], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c0]
call fcn.10044650
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010885c
call fcn.10044ac0
push 0x100b1410
call fcn.100a7392
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010885c]
call eax
mov esi, eax
mov dword [ebp - 0x1b0], esi
test edi, edi
je 0x1008829c
test esi, esi
je 0x1008829c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x1008829c
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 0x10088279
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10088250
xor edx, edx
test ecx, ecx
je 0x10088279
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10088260
cmp edi, 0x11ab48ff
je 0x10088294
mov ecx, dword [ebp - 0x1a8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x1008829c
mov esi, dword [ebp - 0x1b0]
jmp 0x10088230
mov ecx, dword [ebp - 0x1a8]
jmp 0x1008829e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100882ac.2
jmp dword [eax*4 + 0x10088cf0]
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 0x1008832f
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 0x1008832f
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b9658]
movaps xmm0, xmm4
movss xmm1, dword [0x100b9650]
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 [0x100b949c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x1008832f
xor edx, edx
jmp 0x1008832f
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101034b8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x18]
mov esi, eax
mov dword [ebp - 0x1b4], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x10088c7d
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x10088c7d
mov ecx, dword [0x101034b8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x10088c7d
mov ecx, dword [0x101034b8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x10088c7d
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x10108858]
test al, 1
jne 0x100883d7
or eax, 1
mov dword [0x10108858], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c0]
call fcn.10044650
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010885c
call fcn.10044ac0
push 0x100b1410
call fcn.100a7392
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010885c]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1008845c
test esi, esi
je 0x1008845c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x1008845c
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 0x1008843c
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10088416
xor edx, edx
test ecx, ecx
je 0x1008843c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10088423
cmp edi, 0x2a7e565d
je 0x10088454
mov ecx, dword [ebp - 0x1a8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x1008845c
mov esi, dword [ebp - 0x18]
jmp 0x100883f8
mov ecx, dword [ebp - 0x1a8]
jmp 0x1008845e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008846c.2
jmp dword [eax*4 + 0x10088d0c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov esi, eax
jmp 0x100884fd
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x1b0], eax
mov esi, eax
jmp 0x10088503
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b9658]
movaps xmm0, xmm4
movss xmm1, dword [0x100b9650]
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 [0x100b949c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x100884fd
mov dword [ebp - 0x1b0], 0
jmp 0x1008850c
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1b0], esi
cmp esi, 0xa
je 0x10088c7d
mov ecx, dword [0x101034bc]
mov esi, dword [ebp - 0x1b4]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x10088c7d
mov ecx, dword [0x101034b8]
lea edx, [ebp - 0x1a4]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10088c7d
xorps xmm0, xmm0
mov dword [ebp - 0x1bc], 0
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x1b8], 0
movups xmmword [ebp - 0x1cc], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10088570
sub ecx, edx
lea eax, [ebp - 0x194]
push ecx
push eax
lea ecx, [ebp - 0x1cc]
call fcn.10027230
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1cc]
mov ecx, 0x18
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x1bc], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
cmovb ecx, dword [ebp - 0x1bc]
cmp dword [ebp - 0x1b8], 0xf
push ecx
cmova eax, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x20], 0
call fcn.10027230
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x10088609
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100885ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10088ca5
push ecx
push edx
call fcn.100a73a7
add esp, 8
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x24]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1b8]
movq qword [ebp - 0x3c], xmm0
cmp ecx, 0xf
jbe 0x10088659
mov edx, dword [ebp - 0x1cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008864f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10088ca5
push ecx
push edx
call fcn.100a73a7
add esp, 8
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x10108858]
test al, 1
jne 0x100886a6
or eax, 1
mov dword [0x10108858], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c0]
call fcn.10044650
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010885c
call fcn.10044ac0
push 0x100b1410
call fcn.100a7392
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010885c]
call eax
mov esi, eax
mov dword [ebp - 0x1b4], esi
test edi, edi
je 0x1008873c
test esi, esi
je 0x1008873c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x1008873c
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 0x10088719
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100886f0
xor edx, edx
test ecx, ecx
je 0x10088719
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10088700
cmp edi, 0xa0d9523e
je 0x10088734
mov ecx, dword [ebp - 0x1a8]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x1008873c
mov esi, dword [ebp - 0x1b4]
jmp 0x100886d2
mov ecx, dword [ebp - 0x1a8]
jmp 0x1008873e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008874c.2
jmp dword [eax*4 + 0x10088d28]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100887cb
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100887cb
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100b9658]
movaps xmm0, xmm4
movss xmm1, dword [0x100b9650]
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 [0x100b949c]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x100887cb
xor eax, eax
jmp 0x100887cb
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 8]
mov eax, dword [0x10108858]
test al, 1
jne 0x1008881e
or eax, 1
mov dword [0x10108858], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c0]
call fcn.10044650
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1010885c
call fcn.10044ac0
push 0x100b1410
call fcn.100a7392
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x1010885c]
call eax
mov esi, eax
mov dword [ebp - 0x1b4], esi
test edi, edi
je 0x100888a5
test esi, esi
je 0x100888a5
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100888a5
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 0x1008888b
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10088865
xor edx, edx
test ecx, ecx
je 0x1008888b
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10088872
cmp edi, 0x6b98ed8f
je 0x100888a0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100888a5
mov esi, dword [ebp - 0x1b4]
jmp 0x10088847
mov ecx, dword [ebp - 0x14]
jmp 0x100888a7
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100888b5.2
jmp dword [eax*4 + 0x10088d44]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10088937
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10088937
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100b9658]
movaps xmm0, xmm2
movss xmm3, dword [0x100b9650]
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 [0x100b949c]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x1008893f
xor eax, eax
jmp 0x10088937
mov eax, dword [ecx + 0xc]
movss xmm2, dword [0x100b949c]
mov edi, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1a8]
mov dword [ebp - 0x1c], eax
cmp edi, 1
jne 0x10088972
movd xmm0, esi
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x100b95cc]
jb 0x10088969
inc dword [0x10104158]
mov byte [0x1010415c], 1
jmp 0x10088979
mov byte [0x1010415c], 0
cmp byte [0x100c8e3c], 0
mov eax, dword [0x10103514]
mov dword [0x10108714], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x1010870c], xmm0
addss xmm0, xmm2
movss dword [0x10108710], xmm0
je 0x100889d0
mov ecx, dword [0x1010350c]
push ecx
mov dword [esp], 0
push 0
mov eax, dword [ecx]
push 0x64
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [eax + 0x30]
push str.buttons_arena_switch_press_02.wav
call eax
push 0
push dword [0x100d4148]
push dword [0x100d4144]
call fcn.100a6d20
cmp eax, dword [0x100d4148]
je 0x10088bb9
mov edx, dword [ebp - 0x1b0]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x10104070]
cvttss2si ecx, xmm0
mov dword [ebp - 0x1b4], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
cmp edx, 1
jne 0x10088af4
call fcn.1008a2d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x34]
mov eax, dword [0x100b4714]
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x40a00000
push eax
call fcn.1002c410
add esp, 0x18
push eax
mov byte [ebp - 4], 8
call fcn.1002beb0
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x1a8]
test edi, edi
je 0x10088a96
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10088a96
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10088a96
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.1002c030
push 0x100c42a8
call fcn.10033440
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10088bc1
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10088ae5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10088ae5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a73a7
add esp, 8
jmp 0x10088bc1
call fcn.1008a2d0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x34]
mov eax, dword [0x100b4704]
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x40a00000
push eax
call fcn.1002c410
add esp, 0x18
push eax
mov byte [ebp - 4], 0xa
call fcn.1002beb0
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x1a8]
test edi, edi
je 0x10088b5e
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10088b5e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10088b5e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.1002c030
push 0x100c42a8
call fcn.10033440
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10088bb3
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10088ba9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10088ba9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a73a7
add esp, 8
mov edi, dword [ebp - 0x1b0]
test edi, edi
je 0x10088c7d
mov edi, dword [0x10104148]
mov esi, dword [0x10104144]
cmp esi, edi
je 0x10088bf8
mov edx, dword [0x10103718]
mov eax, dword [0x100c42a8]
add edx, 0xffffffc1
mov ecx, dword [esi + 0x18]
xor edx, 0x629ce6cb
cmp ecx, dword [edx + eax]
jne 0x10088bf1
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x10088bd1
mov ecx, dword [0x1010413c]
xor esi, esi
mov edx, dword [0x10104140]
movss xmm1, dword [0x100b9654]
add edx, ecx
cmp ecx, edx
je 0x10088c7d
mov eax, dword [0x10104138]
mov edi, dword [0x10104134]
dec eax
mov dword [ebp - 0x1b4], eax
nop word [eax + eax]
mov eax, ecx
and eax, dword [ebp - 0x1b4]
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x31], 0
jne 0x10088c65
mov edi, dword [0x10103514]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
call fcn.1002cdb0
comiss xmm1, xmm0
mov edi, dword [0x10104134]
jb 0x10088c65
movaps xmm1, xmm0
mov esi, eax
inc ecx
cmp ecx, edx
jne 0x10088c30
test esi, esi
je 0x10088c7d
mov ecx, dword [esi + 4]
call fcn.1002cdd0
mov byte [esi + 0x48], al
mov byte [esi + 0x31], 1
mov eax, dword [ebp - 0x38]
cmp eax, 0xf
jbe 0x10088cb5
mov edx, dword [ebp - 0x4c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10088cab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10088cab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a73a7
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.100a6f2c
mov esp, ebp
pop ebp
ret 4