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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be71b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100d4040]
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 dword [ebp - 0x260], 0
mov eax, 0xf
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0
test ecx, ecx
je 0x100a56a6
cmp dword [0x101f0dc0], 0
je 0x100a56a6
mov eax, dword [0x101f9ba8]
mov edi, dword [ecx + 8]
test al, 1
jne 0x100a4970
or eax, 1
mov dword [0x101f9ba8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.100865c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101f9bac
call fcn.1004bc90
push 0x100bfae0
call fcn.100b474c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101f9bac]
call eax
mov esi, eax
mov dword [ebp - 0x25c], esi
test edi, edi
je 0x100a49ff
test esi, esi
je 0x100a49ff
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x254], ecx
test ecx, ecx
je 0x100a49ff
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 0x100a49dc
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100a49b6
xor edx, edx
test ecx, ecx
je 0x100a49dc
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a49c3
cmp edi, 0xd791104e
je 0x100a49f7
mov ecx, dword [ebp - 0x254]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x254], ecx
test ecx, ecx
je 0x100a49ff
mov esi, dword [ebp - 0x25c]
jmp 0x100a4998
mov ecx, dword [ebp - 0x254]
jmp 0x100a4a01
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm0, dword [0x100c8da4]
dec eax
movss xmm1, dword [0x100c8d9c]
movss xmm5, dword [0x100c8c18]
cmp eax, 6
ja case.0x100a4a23.2
jmp dword [eax*4 + 0x100a56f8]
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 0x100a4a91
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 0x100a4a91
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 0x100a4a91
xor edx, edx
jmp 0x100a4a91
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101f2818]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x258]
mov ecx, dword [0x101f9ba8]
mov dword [ebp - 0x264], eax
mov edi, dword [edi + 8]
test cl, 1
jne 0x100a4af8
or ecx, 1
mov dword [0x101f9ba8], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.100865c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101f9bac
call fcn.1004bc90
push 0x100bfae0
call fcn.100b474c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101f9bac]
call eax
mov esi, eax
mov dword [ebp - 0x25c], esi
test edi, edi
je 0x100a4b8c
test esi, esi
je 0x100a4b8c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x254], ecx
test ecx, ecx
je 0x100a4b8c
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 0x100a4b69
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a4b42
xor edx, edx
test ecx, ecx
je 0x100a4b69
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a4b50
cmp edi, 0x11ab48ff
je 0x100a4b84
mov ecx, dword [ebp - 0x254]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x254], ecx
test ecx, ecx
je 0x100a4b8c
mov esi, dword [ebp - 0x25c]
jmp 0x100a4b24
mov ecx, dword [ebp - 0x254]
jmp 0x100a4b8e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100a4b9c.2
jmp dword [eax*4 + 0x100a5714]
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 0x100a4c22
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 0x100a4c22
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100c8da4]
movaps xmm0, xmm4
movss xmm1, dword [0x100c8d9c]
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 [0x100c8c18]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si edx, xmm2
jmp 0x100a4c22
xor edx, edx
jmp 0x100a4c22
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101f2818]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x264]
mov esi, eax
mov dword [ebp - 0x260], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x100a56a3
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x100a56a3
mov ecx, dword [0x101f2818]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x100a56a3
mov ecx, dword [0x101f2818]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x100a56a3
mov eax, dword [ebp - 0x258]
mov edi, dword [eax + 8]
mov eax, dword [0x101f9ba8]
test al, 1
jne 0x100a4cd0
or eax, 1
mov dword [0x101f9ba8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x244]
call fcn.100865c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101f9bac
call fcn.1004bc90
push 0x100bfae0
call fcn.100b474c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101f9bac]
call eax
mov esi, eax
mov dword [ebp - 0x264], esi
test edi, edi
je 0x100a4d6c
test esi, esi
je 0x100a4d6c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x254], ecx
test ecx, ecx
je 0x100a4d6c
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 0x100a4d49
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a4d20
xor edx, edx
test ecx, ecx
je 0x100a4d49
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a4d30
cmp edi, 0x2a7e565d
je 0x100a4d64
mov ecx, dword [ebp - 0x254]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x254], ecx
test ecx, ecx
je 0x100a4d6c
mov esi, dword [ebp - 0x264]
jmp 0x100a4d00
mov ecx, dword [ebp - 0x254]
jmp 0x100a4d6e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100a4d7c.2
jmp dword [eax*4 + 0x100a5730]
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 0x100a4e13
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x25c], eax
mov esi, eax
jmp 0x100a4e19
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100c8da4]
movaps xmm0, xmm4
movss xmm1, dword [0x100c8d9c]
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 [0x100c8c18]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si esi, xmm2
jmp 0x100a4e13
mov dword [ebp - 0x25c], 0
jmp 0x100a4e22
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x25c], esi
cmp esi, 0xa
je 0x100a56a3
mov ecx, dword [0x101f281c]
mov edi, dword [ebp - 0x260]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x268], eax
test eax, eax
je 0x100a56a3
mov esi, dword [0x101f2818]
lea eax, [ebp - 0x238]
push eax
push edi
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
call edx
test al, al
je 0x100a56a3
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x23c], 0
movups xmmword [ebp - 0x250], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a4e90
sub ecx, edx
lea eax, [ebp - 0x228]
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.1002a560
mov byte [ebp - 4], 4
lea eax, [ebp - 0x250]
mov ecx, 0x18
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x240], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
cmovb ecx, dword [ebp - 0x240]
cmp dword [ebp - 0x23c], 0xf
push ecx
cmova eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x48]
push eax
mov dword [ebp - 0x34], 0
call fcn.1002a560
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100a4f29
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a4f1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a56cb
push ecx
push edx
call fcn.100b4761
add esp, 8
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [ebp - 0x38]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x23c]
movq qword [ebp - 0x20], xmm0
cmp ecx, 0xf
jbe 0x100a4f79
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a4f6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a56cb
push ecx
push edx
call fcn.100b4761
add esp, 8
mov eax, dword [ebp - 0x258]
mov edi, dword [eax + 8]
mov eax, dword [0x101f9ba8]
test al, 1
jne 0x100a4fc9
or eax, 1
mov dword [0x101f9ba8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x244]
call fcn.100865c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101f9bac
call fcn.1004bc90
push 0x100bfae0
call fcn.100b474c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101f9bac]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x100a506c
test esi, esi
je 0x100a506c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x254], ecx
test ecx, ecx
je 0x100a506c
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 0x100a5049
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a5020
xor edx, edx
test ecx, ecx
je 0x100a5049
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a5030
cmp edi, 0xa0d9523e
je 0x100a5064
mov ecx, dword [ebp - 0x254]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x254], ecx
test ecx, ecx
je 0x100a506c
mov esi, dword [ebp - 0x260]
jmp 0x100a5000
mov ecx, dword [ebp - 0x254]
jmp 0x100a506e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100a507c.2
jmp dword [eax*4 + 0x100a574c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100a50fb
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100a50fb
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100c8da4]
movaps xmm0, xmm4
movss xmm1, dword [0x100c8d9c]
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 [0x100c8c18]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
jmp 0x100a50fb
xor eax, eax
jmp 0x100a50fb
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x258]
mov edi, dword [eax + 8]
mov eax, dword [0x101f9ba8]
test al, 1
jne 0x100a5151
or eax, 1
mov dword [0x101f9ba8], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x244]
call fcn.100865c0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x101f9bac
call fcn.1004bc90
push 0x100bfae0
call fcn.100b474c
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [0x101f9bac]
call eax
mov esi, eax
mov dword [ebp - 0x260], esi
test edi, edi
je 0x100a51ec
test esi, esi
je 0x100a51ec
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x100a51ec
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 0x100a51c9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x100a51a0
xor edx, edx
test ecx, ecx
je 0x100a51c9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a51b0
cmp edi, 0x6b98ed8f
je 0x100a51e4
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x100a51ec
mov esi, dword [ebp - 0x260]
jmp 0x100a5180
mov ecx, dword [ebp - 0x258]
jmp 0x100a51ee
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100a51fc.2
jmp dword [eax*4 + 0x100a5768]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x100a527b
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x100a527b
movss xmm2, dword [ecx + 0xc]
movss xmm4, dword [0x100c8da4]
movaps xmm0, xmm2
movss xmm3, dword [0x100c8d9c]
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 [0x100c8c18]
cmpnless xmm0, xmm4
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x100a527b
xor eax, eax
jmp 0x100a527b
mov eax, dword [ecx + 0xc]
cmp byte [0x100e5f70], 0
mov dword [ebp - 0x18], eax
je 0x100a52ad
mov ecx, dword [0x101f286c]
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 1
push dword [0x100e5c0c]
push dword [0x100e5c08]
call fcn.100b3ee0
cmp eax, dword [0x100e5c0c]
je 0x100a54f0
movd xmm0, dword [ebp - 0x254]
cvtdq2ps xmm0, xmm0
push 0x98
push 0
cvttss2si eax, xmm0
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x25c]
lea eax, [eax + eax*2]
lea esi, [eax*8 + 0x101f6598]
lea eax, [ebp - 0xe0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe0], 0x100c29a0
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x260], 5
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xdc], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x30]
push esi
push eax
lea ecx, [ebp - 0xe0]
call fcn.100a5d90
add esp, 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0xdc]
push eax
call fcn.10033310
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call fcn.100295d0
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 0xa
cmp dword [0x101f29f8], 0
mov eax, dword [0x100e648c]
mov dword [ebp - 0x14], 0x41000000
je 0x100a543c
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x260]
jmp 0x100a544c
mov dword [ebp - 0x258], 0xffffffff
lea eax, [ebp - 0x258]
lea ecx, [ebp - 0x14]
push ecx
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x240]
call fcn.100333f0
add esp, 8
push eax
mov byte [ebp - 4], 0xb
call fcn.10033090
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x23c]
test esi, esi
je 0x100a549b
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100a549b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100a549b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10029830
push 0x101bb0d0
call fcn.1003b100
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x100a54f0
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a54e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a54e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b4761
add esp, 8
cmp dword [ebp - 0x25c], 0
je 0x100a56a3
mov edi, dword [0x101f6670]
mov esi, dword [0x101f666c]
cmp esi, edi
je 0x100a5537
nop dword [eax]
mov edx, dword [0x101f2a7c]
mov eax, dword [0x101f0dc0]
add edx, 0xffffffc3
mov ecx, dword [esi + 0x18]
xor edx, 0xe63a0158
cmp ecx, dword [edx + eax]
jne 0x100a5530
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x100a5510
mov eax, dword [0x101f6688]
test eax, eax
je 0x100a56a3
mov edx, dword [0x101f6684]
lea esi, [eax + edx]
cmp edx, esi
je 0x100a56a3
mov ecx, dword [0x101f2a7c]
mov eax, dword [0x101f0dc0]
add ecx, 0xffffffc3
mov edi, dword [0x101f667c]
xor ecx, 0xe63a0158
mov eax, dword [ecx + eax]
mov dword [ebp - 0x14], eax
mov eax, dword [0x101f6680]
dec eax
mov dword [ebp - 0x260], eax
and eax, edx
mov ecx, dword [edi + eax*4]
mov eax, dword [ebp - 0x14]
cmp dword [ecx + 0xc], eax
jne 0x100a55a2
mov eax, dword [ecx + 8]
mov edi, dword [ebp - 0x268]
cmp dword [eax + 4], edi
mov edi, dword [0x101f667c]
je 0x100a55b3
inc edx
cmp edx, esi
je 0x100a56a3
mov eax, dword [ebp - 0x260]
jmp 0x100a5581
movd xmm0, dword [ebp - 0x254]
cvtdq2ps xmm0, xmm0
mov byte [ecx + 4], 1
mov dword [ebp - 0x244], ecx
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x240], ecx
movss dword [ebp - 0x23c], xmm0
cmp ecx, 1
jne 0x100a55ed
cmp dword [ebp - 0x18], 0
jne 0x100a55ed
inc dword [0x101bb0d0]
mov eax, dword [0x101f669c]
mov ecx, dword [0x101f6694]
inc eax
cmp ecx, eax
ja 0x100a560e
push ecx
mov ecx, 0x101f668c
call fcn.1003c9e0
mov ecx, dword [0x101f6694]
mov edx, dword [0x101f6690]
lea esi, [ecx - 1]
and esi, dword [0x101f6698]
lea edi, [ecx - 1]
mov dword [0x101f6698], esi
cmove esi, ecx
dec esi
and edi, esi
cmp dword [edx + edi*4], 0
jne 0x100a5651
push 0xc
call fcn.100b4302
mov ecx, dword [0x101f6690]
add esp, 4
mov dword [ecx + edi*4], eax
mov ecx, dword [0x101f6694]
mov edx, dword [0x101f6690]
movq xmm0, qword [ebp - 0x244]
lea eax, [ecx - 1]
and eax, esi
mov ecx, dword [edx + eax*4]
mov eax, dword [ebp - 0x23c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x101f669c]
inc eax
mov dword [0x101f6698], esi
mov dword [0x101f669c], eax
cmp eax, 0x80
jbe 0x100a56a3
add eax, 0xffffffff
mov dword [0x101f669c], eax
je 0x100a5699
cmp eax, 0x80
ja 0x100a5686
jmp 0x100a56a3
mov dword [0x101f6698], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
jbe 0x100a56db
mov edx, dword [ebp - 0x30]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a56d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a56d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b4761
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.100b40e6
mov esp, ebp
pop ebp
ret 4