Function at 0x1007850d
Capabilities:
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 0x1009cdab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b8
mov eax, dword [0x100af00c]
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 0x10078d10
cmp dword [0x100dd4e0], 0
je 0x10078d10
mov edi, dword [eax + 8]
mov eax, dword [0x100fa978]
test al, 1
jne 0x10078315
or eax, 1
mov dword [0x100fa978], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.10042950
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fa97c
call fcn.10042e30
add esp, 4
push 0x1009e470
call fcn.10095baa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fa97c]
call eax
mov esi, eax
mov dword [ebp - 0x1a8], esi
test edi, edi
je 0x100783ac
test esi, esi
je 0x100783ac
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x100783ac
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 0x10078389
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10078360
xor edx, edx
test ecx, ecx
je 0x10078389
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10078370
cmp edi, 0xd791104e
je 0x100783a4
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x100783ac
mov esi, dword [ebp - 0x1a8]
jmp 0x10078341
mov ecx, dword [ebp - 0x1a4]
jmp 0x100783ae
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100783b8.2
jmp dword [eax*4 + 0x10078d30]
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 0x100783f6
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 0x100783f6
movss xmm0, dword [ecx + 0xc]
call fcn.1002b0f0
cvttss2si edx, xmm0
jmp 0x100783f6
xor edx, edx
jmp 0x100783f6
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100f5408]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [ebp - 0x1b0]
mov ecx, dword [0x100fa978]
mov dword [ebp - 0x1a8], eax
mov esi, dword [esi + 8]
test cl, 1
jne 0x1007845d
or ecx, 1
mov dword [0x100fa978], ecx
mov edx, 0x990704d7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10042950
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fa97c
call fcn.10042e30
add esp, 4
push 0x1009e470
call fcn.10095baa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fa97c]
call eax
mov edi, eax
mov dword [ebp - 0x1b4], edi
test esi, esi
je 0x100784e2
test edi, edi
je 0x100784e2
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x100784e2
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 0x100784cf
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100784a0
xor edx, edx
test ecx, ecx
je 0x100784c9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100784b0
cmp edi, 0x11ab48ff
je 0x100784f5
mov edi, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
jne 0x10078481
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100784ee.2
jmp dword [eax*4 + 0x10078d4c]
mov ecx, dword [ebp - 0x1a4]
jmp 0x100784e4
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 0x10078534
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 0x10078534
movss xmm0, dword [ecx + 0xc]
call fcn.1002b0f0
cvttss2si edx, xmm0
jmp 0x10078534
xor edx, edx
jmp 0x10078534
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100f5408]
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 0x10078cda
lea ecx, [esi - 1]
cmp ecx, 0x3f
ja 0x10078cda
mov ecx, dword [0x100f5408]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jne 0x10078cda
mov ecx, dword [0x100f5408]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x10078cda
mov eax, dword [ebp - 0x1b0]
mov esi, dword [eax + 8]
mov eax, dword [0x100fa978]
test al, 1
jne 0x100785e2
or eax, 1
mov dword [0x100fa978], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10042950
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fa97c
call fcn.10042e30
add esp, 4
push 0x1009e470
call fcn.10095baa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fa97c]
call eax
mov edi, eax
mov dword [ebp - 0x1b4], edi
test esi, esi
je 0x10078663
test edi, edi
je 0x10078663
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x10078663
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 0x10078650
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10078624
xor edx, edx
test ecx, ecx
je 0x1007864a
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10078631
cmp edi, 0x2a7e565d
je 0x10078676
mov edi, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1a4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
jne 0x10078606
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007866f.2
jmp dword [eax*4 + 0x10078d68]
mov ecx, dword [ebp - 0x1a4]
jmp 0x10078665
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 0x100786bb
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 0x100786c1
movss xmm0, dword [ecx + 0xc]
call fcn.1002b0f0
cvttss2si esi, xmm0
jmp 0x100786bb
xor esi, esi
jmp 0x100786bb
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1a4], esi
cmp byte [0x100e51e4], 0
movss xmm1, dword [0x100a53ac]
je 0x10078700
mov ecx, dword [0x100f5460]
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 [0x100a53ac]
cmp byte [0x100e50a0], 0
je 0x10078731
mov eax, dword [0x100f5468]
mov dword [0x100fa7e8], 0x3f800000
movss xmm0, dword [eax + 0x10]
movss dword [0x100fa7e0], xmm0
addss xmm0, xmm1
movss dword [0x100fa7e4], xmm0
cmp esi, 0xa
je 0x10078cda
mov ecx, dword [0x100f540c]
mov esi, dword [ebp - 0x1ac]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x10078cda
mov ecx, dword [0x100f5408]
lea edx, [ebp - 0x1a0]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10078cda
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 0x10078790
sub ecx, edx
lea eax, [ebp - 0x190]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100274f0
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.100274f0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10078820
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10078816
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10078d00
push edx
push ecx
call fcn.10095bbf
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 0x10078870
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10078866
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10078d00
push edx
push ecx
call fcn.10095bbf
add esp, 8
mov eax, dword [ebp - 0x1b0]
mov esi, dword [eax + 8]
mov eax, dword [0x100fa978]
test al, 1
jne 0x100788c0
or eax, 1
mov dword [0x100fa978], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.10042950
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fa97c
call fcn.10042e30
add esp, 4
push 0x1009e470
call fcn.10095baa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fa97c]
call eax
mov edi, eax
mov dword [ebp - 0x1a8], edi
test esi, esi
je 0x10078942
test edi, edi
je 0x10078942
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x10078942
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 0x1007892f
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10078902
xor edx, edx
test ecx, ecx
je 0x10078929
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10078910
cmp edi, 0xa0d9523e
je 0x10078955
mov edi, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
jne 0x100788e4
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007894e.2
jmp dword [eax*4 + 0x10078d84]
mov ecx, dword [ebp - 0x1b4]
jmp 0x10078944
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
jmp 0x10078990
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
jmp 0x10078990
movss xmm0, dword [ecx + 0xc]
call fcn.1002b0f0
cvttss2si eax, xmm0
jmp 0x10078990
xor eax, eax
jmp 0x10078990
mov eax, dword [ecx + 0xc]
movd xmm0, eax
mov eax, dword [ebp - 0x1b0]
cvtdq2ps xmm0, xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x100fa978]
movss dword [ebp - 0x1a8], xmm0
test al, 1
jne 0x100789ef
or eax, 1
mov dword [0x100fa978], eax
mov edx, 0x990704d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.10042950
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100fa97c
call fcn.10042e30
add esp, 4
push 0x1009e470
call fcn.10095baa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x100fa97c]
call eax
mov esi, eax
mov dword [ebp - 0x1ac], esi
test edi, edi
je 0x10078a7e
test esi, esi
je 0x10078a7e
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x10078a7e
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 0x10078a5b
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10078a35
xor edx, edx
test ecx, ecx
je 0x10078a5b
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10078a42
cmp edi, 0x6b98ed8f
je 0x10078a76
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
je 0x10078a7e
mov esi, dword [ebp - 0x1ac]
jmp 0x10078a17
mov ecx, dword [ebp - 0x1b4]
jmp 0x10078a80
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10078a8a.2
jmp dword [eax*4 + 0x10078da0]
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 0x10078ac8
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 0x10078ac8
movss xmm0, dword [ecx + 0xc]
call fcn.1002b0f0
cvttss2si ecx, xmm0
jmp 0x10078ac8
xor ecx, ecx
jmp 0x10078ac8
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp - 0x1a4]
movss xmm0, dword [ebp - 0x1a8]
cmp edx, 1
jne 0x10078ae9
cvttss2si eax, xmm0
cmp eax, ecx
jl 0x10078ae9
inc dword [0x100f48cc]
cmp byte [0x100f2520], 0
je 0x10078c26
lea eax, [edx + edx*2]
lea ecx, [eax*8 + 0x100f47c0]
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.1007a410
add esp, 0xc
mov byte [ebp - 4], 7
mov esi, dword [0x100a13d0]
push 0x34
call fcn.10095760
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], 0x100a1ea8
lea eax, [ebp - 0x2c]
push eax
call fcn.1002a840
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.10048c50
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x1b4]
test esi, esi
je 0x10078bd5
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10078bd5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10078bd5
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.1002a840
push 0x100dd4e0
call fcn.10032180
mov edx, dword [ebp - 0x18]
add esp, 0x1c
cmp edx, 0x10
jb 0x10078c26
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10078c1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10078c1c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10095bbf
add esp, 8
mov esi, dword [0x100f48e8]
mov edi, dword [0x100f48ec]
cmp esi, edi
je 0x10078c67
nop word [eax + eax]
mov edx, dword [0x100f5684]
mov eax, dword [0x100dd4e0]
add edx, 0xffffffc2
mov ecx, dword [esi + 0x18]
xor edx, 0x8d9beba8
cmp ecx, dword [edx + eax]
jne 0x10078c60
mov byte [esi + 0x1d], 1
add esi, 0x20
cmp esi, edi
jne 0x10078c40
mov ecx, dword [0x100f48e0]
xor edx, edx
mov esi, dword [0x100f48e4]
movss xmm1, dword [0x100a557c]
add esi, ecx
mov dword [ebp - 0x1a8], esi
cmp ecx, esi
je 0x10078cda
mov edi, dword [0x100f48dc]
dec edi
mov esi, dword [0x100f48d8]
mov eax, ecx
and eax, edi
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x1a8]
cmp byte [eax + 0x49], 0
jne 0x10078ccd
mov esi, dword [0x100f5468]
movss xmm0, dword [esi]
subss xmm0, dword [eax + 8]
call fcn.1001e850
comiss xmm1, xmm0
mov esi, dword [ebp - 0x1a8]
jb 0x10078ccd
movaps xmm1, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x10078c90
test edx, edx
je 0x10078cda
mov byte [edx + 0x49], 1
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10078d10
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10078d06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10078d06
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10095bbf
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.10095741
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4