Function at 0x10103740
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x1030cb40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov dword [ebp - 0xb8], ecx
call dword [eax + 4]
mov esi, eax
mov ecx, 0x1030c370
lea eax, [ebp - 0x94]
push eax
call fcn.1004ed60
mov edi, dword [ebp - 0x80]
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x94]
cmp edi, 0xf
cmova ecx, edx
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x101037b2
test al, al
je 0x101037ae
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x101037b2
add esi, 2
add ecx, 2
test al, al
jne 0x10103792
xor eax, eax
jmp 0x101037b7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x101037c7
cmp dword [0x1019d07c], eax
je 0x101037c7
xor bl, bl
jmp 0x101037c9
mov bl, 1
cmp edi, 0xf
jbe 0x101037fb
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x101037f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101037f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
test bl, bl
jne 0x1010489c
mov ebx, dword [ebp - 0xb8]
mov ecx, 0x1030c388
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x34]
push eax
call fcn.1004dcd0
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push 0
cmova eax, dword [ebp - 0x34]
mov ecx, ebx
push eax
call esi
mov ecx, dword [0x1030d940]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [ebp - 0x20]
mov esi, eax
cmp ecx, 0xf
jbe 0x10103874
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010386a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010386a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
mov ecx, dword [0x1019d07c]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, esi
jne 0x1010489c
mov eax, dword [ebx]
mov ecx, 0x1030c3a0
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x34]
push eax
call fcn.10059510
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push 0
cmova eax, dword [ebp - 0x34]
mov ecx, ebx
push eax
call esi
mov ecx, dword [0x1030d940]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.10042fe0
mov ecx, dword [0x1030d944]
push esi
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebx, eax
mov dword [ebp - 0xbc], ebx
test ebx, ebx
je 0x1010489c
mov edx, dword [0x1019d07c]
cmp ebx, edx
je 0x1010489c
mov ecx, dword [0x1030dcf8]
mov esi, dword [0x1030dcf0]
test cl, 1
jne 0x10103914
or ecx, 1
mov eax, esi
mov dword [0x1030dcf8], ecx
mov dword [0x1030dcf4], eax
jmp 0x10103919
mov eax, dword [0x1030dcf4]
mov edi, dword [eax + ebx]
test cl, 1
jne 0x10103931
or ecx, 1
mov eax, esi
mov dword [0x1030dcf8], ecx
mov dword [0x1030dcf4], eax
cmp edi, dword [eax + edx]
je 0x1010489c
mov eax, dword [0x1034dbb4]
test al, 1
jne 0x10103958
or eax, 1
push 0x1016fdb0
mov dword [0x1034dbb4], eax
call fcn.1010f50d
add esp, 4
movd xmm0, dword [0x102ff79c]
lea eax, [ebp - 0x4c]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x1030c3b8
mulss xmm0, dword [0x10175978]
movss dword [ebp - 0x9c], xmm0
call fcn.1004d700
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
mov ebx, dword [0x10347260]
cmova eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov eax, 0x7fffffff
sub eax, ebx
cmp eax, 1
jb 0x101048af
cmp dword [0x10347264], 0xf
lea edi, [ebx + 1]
mov eax, 0x10347250
mov dword [ebp - 0xc], 0
cmova eax, dword [0x10347250]
lea esi, [ebp - 0x1c]
mov ecx, 0xf
mov dword [ebp - 0xac], eax
mov dword [ebp - 8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c], xmm0
cmp edi, ecx
jbe 0x10103a2b
mov eax, edi
or eax, ecx
cmp eax, 0x7fffffff
jbe 0x101039f7
mov eax, 0x7fffffff
jmp 0x10103a01
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10041b00
mov ecx, dword [ebp - 0x98]
mov esi, eax
mov eax, dword [ebp - 0xac]
add esp, 8
mov dword [ebp - 0x1c], esi
push ebx
push eax
push esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ecx
call sub.VCRUNTIME140.dll_memcpy
push 0x102ff7a0
lea eax, [ebp - 0x1c]
mov byte [esi + ebx], 0x5c
push eax
lea eax, [ebp - 0x64]
mov byte [esi + edi], 0
push eax
call fcn.10041810
push dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10041810
add esp, 0x24
lea ecx, [ebp - 0x64]
call fcn.10042fe0
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10103aa4
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10103a9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10103a9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.10042fe0
mov eax, dword [0x102ff798]
test eax, eax
je 0x101045ec
cmp eax, 1
je 0x10103e2b
cmp dword [ebp - 0x20], 0xf
lea edx, [ebp - 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
cmova edx, dword [ebp - 0x34]
mov ecx, edx
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10103b00
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.10041b60
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x1c]
cmova 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, 0xf
jbe 0x10103b64
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10103b5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10103b5a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
test esi, esi
jne 0x10103e1d
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmova eax, dword [ebp - 0x34]
mov ecx, 0x1030c1e8
push eax
call fcn.100450a0
cmp dword [0x1030c1f8], esi
jbe 0x10103e1d
push 0x1030c1e8
lea ecx, [ebp - 0x1c]
call fcn.10042aa0
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
push 1
cmova eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x174]
push 0x40
push 0x20
push eax
call fcn.10100f90
mov eax, dword [ebp - 0x174]
push 2
push esi
push esi
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x174], 0x1017d318
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x178], eax
lea ecx, [ebp - 0x174]
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 - 0x64]
push eax
lea ecx, [ebp - 0x174]
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 - 0xa0], edi
call fcn.1010fc58
add esp, 4
lea ecx, [ebp - 0x174]
mov ebx, eax
push esi
push esi
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__::seekg_long_long___int64___int_]
mov eax, edi
lea ecx, [ebp - 0x174]
cdq
push edx
push eax
push ebx
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 - 0x164]
call fcn.10087150
test eax, eax
jne 0x10103c60
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
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 - 0x174]
call fcn.10086e60
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10103ca1
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10103c97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10103c97
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f1fa
add esp, 8
mov eax, dword [0x1034dbb0]
mov dword [ebp - 0x98], ebx
test al, 1
jne 0x10103cd5
or eax, 1
mov ecx, 0x1034db90
mov dword [0x1034dbb0], eax
call fcn.10101120
push 0x1016fda0
call fcn.1010f50d
mov ebx, dword [ebp - 0x98]
add esp, 4
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x97]
xor ecx, eax
movzx eax, byte [ebp - 0x96]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x95]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10100bc0
cmp dword [eax + 4], 0
jne 0x10103d52
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10100cb0
push edi
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104c60
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10100cb0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov ebx, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10103e12
push edi
push dword [ebp - 0x98]
push ebx
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x9c]
mov eax, edi
cdq
add esp, 0xc
sub eax, edx
movss dword [esi + 0x18], xmm1
sar eax, 1
xor esi, esi
test eax, eax
jle 0x10103e12
lea ecx, [ebx + 2]
cmp byte [ecx - 2], 0x64
jne 0x10103dc9
cmp byte [ecx - 1], 0x61
jne 0x10103dc9
cmp byte [ecx], 0x74
jne 0x10103dc9
cmp byte [ecx + 1], 0x61
je 0x10103dd1
inc esi
inc ecx
cmp esi, eax
jl 0x10103db2
jmp 0x10103e12
test esi, esi
je 0x10103e12
mov edi, dword [ebx + esi + 4]
lea ecx, [esi + 8]
shr edi, 1
lea ecx, [ecx + ebx]
mov edx, 0
je 0x10103e12
mov esi, dword [ebp - 0xa0]
dec esi
add esi, ebx
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 0x10103e12
inc edx
cmp edx, edi
jb 0x10103df1
push 5
push 0
push ebx
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x102ff798]
cmp eax, 1
jne 0x10103fb1
mov eax, dword [0x1034dbb0]
mov ecx, 0x101a12d8
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x10103e64
or eax, 1
mov ecx, 0x1034db90
mov dword [0x1034dbb0], eax
call fcn.10101120
push 0x1016fda0
call fcn.1010f50d
mov ecx, dword [ebp - 0x98]
add esp, 4
movzx eax, cl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x97]
xor ecx, eax
movzx eax, byte [ebp - 0x96]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x95]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100bc0
cmp dword [eax + 4], 0
jne 0x10103ee5
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
push 0xfcbc
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104c60
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10103fa1
push 0xfcbc
push dword [ebp - 0x98]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x9c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
nop
cmp byte [eax - 2], 0x64
jne 0x10103f57
cmp byte [eax - 1], 0x61
jne 0x10103f57
cmp byte [eax], 0x74
jne 0x10103f57
cmp byte [eax + 1], 0x61
je 0x10103f63
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x10103f40
jmp 0x10103fa1
test ecx, ecx
je 0x10103fa1
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10103fa1
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 0x10103fa1
inc edx
cmp edx, esi
jb 0x10103f80
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x102ff798]
cmp eax, 2
jne 0x10104141
mov eax, dword [0x1034dbb0]
mov ecx, 0x101b0f98
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x10103ff3
or eax, 1
mov ecx, 0x1034db90
mov dword [0x1034dbb0], eax
call fcn.10101120
push 0x1016fda0
call fcn.1010f50d
mov ecx, dword [ebp - 0x98]
add esp, 4
movzx eax, cl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x97]
xor ecx, eax
movzx eax, byte [ebp - 0x96]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x95]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100bc0
cmp dword [eax + 4], 0
jne 0x10104074
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
push 0x2c6b2
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104c60
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10104131
push 0x2c6b2
push dword [ebp - 0x98]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x9c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
nop dword [eax]
cmp byte [eax - 2], 0x64
jne 0x101040e7
cmp byte [eax - 1], 0x61
jne 0x101040e7
cmp byte [eax], 0x74
jne 0x101040e7
cmp byte [eax + 1], 0x61
je 0x101040f3
inc ecx
inc eax
cmp ecx, 0x16359
jl 0x101040d0
jmp 0x10104131
test ecx, ecx
je 0x10104131
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10104131
lea ebx, [edi + 0x2c6b1]
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 0x10104131
inc edx
cmp edx, esi
jb 0x10104110
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x102ff798]
cmp eax, 3
jne 0x101042d1
mov eax, dword [0x1034dbb0]
mov ecx, str.RIFFF
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x10104183
or eax, 1
mov ecx, 0x1034db90
mov dword [0x1034dbb0], eax
call fcn.10101120
push 0x1016fda0
call fcn.1010f50d
mov ecx, dword [ebp - 0x98]
add esp, 4
movzx eax, cl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x97]
xor ecx, eax
movzx eax, byte [ebp - 0x96]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x95]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100bc0
cmp dword [eax + 4], 0
jne 0x10104204
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
push 0xa24e
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104c60
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x101042c1
push 0xa24e
push dword [ebp - 0x98]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x9c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
nop dword [eax]
cmp byte [eax - 2], 0x64
jne 0x10104277
cmp byte [eax - 1], 0x61
jne 0x10104277
cmp byte [eax], 0x74
jne 0x10104277
cmp byte [eax + 1], 0x61
je 0x10104283
inc ecx
inc eax
cmp ecx, 0x5127
jl 0x10104260
jmp 0x101042c1
test ecx, ecx
je 0x101042c1
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x101042c1
lea ebx, [edi + 0xa24d]
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 0x101042c1
inc edx
cmp edx, esi
jb 0x101042a0
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x102ff798]
cmp eax, 4
jne 0x10104461
mov eax, dword [0x1034dbb0]
mov ecx, 0x101e78a0
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x10104313
or eax, 1
mov ecx, 0x1034db90
mov dword [0x1034dbb0], eax
call fcn.10101120
push 0x1016fda0
call fcn.1010f50d
mov ecx, dword [ebp - 0x98]
add esp, 4
movzx eax, cl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x97]
xor ecx, eax
movzx eax, byte [ebp - 0x96]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x95]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100bc0
cmp dword [eax + 4], 0
jne 0x10104394
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
push 0x35c2
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104c60
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10104451
push 0x35c2
push dword [ebp - 0x98]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x9c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
nop dword [eax]
cmp byte [eax - 2], 0x64
jne 0x10104407
cmp byte [eax - 1], 0x61
jne 0x10104407
cmp byte [eax], 0x74
jne 0x10104407
cmp byte [eax + 1], 0x61
je 0x10104413
inc ecx
inc eax
cmp ecx, 0x1ae1
jl 0x101043f0
jmp 0x10104451
test ecx, ecx
je 0x10104451
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10104451
lea ebx, [edi + 0x35c1]
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 0x10104451
inc edx
cmp edx, esi
jb 0x10104430
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x102ff798]
cmp eax, 5
jne 0x101045ec
mov eax, dword [0x1034dbb0]
mov ecx, str.RIFF
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x101044a3
or eax, 1
mov ecx, 0x1034db90
mov dword [0x1034dbb0], eax
call fcn.10101120
push 0x1016fda0
call fcn.1010f50d
mov ecx, dword [ebp - 0x98]
add esp, 4
movzx eax, cl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x97]
xor ecx, eax
movzx eax, byte [ebp - 0x96]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x95]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100bc0
cmp dword [eax + 4], 0
jne 0x10104524
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
push 0x99c2
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104c60
lea eax, [ebp - 0x98]
mov ecx, 0x1034db90
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100cb0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x101045e1
push 0x99c2
push dword [ebp - 0x98]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x9c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
nop dword [eax]
cmp byte [eax - 2], 0x64
jne 0x10104597
cmp byte [eax - 1], 0x61
jne 0x10104597
cmp byte [eax], 0x74
jne 0x10104597
cmp byte [eax + 1], 0x61
je 0x101045a3
inc ecx
inc eax
cmp ecx, 0x4ce1
jl 0x10104580
jmp 0x101045e1
test ecx, ecx
je 0x101045e1
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x101045e1
lea ebx, [edi + 0x99c1]
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 0x101045e1
inc edx
cmp edx, esi
jb 0x101045c0
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x102ff76c], 0
jne 0x10104621
cmp byte [0x102ff784], 0
jne 0x10104621
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x10104894
mov dword [ecx + 0x320], eax
jmp 0x10104894
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xb4], xmm0
movss xmm0, dword [0x10171598]
mov dword [ebp - 0xac], eax
movss dword [ebp - 0x98], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
xor ebx, ebx
movd xmm2, eax
mov eax, dword [ebp - 0xa8]
cvtdq2ps xmm2, xmm2
mov ecx, dword [eax + 0x314]
mov esi, dword [eax + 0x310]
sub ecx, esi
mov eax, 0x2e8ba2e9
mulss xmm2, dword [0x101714cc]
imul ecx
movss dword [ebp - 0xa0], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10104894
xor edi, edi
movss xmm0, dword [edi + esi + 0x14]
lea edx, [edi + esi]
addss xmm0, dword [0x10171538]
comiss xmm2, xmm0
jbe 0x101046fe
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx + 0x314]
lea ecx, [edx + 0x2c]
sub eax, ecx
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xa8]
add esp, 0xc
movss xmm1, dword [ebp - 0x98]
add dword [eax + 0x314], 0xffffffd4
jmp 0x10104791
movss xmm0, dword [ebp - 0xb0]
subss xmm0, dword [edx + 0x1c]
cvtps2pd xmm2, xmm0
movss xmm0, dword [ebp - 0xb4]
subss xmm0, dword [edx + 0x18]
mulsd xmm2, xmm2
cvtps2pd xmm1, xmm0
movss xmm0, dword [ebp - 0xac]
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 - 0x98]
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10104767
ucomiss xmm1, dword [0x10171598]
lahf
test ah, 0x44
jp 0x1010478b
movaps xmm1, xmm0
movups xmm0, xmmword [edx]
movss dword [ebp - 0x98], xmm1
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [edx + 0x20]
movq qword [ebp - 0x58], xmm0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x314]
inc ebx
mov esi, dword [eax + 0x310]
add edi, 0x2c
movss xmm2, dword [ebp - 0xa0]
sub ecx, esi
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x101046b2
ucomiss xmm1, dword [0x10171598]
lahf
test ah, 0x44
jnp 0x10104894
mov ecx, dword [ebp - 0xa8]
add ecx, 0x31c
call fcn.10100f60
mov ebx, dword [ebp - 0xb8]
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x18]
mov ecx, 0x1030c3c8
call fcn.1004ec90
cmp dword [ebp - 0x38], 0xf
lea edx, [ebp - 0x4c]
push 0
cmova edx, dword [ebp - 0x4c]
mov ecx, ebx
push edx
call esi
lea ecx, [ebp - 0x4c]
mov dword [edi], eax
call fcn.10042fe0
mov esi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
call esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101714cc]
movss dword [edi + 8], xmm0
call esi
mov dword [edi + 0x10], 0x3f800000
movd xmm0, eax
mov eax, dword [ebp - 0x58]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101714cc]
movss dword [edi + 0xc], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x20], eax
mov eax, dword [0x1030daf4]
test al, 1
jne 0x10104883
or eax, 1
mov dword [0x1030daf4], eax
mov eax, dword [0x1030dae0]
mov dword [0x1030daf0], eax
jmp 0x10104888
mov eax, dword [0x1030daf0]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [eax + ecx]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x34]
call fcn.10042fe0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f522
mov esp, ebp
pop ebp
ret 4
call fcn.100446e0
int3