Function at 0x100e9830
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158171
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x10227800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0xc8], esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
mov ecx, str.player_hurt
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100e98a0
test dl, dl
je 0x100e989c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100e98a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100e9880
xor eax, eax
jmp 0x100e98a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100ea24d
cmp dword [0x101bb07c], eax
je 0x100ea24d
mov eax, dword [esi]
mov ecx, esi
push 0
push str.attacker
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1022862c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x101bb07c]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
cmp eax, esi
jne 0x100ea24d
mov ecx, dword [ebp - 0xc8]
push 0
push str.userid
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1022862c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x10228630]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x100ea24d
mov edx, dword [0x101bb07c]
cmp eax, edx
je 0x100ea24d
mov ecx, dword [0x102289d8]
mov esi, dword [0x102289d0]
test cl, 1
jne 0x100e9960
or ecx, 1
mov eax, esi
mov dword [0x102289d8], ecx
mov dword [0x102289d4], eax
jmp 0x100e9965
mov eax, dword [0x102289d4]
mov edi, dword [ebp - 0xc4]
mov edi, dword [eax + edi]
mov dword [ebp - 0xbc], edi
mov edi, dword [ebp - 0xb8]
test cl, 1
jne 0x100e998f
or ecx, 1
mov eax, esi
mov dword [0x102289d8], ecx
mov dword [0x102289d4], eax
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [eax + edx]
je 0x100ea24d
mov eax, dword [0x10239ca4]
test al, 1
jne 0x100e99bc
or eax, 1
push 0x10161f70
mov dword [0x10239ca4], eax
call fcn.100f54c9
add esp, 4
movd xmm0, dword [0x102308d0]
mov eax, 0x7fffffff
mov ecx, dword [0x10226294]
sub eax, ecx
mov dword [ebp - 0xa4], ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10167b90]
movss dword [ebp - 0xbc], xmm0
cmp eax, 1
jb 0x100ea26a
cmp dword [0x10226298], 0xf
mov eax, 0x10226284
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
cmova eax, dword [0x10226284]
mov dword [ebp - 0xb0], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ecx + 1]
mov dword [ebp - 4], 0
mov edx, 0xf
mov dword [ebp - 0xa8], eax
lea esi, [ebp - 0x40]
cmp eax, edx
jbe 0x100e9a87
or eax, edx
cmp eax, 0x7fffffff
jbe 0x100e9a4d
mov eax, 0x7fffffff
jmp 0x100e9a57
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10045830
mov edx, dword [ebp - 0xac]
mov esi, eax
mov ecx, dword [ebp - 0xa4]
add esp, 8
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x40], esi
push ecx
push dword [ebp - 0xb0]
mov dword [ebp - 0x30], eax
push esi
mov dword [ebp - 0x2c], edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xa4]
mov word [esi + eax], 0x5c
push 0x102308d4
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.100454f0
push str..wav
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.100454f0
add esp, 0x24
lea ecx, [ebp - 0xa0]
call fcn.10047000
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x100e9b1d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100e9b13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e9b13
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f51b6
add esp, 8
mov eax, dword [0x102308cc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test eax, eax
je 0x100e9f42
cmp eax, 1
je 0x100e9f2b
cmp dword [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
cmova edx, dword [ebp - 0x58]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
mov ecx, edx
mov byte [ebp - 4], 6
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e9b70
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10045890
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
cmova eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x100e9bdb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100e9bd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e9bd1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f51b6
add esp, 8
test esi, esi
jne 0x100e9f2b
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmova eax, dword [ebp - 0x58]
mov ecx, 0x102273f8
push eax
call fcn.10049560
cmp dword [0x10227408], esi
jbe 0x100e9f42
push 0x102273f8
lea ecx, [ebp - 0x28]
call fcn.10046750
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x188]
push 0x40
push 0x20
push eax
mov byte [ebp - 4], 7
call fcn.100e7ae0
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x188], 0x10171a54
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x18c], eax
push 2
push esi
push esi
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x188]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov esi, dword [eax + 8]
add esi, dword [eax]
push esi
mov dword [ebp - 0xac], esi
call fcn.100f5ad2
add esp, 4
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x188]
push 0
push 0
push 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
mov eax, esi
lea ecx, [ebp - 0x188]
cdq
push edx
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [ebp - 0x178]
call fcn.1008bde0
test eax, eax
jne 0x100e9cec
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x188]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x188]
call fcn.1008ba60
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x100e9d31
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100e9d27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e9d27
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f51b6
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov eax, dword [0x10239ca0]
test al, 1
jne 0x100e9d75
or eax, 1
mov dword [0x10239ca0], eax
mov ecx, 0x10239c80
mov byte [ebp - 4], 9
call fcn.100e7cc0
push 0x10161f60
call fcn.100f54c9
mov eax, dword [ebp - 0xa8]
add esp, 4
mov byte [ebp - 4], 5
jmp 0x100e9d7b
mov eax, dword [ebp - 0xa4]
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0xa7]
xor ecx, eax
movzx eax, byte [ebp - 0xa6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0xa5]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10239c80
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100e76d0
cmp dword [eax + 4], 0
jne 0x100e9df8
lea eax, [ebp - 0xa8]
mov ecx, 0x10239c80
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100e77c0
push esi
mov ecx, dword [eax]
add ecx, 0xc
call fcn.100ea780
lea eax, [ebp - 0xa8]
mov ecx, 0x10239c80
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100e77c0
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
add ecx, 0xc
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xb0], ecx
movss xmm0, dword [ecx + 0xc]
ucomiss xmm0, dword [ebp - 0xbc]
lahf
test ah, 0x44
jnp 0x100e9f19
push esi
push dword [ebp - 0xa8]
push dword [ebp - 0xa4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xb0]
add esp, 0xc
movss xmm1, dword [ebp - 0xbc]
xor esi, esi
movss dword [eax + 0xc], xmm1
mov eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x100e9f19
mov ecx, dword [ebp - 0xa4]
add ecx, 2
cmp byte [ecx - 2], 0x64
jne 0x100e9e97
cmp byte [ecx - 1], 0x61
jne 0x100e9e97
cmp byte [ecx], 0x74
jne 0x100e9e97
cmp byte [ecx + 1], 0x61
je 0x100e9eb2
inc esi
inc ecx
cmp esi, eax
jl 0x100e9e80
push 5
push 0
push dword [ebp - 0xa4]
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp 0x100e9f42
test esi, esi
je 0x100e9f19
mov ecx, dword [ebp - 0xa4]
mov edx, 0
mov eax, dword [esi + ecx + 4]
lea ecx, [ecx + 8]
shr eax, 1
lea ecx, [ecx + esi]
mov dword [ebp - 0xb0], eax
je 0x100e9f19
mov esi, dword [ebp - 0xac]
mov eax, dword [ebp - 0xa4]
dec esi
add eax, esi
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
mov edi, eax
movsx eax, word [ecx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ecx], ax
add ecx, 2
cmp ecx, edi
jae 0x100e9f13
inc edx
cmp edx, esi
jb 0x100e9ef2
mov edi, dword [ebp - 0xb8]
push 5
push 0
push dword [ebp - 0xa4]
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp 0x100e9f42
mov ecx, dword [0x1022862c]
push 0
push str.play_buttons_arena_switch_press_02.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp dword [0x102308a4], 0
jne 0x100e9f71
cmp byte [0x102308b8], 0
jne 0x100e9f71
mov eax, dword [edi + 0x31c]
cmp eax, dword [edi + 0x320]
je 0x100ea245
mov dword [edi + 0x320], eax
jmp 0x100ea245
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x1c], xmm0
movss xmm0, dword [0x101637dc]
mov dword [ebp - 0x14], eax
movss dword [ebp - 0xa4], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov esi, dword [edi + 0x310]
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
mov ecx, dword [edi + 0x314]
movd xmm2, eax
sub ecx, esi
cvtdq2ps xmm2, xmm2
mov eax, 0x2e8ba2e9
imul ecx
divss xmm2, dword [0x101637cc]
sar edx, 3
mov eax, edx
shr eax, 0x1f
movss dword [ebp - 0xb8], xmm2
add eax, edx
je 0x100ea245
xor eax, eax
mov dword [ebp - 0xac], eax
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [esi + eax + 0x14]
add esi, eax
addss xmm0, dword [0x10163778]
comiss xmm2, xmm0
jbe 0x100ea04f
mov eax, dword [edi + 0x314]
lea ecx, [esi + 0x2c]
sub eax, ecx
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
movss xmm1, dword [ebp - 0xa4]
add esp, 0xc
add dword [edi + 0x314], 0xffffffd4
jmp 0x100ea14e
movss xmm0, dword [ebp - 0x1c]
sub esp, 0x10
subss xmm0, dword [esi + 0x18]
movsd xmm1, qword [0x101718d8]
movsd qword [esp + 8], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [esi + 0x1c]
movsd xmm1, qword [0x101718d8]
movsd qword [esp + 8], xmm1
fstp qword [ebp - 0xc0]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [esi + 0x20]
movsd xmm1, qword [0x101718d8]
movsd qword [esp + 8], xmm1
fstp qword [ebp - 0xb4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm0, qword [ebp - 0xb4]
add esp, 8
addsd xmm0, qword [ebp - 0xc0]
fstp qword [ebp - 0xd0]
addsd xmm0, qword [ebp - 0xd0]
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [ebp - 0xa4]
add esp, 8
fstp dword [ebp - 0xb0]
movss xmm2, dword [ebp - 0xb0]
comiss xmm1, xmm2
ja 0x100ea127
movss xmm0, dword [0x101637dc]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100ea156
movups xmm0, xmmword [esi]
movaps xmm1, xmm2
movups xmmword [ebp - 0x84], xmm0
movups xmm0, xmmword [esi + 0x10]
movss dword [ebp - 0xa4], xmm1
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ebp - 0x64], xmm0
movss xmm0, dword [0x101637dc]
mov ecx, dword [edi + 0x314]
mov eax, 0x2e8ba2e9
mov esi, dword [edi + 0x310]
sub ecx, esi
add dword [ebp - 0xac], 0x2c
inc dword [ebp - 0xa8]
movss xmm2, dword [ebp - 0xb8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xac]
jb 0x100ea010
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100ea245
lea ecx, [edi + 0x31c]
call fcn.100e7ab0
mov esi, eax
mov eax, dword [ebp - 0xc8]
push 0
push str.dmg_health
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
call edx
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov dword [esi], eax
call edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101637cc]
movss dword [esi + 8], xmm0
call edi
mov dword [esi + 0x10], 0x3f800000
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x64]
divss xmm0, dword [0x101637cc]
movss dword [esi + 0xc], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
mov eax, dword [0x102287d4]
test al, 1
jne 0x100ea234
or eax, 1
mov dword [0x102287d4], eax
mov eax, dword [0x102287c0]
mov dword [0x102287d0], eax
jmp 0x100ea239
mov eax, dword [0x102287d0]
mov edi, dword [ebp - 0xc4]
mov eax, dword [eax + edi]
mov dword [esi + 4], eax
lea ecx, [ebp - 0x58]
call fcn.10047000
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.100f54de
mov esp, ebp
pop ebp
ret 4
call fcn.10048950
int3