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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ee2b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b8
mov eax, dword [0x100b100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x1007a460
cmp dword [0x100df7e0], 0
je 0x1007a460
mov edi, dword [eax + 8]
mov eax, dword [0x100fce90]
test al, 1
jne 0x10079a65
or eax, 1
mov dword [0x100fce90], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.10044660
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fce94
call fcn.10044b40
add esp, 4
push 0x100a0540
call fcn.10097c32
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fce94]
call eax
mov esi, eax
mov dword [ebp - 0x1a8], esi
test edi, edi
je 0x10079afc
test esi, esi
je 0x10079afc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x10079afc
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 0x10079ad9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079ab0
xor edx, edx
test ecx, ecx
je 0x10079ad9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079ac0
cmp edi, 0xd791104e
je 0x10079af4
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x10079afc
mov esi, dword [ebp - 0x1a8]
jmp 0x10079a91
mov ecx, dword [ebp - 0x1a4]
jmp 0x10079afe
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10079b08.2
jmp dword [eax*4 + 0x1007a480]
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 0x10079b46
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 0x10079b46
movss xmm0, dword [ecx + 0xc]
call fcn.1002cb50
cvttss2si edx, xmm0
jmp 0x10079b46
xor edx, edx
jmp 0x10079b46
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100f7920]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [ebp - 0x1b0]
mov ecx, dword [0x100fce90]
mov dword [ebp - 0x1a8], eax
mov esi, dword [esi + 8]
test cl, 1
jne 0x10079bad
or ecx, 1
mov dword [0x100fce90], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10044660
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fce94
call fcn.10044b40
add esp, 4
push 0x100a0540
call fcn.10097c32
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fce94]
call eax
mov edi, eax
mov dword [ebp - 0x1b4], edi
test esi, esi
je 0x10079c32
test edi, edi
je 0x10079c32
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x10079c32
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10079c1f
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079bf0
xor edx, edx
test ecx, ecx
je 0x10079c19
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079c00
cmp edi, 0x11ab48ff
je 0x10079c45
mov edi, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
jne 0x10079bd1
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10079c3e.2
jmp dword [eax*4 + 0x1007a49c]
mov ecx, dword [ebp - 0x1a4]
jmp 0x10079c34
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 0x10079c84
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 0x10079c84
movss xmm0, dword [ecx + 0xc]
call fcn.1002cb50
cvttss2si edx, xmm0
jmp 0x10079c84
xor edx, edx
jmp 0x10079c84
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100f7920]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [ebp - 0x1a8]
mov esi, eax
mov dword [ebp - 0x1ac], esi
lea ecx, [edi - 1]
cmp ecx, 0x3f
ja 0x1007a42a
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x1007a42a
mov ecx, dword [0x100f7920]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x1007a42a
mov ecx, dword [0x100f7920]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1007a42a
mov eax, dword [ebp - 0x1b0]
mov esi, dword [eax + 8]
mov eax, dword [0x100fce90]
test al, 1
jne 0x10079d32
or eax, 1
mov dword [0x100fce90], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10044660
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fce94
call fcn.10044b40
add esp, 4
push 0x100a0540
call fcn.10097c32
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fce94]
call eax
mov edi, eax
mov dword [ebp - 0x1b4], edi
test esi, esi
je 0x10079db3
test edi, edi
je 0x10079db3
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x10079db3
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10079da0
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10079d74
xor edx, edx
test ecx, ecx
je 0x10079d9a
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10079d81
cmp edi, 0x2a7e565d
je 0x10079dc6
mov edi, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
jne 0x10079d56
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10079dbf.2
jmp dword [eax*4 + 0x1007a4b8]
mov ecx, dword [ebp - 0x1a4]
jmp 0x10079db5
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 0x10079e0b
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x1a4], eax
mov esi, eax
jmp 0x10079e11
movss xmm0, dword [ecx + 0xc]
call fcn.1002cb50
cvttss2si esi, xmm0
jmp 0x10079e0b
xor esi, esi
jmp 0x10079e0b
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1a4], esi
cmp byte [0x100e7574], 0
movss xmm1, dword [0x100a75a4]
je 0x10079e50
mov ecx, dword [0x100f7978]
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
movss xmm1, dword [0x100a75a4]
cmp byte [0x100e7430], 0
je 0x10079e81
mov eax, dword [0x100f7980]
mov dword [0x100fcd00], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x100fccf8], xmm0
addss xmm0, xmm1
movss dword [0x100fccfc], xmm0
cmp esi, 0xa
je 0x1007a42a
mov ecx, dword [0x100f7924]
mov esi, dword [ebp - 0x1ac]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1007a42a
mov ecx, dword [0x100f7920]
lea edx, [ebp - 0x1a0]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1007a42a
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x2c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079ee0
sub ecx, edx
lea eax, [ebp - 0x190]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10028180
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov ecx, 0x18
mov dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1b4], 0xf
cmovb ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c8]
push eax
mov byte [ebp - 0x1c8], 0
call fcn.10028180
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10079f70
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10079f66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a450
push edx
push ecx
call fcn.10097c47
add esp, 8
movups xmm0, xmmword [ebp - 0x1c8]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x1b8]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
movq qword [ebp - 0x34], xmm0
cmp edx, 0x10
jb 0x10079fc0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10079fb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a450
push edx
push ecx
call fcn.10097c47
add esp, 8
mov eax, dword [ebp - 0x1b0]
mov esi, dword [eax + 8]
mov eax, dword [0x100fce90]
test al, 1
jne 0x1007a010
or eax, 1
mov dword [0x100fce90], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.10044660
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fce94
call fcn.10044b40
add esp, 4
push 0x100a0540
call fcn.10097c32
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fce94]
call eax
mov edi, eax
mov dword [ebp - 0x1a8], edi
test esi, esi
je 0x1007a092
test edi, edi
je 0x1007a092
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x1007a092
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, edi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1007a07f
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007a052
xor edx, edx
test ecx, ecx
je 0x1007a079
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007a060
cmp edi, 0xa0d9523e
je 0x1007a0a5
mov edi, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
jne 0x1007a034
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007a09e.2
jmp dword [eax*4 + 0x1007a4d4]
mov ecx, dword [ebp - 0x1b4]
jmp 0x1007a094
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x1007a0e0
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x1007a0e0
movss xmm0, dword [ecx + 0xc]
call fcn.1002cb50
cvttss2si eax, xmm0
jmp 0x1007a0e0
xor eax, eax
jmp 0x1007a0e0
mov eax, dword [ecx + 0xc]
movd xmm0, eax
mov eax, dword [ebp - 0x1b0]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x100fce90]
movss dword [ebp - 0x1a8], xmm0
test al, 1
jne 0x1007a13f
or eax, 1
mov dword [0x100fce90], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.10044660
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fce94
call fcn.10044b40
add esp, 4
push 0x100a0540
call fcn.10097c32
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fce94]
call eax
mov esi, eax
mov dword [ebp - 0x1ac], esi
test edi, edi
je 0x1007a1ce
test esi, esi
je 0x1007a1ce
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x1007a1ce
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 0x1007a1ab
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1007a185
xor edx, edx
test ecx, ecx
je 0x1007a1ab
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007a192
cmp edi, 0x6b98ed8f
je 0x1007a1c6
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x1007a1ce
mov esi, dword [ebp - 0x1ac]
jmp 0x1007a167
mov ecx, dword [ebp - 0x1b4]
jmp 0x1007a1d0
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007a1da.2
jmp dword [eax*4 + 0x1007a4f0]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov ecx, eax
jmp 0x1007a218
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov ecx, eax
jmp 0x1007a218
movss xmm0, dword [ecx + 0xc]
call fcn.1002cb50
cvttss2si ecx, xmm0
jmp 0x1007a218
xor ecx, ecx
jmp 0x1007a218
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp - 0x1a4]
movss xmm0, dword [ebp - 0x1a8]
cmp edx, 1
jne 0x1007a239
cvttss2si eax, xmm0
cmp eax, ecx
jl 0x1007a239
inc dword [0x100f6ce4]
cmp byte [0x100f48b0], 0
je 0x1007a376
lea eax, [edx + edx*2]
lea ecx, [eax*8 + 0x100f6bd8]
cvttss2si eax, xmm0
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x44]
push eax
push ecx
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1007bb80
add esp, 0xc
mov byte [ebp - 4], 7
mov esi, dword [0x100a2d18]
push 0x34
call fcn.100977e8
add esp, 4
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 8
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100a32b8
lea eax, [ebp - 0x2c]
push eax
call fcn.1002c060
mov eax, dword [ebp - 0x1a8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1b8], xmm0
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], 0x40a00000
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 9
push eax
call fcn.1002bf60
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x1b4]
test esi, esi
je 0x1007a325
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007a325
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007a325
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1002c060
push 0x100df7e0
call fcn.10033c20
mov edx, dword [ebp - 0x18]
add esp, 0x1c
cmp edx, 0x10
jb 0x1007a376
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007a36c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007a36c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10097c47
add esp, 8
mov esi, dword [0x100f6d00]
mov edi, dword [0x100f6d04]
cmp esi, edi
je 0x1007a3b7
nop word [eax + eax]
mov edx, dword [0x100f7b9c]
mov eax, dword [0x100df7e0]
add edx, 0xffffffc2
mov ecx, dword [esi + 0x18]
xor edx, 0x8d9beba8
cmp ecx, dword [edx + eax]
jne 0x1007a3b0
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x1007a390
mov ecx, dword [0x100f6cf8]
xor edx, edx
mov esi, dword [0x100f6cfc]
movss xmm1, dword [0x100a777c]
add esi, ecx
mov dword [ebp - 0x1a8], esi
cmp ecx, esi
je 0x1007a42a
mov edi, dword [0x100f6cf4]
dec edi
mov esi, dword [0x100f6cf0]
mov eax, ecx
and eax, edi
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x1a8]
cmp byte [eax + 0x49], 0
jne 0x1007a41d
mov esi, dword [0x100f7980]
movss xmm0, dword [esi]
subss xmm0, dword [eax + 8]
call fcn.1001e9d0
comiss xmm1, xmm0
mov esi, dword [ebp - 0x1a8]
jb 0x1007a41d
movaps xmm1, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x1007a3e0
test edx, edx
je 0x1007a42a
mov byte [edx + 0x49], 1
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1007a460
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007a456
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007a456
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10097c47
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100977c9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4