Function at 0x100d6c70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x103090f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x88], edi
mov eax, dword [edi]
call dword [eax + 4]
mov ecx, str.player_hurt
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100d6cc0
test dl, dl
je 0x100d6cbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100d6cc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100d6ca0
xor eax, eax
jmp 0x100d6cc5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100d75ce
cmp dword [0x10173080], eax
je 0x100d75ce
mov eax, dword [edi]
mov ecx, edi
push esi
push 0
push str.attacker
call dword [eax + 0x18]
mov ecx, dword [0x1030a060]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x10173080]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
call dword [edx + 0x28]
cmp eax, esi
jne 0x100d75cd
mov eax, dword [edi]
mov ecx, edi
push 0
push str.userid
call dword [eax + 0x18]
mov ecx, dword [0x1030a060]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x1030a064]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x100d75cd
mov edx, dword [0x10173080]
cmp edi, edx
je 0x100d75cd
mov ecx, dword [0x1030a408]
mov esi, dword [0x1030a400]
test cl, 1
jne 0x100d6d77
or ecx, 1
mov eax, esi
mov dword [0x1030a408], ecx
mov dword [0x1030a404], eax
jmp 0x100d6d7c
mov eax, dword [0x1030a404]
mov edi, dword [eax + edi]
test cl, 1
jne 0x100d6d94
or ecx, 1
mov eax, esi
mov dword [0x1030a408], ecx
mov dword [0x1030a404], eax
cmp edi, dword [eax + edx]
je 0x100d75cd
mov eax, dword [0x103142a4]
test al, 1
jne 0x100d6dbb
or eax, 1
push 0x10144370
mov dword [0x103142a4], eax
call fcn.100e131d
add esp, 4
movd xmm0, dword [0x10305038]
mov eax, 0x7fffffff
mov ecx, dword [0x10300b50]
sub eax, ecx
mov dword [ebp - 0x70], ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1014a8d8]
movss dword [ebp - 0x78], xmm0
cmp eax, 1
jb 0x100d75e0
cmp dword [0x10300b54], 0x10
lea edi, [ebp - 0x1c]
mov eax, 0x10300b40
mov dword [ebp - 0xc], 0
cmovae eax, dword [0x10300b40]
mov esi, 0xf
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 8], 0
mov dword [ebp - 0x6c], eax
movups xmmword [ebp - 0x1c], xmm0
cmp eax, esi
jbe 0x100d6e5e
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x100d6e3d
mov esi, 0x7fffffff
jmp 0x100d6e47
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10045ed0
mov ecx, dword [ebp - 0x70]
mov edi, eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], edi
push ecx
push dword [ebp - 0x68]
mov dword [ebp - 0xc], eax
push edi
mov dword [ebp - 8], esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x70]
add esp, 0xc
push str..wav
mov word [edi + eax], 0x5c
lea eax, [ebp - 0x1c]
push 0x1030503c
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10043080
add esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10043080
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10044690
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x100d6edf
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d6ed5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d6ed5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e100a
add esp, 8
mov eax, dword [0x10305034]
test eax, eax
je 0x100d7380
cmp eax, 1
je 0x100d7229
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
cmovae edx, dword [ebp - 0x34]
mov ecx, edx
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d6f20
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.100432b0
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov ecx, dword [ebp - 8]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x100d6f84
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d6f7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d6f7a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e100a
add esp, 8
test esi, esi
jne 0x100d7229
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
mov ecx, 0x10308d60
push eax
call fcn.100469b0
cmp dword [0x10308d70], esi
jbe 0x100d7380
push 0x10308d60
lea ecx, [ebp - 0x1c]
call fcn.10044130
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 1
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x140]
push 0x40
push 0x20
push eax
call fcn.100d5030
mov eax, dword [ebp - 0x140]
push 2
push esi
push esi
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x140], 0x1014f8ec
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x144], eax
lea ecx, [ebp - 0x140]
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 - 0x4c]
push eax
lea ecx, [ebp - 0x140]
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 edi, dword [eax + 8]
add edi, dword [eax]
push edi
mov dword [ebp - 0x6c], edi
call fcn.100e1a65
add esp, 4
lea ecx, [ebp - 0x140]
mov esi, eax
mov dword [ebp - 0x70], esi
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, edi
lea ecx, [ebp - 0x140]
cdq
push edx
push eax
push esi
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 - 0x130]
call fcn.10076ff0
test eax, eax
jne 0x100d7083
push eax
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x140]
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 - 0x140]
call fcn.10076d00
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x100d70c4
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d70ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d70ba
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e100a
add esp, 8
mov eax, dword [0x103142a0]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x68], edx
test al, 1
jne 0x100d70f5
or eax, 1
mov ecx, 0x10314280
mov dword [0x103142a0], eax
call fcn.100d51c0
push 0x10144360
call fcn.100e131d
mov edx, dword [ebp - 0x68]
add esp, 4
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x66]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x65]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10314280
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.100d4c60
cmp dword [eax + 4], 0
jne 0x100d715c
lea eax, [ebp - 0x68]
mov ecx, 0x10314280
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.100d4d50
push edi
mov ecx, dword [eax]
add ecx, 0xc
call fcn.100d7b00
lea eax, [ebp - 0x68]
mov ecx, 0x10314280
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.100d4d50
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x78]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x70], edi
lahf
test ah, 0x44
jnp 0x100d7375
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x6c]
add esp, 0xc
movss xmm1, dword [ebp - 0x78]
cdq
sub eax, edx
movss dword [esi + 0x18], xmm1
sar eax, 1
xor esi, esi
test eax, eax
jle 0x100d7375
lea ecx, [edi + 2]
cmp byte [ecx - 2], 0x64
jne 0x100d71ce
cmp byte [ecx - 1], 0x61
jne 0x100d71ce
cmp byte [ecx], 0x74
jne 0x100d71ce
cmp byte [ecx + 1], 0x61
je 0x100d71d9
inc esi
inc ecx
cmp esi, eax
jl 0x100d71b7
jmp 0x100d7375
test esi, esi
je 0x100d7375
mov eax, dword [ebp - 0x70]
mov edx, 0
mov edi, dword [esi + edi + 4]
shr edi, 1
lea ecx, [eax + 8]
lea ecx, [ecx + esi]
je 0x100d7221
mov esi, dword [ebp - 0x6c]
dec esi
add esi, eax
nop dword [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, esi
jae 0x100d7221
inc edx
cmp edx, edi
jb 0x100d7200
mov edi, dword [ebp - 0x70]
jmp 0x100d7375
mov eax, dword [0x103142a0]
mov edx, str.RIFF
mov dword [ebp - 0x68], edx
test al, 1
jne 0x100d725c
or eax, 1
mov ecx, 0x10314280
mov dword [0x103142a0], eax
call fcn.100d51c0
push 0x10144360
call fcn.100e131d
mov edx, dword [ebp - 0x68]
add esp, 4
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x66]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x65]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10314280
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100d4c60
cmp dword [eax + 4], 0
jne 0x100d72c7
lea eax, [ebp - 0x68]
mov ecx, 0x10314280
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100d4d50
push 0xfcbc
mov ecx, dword [eax]
add ecx, 0xc
call fcn.100d7b00
lea eax, [ebp - 0x68]
mov ecx, 0x10314280
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100d4d50
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x78]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x100d7375
push 0xfcbc
push dword [ebp - 0x68]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x78]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
cmp byte [eax - 2], 0x64
jne 0x100d7328
cmp byte [eax - 1], 0x61
jne 0x100d7328
cmp byte [eax], 0x74
jne 0x100d7328
cmp byte [eax + 1], 0x61
je 0x100d7334
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x100d7311
jmp 0x100d7375
test ecx, ecx
je 0x100d7375
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x100d7375
lea ebx, [edi + 0xfcbb]
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, ebx
jae 0x100d7372
inc edx
cmp edx, esi
jb 0x100d7351
mov ebx, dword [ebp - 0x7c]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x1030500c], 0
jne 0x100d73af
cmp byte [0x10305020], 0
jne 0x100d73af
mov eax, dword [ebx + 0x31c]
cmp eax, dword [ebx + 0x320]
je 0x100d75c5
mov dword [ebx + 0x320], eax
jmp 0x100d75c5
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x10], xmm0
movss xmm0, dword [0x10146708]
mov dword [ebp - 8], eax
movss dword [ebp - 0x70], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov esi, dword [ebx + 0x310]
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebx + 0x314]
movd xmm2, eax
sub ecx, esi
mov eax, 0x2e8ba2e9
imul ecx
cvtdq2ps xmm2, xmm2
sar edx, 3
mulss xmm2, dword [0x1014663c]
mov eax, edx
shr eax, 0x1f
movss dword [ebp - 0x7c], xmm2
add eax, edx
je 0x100d75c5
xor edi, edi
movss xmm0, dword [edi + esi + 0x14]
lea edx, [edi + esi]
addss xmm0, dword [0x101466a8]
comiss xmm2, xmm0
jbe 0x100d746b
mov eax, dword [ebx + 0x314]
lea ecx, [edx + 0x2c]
sub eax, ecx
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memmove
movss xmm1, dword [ebp - 0x70]
add esp, 0xc
add dword [ebx + 0x314], 0xffffffd4
jmp 0x100d74e9
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [edx + 0x1c]
cvtps2pd xmm2, xmm0
movss xmm0, dword [ebp - 0x10]
subss xmm0, dword [edx + 0x18]
mulsd xmm2, xmm2
cvtps2pd xmm1, xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [edx + 0x20]
mulsd xmm1, xmm1
cvtps2pd xmm0, xmm0
addsd xmm1, xmm2
mulsd xmm0, xmm0
addsd xmm1, xmm0
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
movss xmm1, dword [ebp - 0x70]
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x100d74c8
ucomiss xmm1, dword [0x10146708]
lahf
test ah, 0x44
jp 0x100d74e9
movaps xmm1, xmm0
movups xmm0, xmmword [edx]
movss dword [ebp - 0x70], xmm1
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [edx + 0x20]
movq qword [ebp - 0x40], xmm0
mov ecx, dword [ebx + 0x314]
mov eax, 0x2e8ba2e9
mov esi, dword [ebx + 0x310]
add edi, 0x2c
inc dword [ebp - 0x6c]
sub ecx, esi
movss xmm2, dword [ebp - 0x7c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x6c], eax
jb 0x100d7431
ucomiss xmm1, dword [0x10146708]
lahf
test ah, 0x44
jnp 0x100d75c5
lea ecx, [ebx + 0x31c]
call fcn.100d5000
mov ecx, dword [ebp - 0x88]
mov esi, eax
push 0
push str.dmg_health
mov edx, dword [ecx]
call dword [edx + 0x18]
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
mulss xmm0, dword [0x1014663c]
movss dword [esi + 8], xmm0
call edi
mov dword [esi + 0x10], 0x3f800000
movd xmm0, eax
mov eax, dword [ebp - 0x40]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1014663c]
movss dword [esi + 0xc], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
mov eax, dword [0x1030a204]
test al, 1
jne 0x100d75b4
or eax, 1
mov dword [0x1030a204], eax
mov eax, dword [0x1030a1f0]
mov dword [0x1030a200], eax
jmp 0x100d75b9
mov eax, dword [0x1030a200]
mov ecx, dword [ebp - 0x84]
mov eax, dword [eax + ecx]
mov dword [esi + 4], eax
lea ecx, [ebp - 0x34]
call fcn.10044690
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100e1332
mov esp, ebp
pop ebp
ret 4
call fcn.10045df0
int3