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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9b79
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x100bf364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x10080099
cmp dword [0x100bf4c8], 0
je 0x10080099
mov ebx, dword [eax + 8]
mov eax, dword [0x10143630]
test al, 1
jne 0x1007f6a2
or eax, 1
mov dword [0x10143630], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.1003fab0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10143634
call fcn.1003feb0
add esp, 4
push 0x100ab4f0
call fcn.100a09fa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10143634]
call eax
mov ecx, eax
mov dword [ebp - 0x240], ecx
test ebx, ebx
je 0x1007f718
test ecx, ecx
je 0x1007f718
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x1007f718
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007f709
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007f6e0
xor edx, edx
test ecx, ecx
je 0x1007f709
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007f6f0
cmp edi, 0xd791104e
je 0x1007f71a
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x1007f718
mov ecx, dword [ebp - 0x240]
jmp 0x1007f6c0
xor ebx, ebx
movsx eax, byte [ebx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007f724.2
jmp dword [eax*4 + 0x100800b8]
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x1007f762
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x1007f762
movss xmm0, dword [ebx + 0xc]
call fcn.10028e20
cvttss2si edx, xmm0
jmp 0x1007f762
xor edx, edx
jmp 0x1007f762
mov edx, dword [ebx + 0xc]
mov ecx, dword [0x1013e434]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ebx, dword [ebp - 0x24c]
mov ecx, dword [0x10143630]
mov dword [ebp - 0x244], eax
mov ebx, dword [ebx + 8]
test cl, 1
jne 0x1007f7cc
or ecx, 1
mov dword [0x10143630], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
call fcn.1003fab0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10143634
call fcn.1003feb0
add esp, 4
push 0x100ab4f0
call fcn.100a09fa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10143634]
call eax
mov ecx, eax
mov dword [ebp - 0x240], ecx
test ebx, ebx
je 0x1007f848
test ecx, ecx
je 0x1007f848
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x1007f848
nop word [eax + eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007f839
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007f810
xor edx, edx
test ecx, ecx
je 0x1007f839
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007f820
cmp edi, 0x11ab48ff
je 0x1007f84a
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x1007f848
mov ecx, dword [ebp - 0x240]
jmp 0x1007f7f0
xor ebx, ebx
movsx eax, byte [ebx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007f854.2
jmp dword [eax*4 + 0x100800d4]
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x1007f892
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x1007f892
movss xmm0, dword [ebx + 0xc]
call fcn.10028e20
cvttss2si edx, xmm0
jmp 0x1007f892
xor edx, edx
jmp 0x1007f892
mov edx, dword [ebx + 0xc]
mov ecx, dword [0x1013e434]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [ebp - 0x244]
mov ebx, eax
mov dword [ebp - 0x248], ebx
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x10080063
lea ecx, [ebx - 1]
cmp ecx, 0x3f
ja 0x10080063
mov ecx, dword [0x1013e434]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
jne 0x10080063
mov ecx, dword [0x1013e434]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp ebx, eax
je 0x10080063
mov eax, dword [ebp - 0x24c]
mov ebx, dword [eax + 8]
mov eax, dword [0x10143630]
test al, 1
jne 0x1007f943
or eax, 1
mov dword [0x10143630], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x25c]
call fcn.1003fab0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10143634
call fcn.1003feb0
add esp, 4
push 0x100ab4f0
call fcn.100a09fa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10143634]
call eax
mov ecx, eax
mov dword [ebp - 0x240], ecx
test ebx, ebx
je 0x1007f9b8
test ecx, ecx
je 0x1007f9b8
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x1007f9b8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007f9a9
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007f980
xor edx, edx
test ecx, ecx
je 0x1007f9a9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007f990
cmp edi, 0x2a7e565d
je 0x1007f9ba
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x1007f9b8
mov ecx, dword [ebp - 0x240]
jmp 0x1007f961
xor ebx, ebx
movsx eax, byte [ebx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007f9c4.2
jmp dword [eax*4 + 0x100800f0]
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov ebx, eax
jmp 0x1007fa10
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x244], eax
mov ebx, eax
jmp 0x1007fa16
movss xmm0, dword [ebx + 0xc]
call fcn.10028e20
cvttss2si ebx, xmm0
jmp 0x1007fa10
mov dword [ebp - 0x244], 0
jmp 0x1007fa1f
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x244], ebx
cmp ebx, 0xa
je 0x10080063
mov ecx, dword [0x1013e438]
mov esi, dword [ebp - 0x248]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x10080063
mov ecx, dword [0x1013e434]
lea edx, [ebp - 0x23c]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10080063
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x268], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007fa80
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.10022820
push 0x18
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x268]
call fcn.1003f330
push eax
lea ecx, [ebp - 0x48]
call fcn.10038120
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x1007faf2
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007fae8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007fae8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a0a14
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x1007fb44
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007fb3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007fb3a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a0a14
add esp, 8
mov eax, dword [ebp - 0x24c]
mov ebx, dword [eax + 8]
mov eax, dword [0x10143630]
test al, 1
jne 0x1007fb97
or eax, 1
mov dword [0x10143630], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x25c]
call fcn.1003fab0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10143634
call fcn.1003feb0
add esp, 4
push 0x100ab4f0
call fcn.100a09fa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10143634]
call eax
mov ecx, eax
mov dword [ebp - 0x248], ecx
test ebx, ebx
je 0x1007fc08
test ecx, ecx
je 0x1007fc08
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x1007fc08
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007fbf9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007fbd1
xor edx, edx
test ecx, ecx
je 0x1007fbf9
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007fbe0
cmp edi, 0xa0d9523e
je 0x1007fc0a
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x1007fc08
mov ecx, dword [ebp - 0x248]
jmp 0x1007fbb5
xor ebx, ebx
movsx eax, byte [ebx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007fc14.2
jmp dword [eax*4 + 0x1008010c]
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007fc4e
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007fc4e
movss xmm0, dword [ebx + 0xc]
call fcn.10028e20
cvttss2si eax, xmm0
jmp 0x1007fc4e
xor eax, eax
jmp 0x1007fc4e
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x24c]
mov ebx, dword [eax + 8]
mov eax, dword [0x10143630]
test al, 1
jne 0x1007fca7
or eax, 1
mov dword [0x10143630], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x25c]
call fcn.1003fab0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10143634
call fcn.1003feb0
add esp, 4
push 0x100ab4f0
call fcn.100a09fa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x10143634]
call eax
mov ecx, eax
mov dword [ebp - 0x248], ecx
test ebx, ebx
je 0x1007fd18
test ecx, ecx
je 0x1007fd18
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x1007fd18
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007fd09
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007fce1
xor edx, edx
test ecx, ecx
je 0x1007fd09
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007fcf0
cmp edi, 0x6b98ed8f
je 0x1007fd1a
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x1007fd18
mov ecx, dword [ebp - 0x248]
jmp 0x1007fcc5
xor ebx, ebx
movsx eax, byte [ebx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007fd24.2
jmp dword [eax*4 + 0x10080128]
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007fd5e
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007fd5e
movss xmm0, dword [ebx + 0xc]
call fcn.10028e20
cvttss2si eax, xmm0
jmp 0x1007fd5e
xor eax, eax
jmp 0x1007fd5e
mov eax, dword [ebx + 0xc]
cmp byte [0x100c6740], 0
mov dword [ebp - 0x18], eax
je 0x1007fdc5
cmp byte [0x100c6850], 0
mov eax, dword [0x1013e494]
mov dword [0x101434ac], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x101434a4], xmm0
addss xmm0, dword [0x100b3c98]
movss dword [0x101434a8], xmm0
je 0x1007fdc5
mov ecx, dword [0x1013e48c]
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
cmp dword [ebp - 0x244], 0
je 0x10080063
mov esi, dword [0x100d3cac]
mov edi, dword [0x100d3cb0]
cmp esi, edi
je 0x1007fe09
mov edx, dword [0x1013e67c]
mov eax, dword [0x100bf4c8]
add edx, 0xffffffc2
mov ecx, dword [esi + 0x18]
xor edx, 0xd2ca0fa8
cmp ecx, dword [edx + eax]
jne 0x1007fe02
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1007fde2
mov ecx, dword [0x100d3ca4]
xor edi, edi
mov esi, dword [0x100d3ca8]
movss xmm1, dword [0x100b3e48]
add esi, ecx
cmp ecx, esi
je 0x10080063
mov ebx, dword [0x100d3ca0]
nop
mov edx, dword [0x100d3c9c]
lea eax, [ebx - 1]
and eax, ecx
mov edx, dword [edx + eax*4]
cmp byte [edx + 0x41], 0
jne 0x1007fe61
mov eax, dword [0x1013e494]
movss xmm0, dword [eax]
subss xmm0, dword [edx + 0xc]
call fcn.10026410
comiss xmm1, xmm0
jb 0x1007fe61
movaps xmm1, xmm0
mov edi, edx
inc ecx
cmp ecx, esi
jne 0x1007fe30
test edi, edi
je 0x10080063
cmp byte [0x100d23c0], 0
je 0x1008005f
movd xmm0, dword [ebp - 0x240]
cvtdq2ps xmm0, xmm0
push 0x98
push 0
cvttss2si eax, xmm0
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x244]
lea eax, [eax + eax*2]
lea esi, [eax*8 + 0x100d3bd8]
lea eax, [ebp - 0xe4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xe4]
call fcn.10021d70
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x48]
push esi
push eax
lea ecx, [ebp - 0xe4]
call fcn.10081b70
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xe0]
push eax
call fcn.10022960
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], 0x100adf4c
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.10022310
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x94]
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], 8
mov esi, dword [0x100ae688]
push 0x2c
call fcn.100a04f7
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x30]
lea ecx, [ebx + 0xc]
mov dword [ebx + 4], 1
push eax
mov dword [ebx + 8], 1
mov dword [ebx], 0x100ae9f4
call fcn.10028850
lea edx, [ebx + 0xc]
xorps xmm0, xmm0
mov dword [edx + 0x18], esi
movlpd qword [ebp - 0x250], xmm0
mov dword [edx + 0x1c], 0x40800000
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 4], 0xa
mov ecx, dword [0x1013e3a0]
cmp dword [0x1013e3a4], ecx
setne al
test al, al
je 0x1007ffce
mov dword [ecx + 4], 0
xor esi, esi
mov dword [ecx], edx
mov dword [ecx + 4], ebx
add dword [0x1013e3a0], 8
jmp 0x1007ffe1
lea eax, [ebp - 0x250]
push eax
push ecx
call fcn.10028a60
mov esi, dword [ebp - 0x24c]
mov byte [ebp - 4], 0xb
test esi, esi
je 0x1008000a
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1008000a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1008000a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.10028850
push 0x100bf450
call fcn.10030210
mov edx, dword [ebp - 0x1c]
add esp, 0x1c
cmp edx, 0x10
jb 0x1008005f
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10080055
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10080055
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a0a14
add esp, 8
mov byte [edi + 0x41], 1
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x10080099
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008008f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008008f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a0a14
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100a04d8
mov esp, ebp
pop ebp
ret 4