Function at 0x10104b80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x1029e280]
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, 0x1029c710
lea eax, [ebp - 0x94]
push eax
call fcn.10050d50
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 0x10104bf2
test al, al
je 0x10104bee
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10104bf2
add esi, 2
add ecx, 2
test al, al
jne 0x10104bd2
xor eax, eax
jmp 0x10104bf7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10104c07
cmp dword [0x101a7080], eax
je 0x10104c07
xor bl, bl
jmp 0x10104c09
mov bl, 1
cmp edi, 0xf
jbe 0x10104c3b
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10104c31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10104c31
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101169da
add esp, 8
test bl, bl
jne 0x10105cdc
mov ebx, dword [ebp - 0xb8]
mov ecx, 0x1029c728
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.1004fb20
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
push 0
cmova eax, dword [ebp - 0x1c]
mov ecx, ebx
push eax
call esi
mov ecx, dword [0x1029f230]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [ebp - 8]
mov esi, eax
cmp ecx, 0xf
jbe 0x10104cb4
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10104caa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10104caa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101169da
add esp, 8
mov ecx, dword [0x101a7080]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, esi
jne 0x10105cdc
mov eax, dword [ebx]
mov ecx, 0x1029c740
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.1005b990
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
push 0
cmova eax, dword [ebp - 0x1c]
mov ecx, ebx
push eax
call esi
mov ecx, dword [0x1029f230]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.10044c60
mov ecx, dword [0x1029f234]
push esi
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebx, eax
mov dword [ebp - 0xbc], ebx
test ebx, ebx
je 0x10105cdc
mov edx, dword [0x101a7080]
cmp ebx, edx
je 0x10105cdc
mov ecx, dword [0x1029f5d8]
mov esi, dword [0x1029f5d0]
test cl, 1
jne 0x10104d54
or ecx, 1
mov eax, esi
mov dword [0x1029f5d8], ecx
mov dword [0x1029f5d4], eax
jmp 0x10104d59
mov eax, dword [0x1029f5d4]
mov edi, dword [eax + ebx]
test cl, 1
jne 0x10104d71
or ecx, 1
mov eax, esi
mov dword [0x1029f5d8], ecx
mov dword [0x1029f5d4], eax
cmp edi, dword [eax + edx]
je 0x10105cdc
mov eax, dword [0x102ad994]
test al, 1
jne 0x10104d98
or eax, 1
push 0x1017a4c0
mov dword [0x102ad994], eax
call fcn.10116ced
add esp, 4
movd xmm0, dword [0x1028f720]
lea eax, [ebp - 0x34]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x1029c770
mulss xmm0, dword [0x10180968]
movss dword [ebp - 0x9c], xmm0
call fcn.1004f550
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
mov ebx, dword [0x102a3300]
cmova eax, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
mov eax, 0x7fffffff
sub eax, ebx
cmp eax, 1
jb 0x10105cef
cmp dword [0x102a3304], 0xf
lea edi, [ebx + 1]
mov eax, 0x102a32f0
mov dword [ebp - 0xc], 0
cmova eax, dword [0x102a32f0]
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 0x10104e6b
mov eax, edi
or eax, ecx
cmp eax, 0x7fffffff
jbe 0x10104e37
mov eax, 0x7fffffff
jmp 0x10104e41
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.10043780
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 0x1028f724
lea eax, [ebp - 0x1c]
mov byte [esi + ebx], 0x5c
push eax
lea eax, [ebp - 0x64]
mov byte [esi + edi], 0
push eax
call fcn.10043490
push dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10043490
add esp, 0x24
lea ecx, [ebp - 0x64]
call fcn.10044c60
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10104ee4
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10104eda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10104eda
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101169da
add esp, 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.10044c60
mov eax, dword [0x1028f71c]
test eax, eax
je 0x10105a2c
cmp eax, 1
je 0x1010526a
cmp dword [ebp - 0x38], 0xf
lea edx, [ebp - 0x4c]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
cmova edx, dword [ebp - 0x4c]
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 0x10104f40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.100437e0
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 0x10104fa4
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10104f9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10104f9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101169da
add esp, 8
test esi, esi
jne 0x1010525c
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x4c]
mov ecx, 0x1029c758
push eax
call fcn.10046e50
cmp dword [0x1029c768], esi
jbe 0x1010525c
push 0x1029c758
lea ecx, [ebp - 0x1c]
call fcn.10044720
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.10102620
mov eax, dword [ebp - 0x174]
push 2
push esi
push esi
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x174], 0x10186ed4
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.10117435
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.10083780
test eax, eax
jne 0x101050a0
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.10083490
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x101050e1
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101050d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101050d7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101169da
add esp, 8
mov eax, dword [0x102ad990]
mov dword [ebp - 0x98], ebx
test al, 1
jne 0x10105115
or eax, 1
mov ecx, 0x102ad970
mov dword [0x102ad990], eax
call fcn.101027b0
push 0x1017a4b0
call fcn.10116ced
mov ebx, dword [ebp - 0x98]
add esp, 4
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, bh
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, 0x102ad970
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10102250
cmp dword [eax + 4], 0
jne 0x1010518e
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10102340
push edi
mov ecx, dword [eax]
add ecx, 0xc
call fcn.101061f0
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10102340
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov ebx, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10105251
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 0x10105251
lea ecx, [ebx + 2]
nop
cmp byte [ecx - 2], 0x64
jne 0x10105207
cmp byte [ecx - 1], 0x61
jne 0x10105207
cmp byte [ecx], 0x74
jne 0x10105207
cmp byte [ecx + 1], 0x61
je 0x1010520f
inc esi
inc ecx
cmp esi, eax
jl 0x101051f0
jmp 0x10105251
test esi, esi
je 0x10105251
mov edi, dword [ebx + esi + 4]
lea ecx, [esi + 8]
shr edi, 1
lea ecx, [ecx + ebx]
mov edx, 0
je 0x10105251
mov esi, dword [ebp - 0xa0]
dec esi
add esi, ebx
nop
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 0x10105251
inc edx
cmp edx, edi
jb 0x10105230
push 5
push 0
push ebx
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x1028f71c]
cmp eax, 1
jne 0x101053f1
mov eax, dword [0x102ad990]
mov edx, 0x101a9c20
mov dword [ebp - 0x98], edx
test al, 1
jne 0x101052a3
or eax, 1
mov ecx, 0x102ad970
mov dword [0x102ad990], eax
call fcn.101027b0
push 0x1017a4b0
call fcn.10116ced
mov edx, dword [ebp - 0x98]
add esp, 4
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
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, 0x102ad970
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102250
cmp dword [eax + 4], 0
jne 0x10105320
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
push 0xfcbc
mov ecx, dword [eax]
add ecx, 0xc
call fcn.101061f0
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x101053e1
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 dword [eax]
cmp byte [eax - 2], 0x64
jne 0x10105397
cmp byte [eax - 1], 0x61
jne 0x10105397
cmp byte [eax], 0x74
jne 0x10105397
cmp byte [eax + 1], 0x61
je 0x101053a3
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x10105380
jmp 0x101053e1
test ecx, ecx
je 0x101053e1
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x101053e1
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 0x101053e1
inc edx
cmp edx, esi
jb 0x101053c0
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x1028f71c]
cmp eax, 2
jne 0x10105581
mov eax, dword [0x102ad990]
mov edx, 0x101b98e0
mov dword [ebp - 0x98], edx
test al, 1
jne 0x10105433
or eax, 1
mov ecx, 0x102ad970
mov dword [0x102ad990], eax
call fcn.101027b0
push 0x1017a4b0
call fcn.10116ced
mov edx, dword [ebp - 0x98]
add esp, 4
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
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, 0x102ad970
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102250
cmp dword [eax + 4], 0
jne 0x101054b0
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
push 0x35c2
mov ecx, dword [eax]
add ecx, 0xc
call fcn.101061f0
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10105571
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 0x10105527
cmp byte [eax - 1], 0x61
jne 0x10105527
cmp byte [eax], 0x74
jne 0x10105527
cmp byte [eax + 1], 0x61
je 0x10105533
inc ecx
inc eax
cmp ecx, 0x1ae1
jl 0x10105510
jmp 0x10105571
test ecx, ecx
je 0x10105571
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10105571
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 0x10105571
inc edx
cmp edx, esi
jb 0x10105550
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x1028f71c]
cmp eax, 3
jne 0x10105711
mov eax, dword [0x102ad990]
mov edx, str.RIFF
mov dword [ebp - 0x98], edx
test al, 1
jne 0x101055c3
or eax, 1
mov ecx, 0x102ad970
mov dword [0x102ad990], eax
call fcn.101027b0
push 0x1017a4b0
call fcn.10116ced
mov edx, dword [ebp - 0x98]
add esp, 4
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
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, 0x102ad970
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102250
cmp dword [eax + 4], 0
jne 0x10105640
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
push 0x22ce
mov ecx, dword [eax]
add ecx, 0xc
call fcn.101061f0
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10105701
push 0x22ce
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 0x101056b7
cmp byte [eax - 1], 0x61
jne 0x101056b7
cmp byte [eax], 0x74
jne 0x101056b7
cmp byte [eax + 1], 0x61
je 0x101056c3
inc ecx
inc eax
cmp ecx, 0x1167
jl 0x101056a0
jmp 0x10105701
test ecx, ecx
je 0x10105701
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10105701
lea ebx, [edi + 0x22cd]
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 0x10105701
inc edx
cmp edx, esi
jb 0x101056e0
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x1028f71c]
cmp eax, 4
jne 0x101058a1
mov eax, dword [0x102ad990]
mov edx, str.RIFF8
mov dword [ebp - 0x98], edx
test al, 1
jne 0x10105753
or eax, 1
mov ecx, 0x102ad970
mov dword [0x102ad990], eax
call fcn.101027b0
push 0x1017a4b0
call fcn.10116ced
mov edx, dword [ebp - 0x98]
add esp, 4
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
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, 0x102ad970
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102250
cmp dword [eax + 4], 0
jne 0x101057d0
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
push 0x1b740
mov ecx, dword [eax]
add ecx, 0xc
call fcn.101061f0
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10105891
push 0x1b740
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 0x10105847
cmp byte [eax - 1], 0x61
jne 0x10105847
cmp byte [eax], 0x74
jne 0x10105847
cmp byte [eax + 1], 0x61
je 0x10105853
inc ecx
inc eax
cmp ecx, 0xdba0
jl 0x10105830
jmp 0x10105891
test ecx, ecx
je 0x10105891
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10105891
lea ebx, [edi + 0x1b73f]
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 0x10105891
inc edx
cmp edx, esi
jb 0x10105870
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x1028f71c]
cmp eax, 5
jne 0x10105a2c
mov eax, dword [0x102ad990]
mov edx, str.RIFF_
mov dword [ebp - 0x98], edx
test al, 1
jne 0x101058e3
or eax, 1
mov ecx, 0x102ad970
mov dword [0x102ad990], eax
call fcn.101027b0
push 0x1017a4b0
call fcn.10116ced
mov edx, dword [ebp - 0x98]
add esp, 4
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
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, 0x102ad970
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102250
cmp dword [eax + 4], 0
jne 0x10105960
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
push 0x802c
mov ecx, dword [eax]
add ecx, 0xc
call fcn.101061f0
lea eax, [ebp - 0x98]
mov ecx, 0x102ad970
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10102340
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10105a21
push 0x802c
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 0x101059d7
cmp byte [eax - 1], 0x61
jne 0x101059d7
cmp byte [eax], 0x74
jne 0x101059d7
cmp byte [eax + 1], 0x61
je 0x101059e3
inc ecx
inc eax
cmp ecx, 0x4016
jl 0x101059c0
jmp 0x10105a21
test ecx, ecx
je 0x10105a21
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10105a21
lea ebx, [edi + 0x802b]
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 0x10105a21
inc edx
cmp edx, esi
jb 0x10105a00
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x1028f6f4], 0
jne 0x10105a61
cmp byte [0x1028f708], 0
jne 0x10105a61
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x10105cd4
mov dword [ecx + 0x320], eax
jmp 0x10105cd4
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 [0x1017c7b4]
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 [0x1017c6ec]
imul ecx
movss dword [ebp - 0xa0], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10105cd4
xor edi, edi
movss xmm0, dword [edi + esi + 0x14]
lea edx, [edi + esi]
addss xmm0, dword [0x1017c758]
comiss xmm2, xmm0
jbe 0x10105b3e
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 0x10105bd1
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 0x10105ba7
ucomiss xmm1, dword [0x1017c7b4]
lahf
test ah, 0x44
jp 0x10105bcb
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 0x10105af2
ucomiss xmm1, dword [0x1017c7b4]
lahf
test ah, 0x44
jnp 0x10105cd4
mov ecx, dword [ebp - 0xa8]
add ecx, 0x31c
call fcn.101025f0
mov ebx, dword [ebp - 0xb8]
mov edi, eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x18]
mov ecx, 0x1029c780
call fcn.10050c80
cmp dword [ebp - 0x20], 0xf
lea edx, [ebp - 0x34]
push 0
cmova edx, dword [ebp - 0x34]
mov ecx, ebx
push edx
call esi
lea ecx, [ebp - 0x34]
mov dword [edi], eax
call fcn.10044c60
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 [0x1017c6ec]
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 [0x1017c6ec]
movss dword [edi + 0xc], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x20], eax
mov eax, dword [0x1029f3d4]
test al, 1
jne 0x10105cc3
or eax, 1
mov dword [0x1029f3d4], eax
mov eax, dword [0x1029f3c0]
mov dword [0x1029f3d0], eax
jmp 0x10105cc8
mov eax, dword [0x1029f3d0]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [eax + ecx]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x4c]
call fcn.10044c60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10116d02
mov esp, ebp
pop ebp
ret 4
call fcn.10046340
int3