Function at 0x10102f10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x103250c0]
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, 0x10324908
lea eax, [ebp - 0x94]
push eax
call fcn.1004ed00
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 0x10102f82
test al, al
je 0x10102f7e
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10102f82
add esi, 2
add ecx, 2
test al, al
jne 0x10102f62
xor eax, eax
jmp 0x10102f87
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10102f97
cmp dword [0x1019e080], eax
je 0x10102f97
xor bl, bl
jmp 0x10102f99
mov bl, 1
cmp edi, 0xf
jbe 0x10102fcb
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10102fc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10102fc1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
test bl, bl
jne 0x1010406c
mov ebx, dword [ebp - 0xb8]
mov ecx, 0x10324920
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x34]
push eax
call fcn.1004dc70
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 [0x10325ec0]
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 0x10103044
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010303a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010303a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov ecx, dword [0x1019e080]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, esi
jne 0x1010406c
mov eax, dword [ebx]
mov ecx, 0x10324938
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x34]
push eax
call fcn.10059070
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 [0x10325ec0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.10042fa0
mov ecx, dword [0x10325ec4]
push esi
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebx, eax
mov dword [ebp - 0xbc], ebx
test ebx, ebx
je 0x1010406c
mov edx, dword [0x1019e080]
cmp ebx, edx
je 0x1010406c
mov ecx, dword [0x10326278]
mov esi, dword [0x10326270]
test cl, 1
jne 0x101030e4
or ecx, 1
mov eax, esi
mov dword [0x10326278], ecx
mov dword [0x10326274], eax
jmp 0x101030e9
mov eax, dword [0x10326274]
mov edi, dword [eax + ebx]
test cl, 1
jne 0x10103101
or ecx, 1
mov eax, esi
mov dword [0x10326278], ecx
mov dword [0x10326274], eax
cmp edi, dword [eax + edx]
je 0x1010406c
mov eax, dword [0x103661b4]
test al, 1
jne 0x10103128
or eax, 1
push 0x101703f0
mov dword [0x103661b4], eax
call fcn.1010f95d
add esp, 4
movd xmm0, dword [0x10317ca4]
lea eax, [ebp - 0x4c]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x10324950
mulss xmm0, dword [0x10176978]
movss dword [ebp - 0x9c], xmm0
call fcn.1004d6a0
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
mov ebx, dword [0x1035f850]
cmova eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov eax, 0x7fffffff
sub eax, ebx
cmp eax, 1
jb 0x1010407f
cmp dword [0x1035f854], 0xf
lea edi, [ebx + 1]
mov eax, 0x1035f840
mov dword [ebp - 0xc], 0
cmova eax, dword [0x1035f840]
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 0x101031fb
mov eax, edi
or eax, ecx
cmp eax, 0x7fffffff
jbe 0x101031c7
mov eax, 0x7fffffff
jmp 0x101031d1
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.10041ac0
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 0x10317ca8
lea eax, [ebp - 0x1c]
mov byte [esi + ebx], 0x5c
push eax
lea eax, [ebp - 0x64]
mov byte [esi + edi], 0
push eax
call fcn.100417d0
push dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100417d0
add esp, 0x24
lea ecx, [ebp - 0x64]
call fcn.10042fa0
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10103274
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010326a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010326a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.10042fa0
mov eax, dword [0x10317ca0]
test eax, eax
je 0x10103dbc
cmp eax, 1
je 0x101035fb
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 0x101032d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.10041b20
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 0x10103334
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010332a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010332a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
test esi, esi
jne 0x101035ed
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmova eax, dword [ebp - 0x34]
mov ecx, 0x10324780
push eax
call fcn.10045050
cmp dword [0x10324790], esi
jbe 0x101035ed
push 0x10324780
lea ecx, [ebp - 0x1c]
call fcn.10042a60
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.10100760
mov eax, dword [ebp - 0x174]
push 2
push esi
push esi
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x174], 0x1017e2f8
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.101100a9
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.10086d10
test eax, eax
jne 0x10103430
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.10086a20
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10103471
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10103467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10103467
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
mov eax, dword [0x103661b0]
mov dword [ebp - 0x98], ebx
test al, 1
jne 0x101034a5
or eax, 1
mov ecx, 0x10366190
mov dword [0x103661b0], eax
call fcn.101008f0
push 0x101703e0
call fcn.1010f95d
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, 0x10366190
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10100390
cmp dword [eax + 4], 0
jne 0x10103522
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10100480
push edi
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104430
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10100480
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov ebx, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x101035e2
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 0x101035e2
lea ecx, [ebx + 2]
cmp byte [ecx - 2], 0x64
jne 0x10103599
cmp byte [ecx - 1], 0x61
jne 0x10103599
cmp byte [ecx], 0x74
jne 0x10103599
cmp byte [ecx + 1], 0x61
je 0x101035a1
inc esi
inc ecx
cmp esi, eax
jl 0x10103582
jmp 0x101035e2
test esi, esi
je 0x101035e2
mov edi, dword [ebx + esi + 4]
lea ecx, [esi + 8]
shr edi, 1
lea ecx, [ecx + ebx]
mov edx, 0
je 0x101035e2
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 0x101035e2
inc edx
cmp edx, edi
jb 0x101035c1
push 5
push 0
push ebx
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x10317ca0]
cmp eax, 1
jne 0x10103781
mov eax, dword [0x103661b0]
mov ecx, 0x101b9ac0
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x10103634
or eax, 1
mov ecx, 0x10366190
mov dword [0x103661b0], eax
call fcn.101008f0
push 0x101703e0
call fcn.1010f95d
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, 0x10366190
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100390
cmp dword [eax + 4], 0
jne 0x101036b5
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
push 0xfcbc
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104430
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10103771
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 0x10103727
cmp byte [eax - 1], 0x61
jne 0x10103727
cmp byte [eax], 0x74
jne 0x10103727
cmp byte [eax + 1], 0x61
je 0x10103733
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x10103710
jmp 0x10103771
test ecx, ecx
je 0x10103771
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10103771
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 0x10103771
inc edx
cmp edx, esi
jb 0x10103750
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x10317ca0]
cmp eax, 2
jne 0x10103911
mov eax, dword [0x103661b0]
mov ecx, 0x101c9780
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x101037c3
or eax, 1
mov ecx, 0x10366190
mov dword [0x103661b0], eax
call fcn.101008f0
push 0x101703e0
call fcn.1010f95d
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, 0x10366190
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100390
cmp dword [eax + 4], 0
jne 0x10103844
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
push 0x2c6b2
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104430
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10103901
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 0x101038b7
cmp byte [eax - 1], 0x61
jne 0x101038b7
cmp byte [eax], 0x74
jne 0x101038b7
cmp byte [eax + 1], 0x61
je 0x101038c3
inc ecx
inc eax
cmp ecx, 0x16359
jl 0x101038a0
jmp 0x10103901
test ecx, ecx
je 0x10103901
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10103901
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 0x10103901
inc edx
cmp edx, esi
jb 0x101038e0
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x10317ca0]
cmp eax, 3
jne 0x10103aa1
mov eax, dword [0x103661b0]
mov ecx, str.RIFFF
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x10103953
or eax, 1
mov ecx, 0x10366190
mov dword [0x103661b0], eax
call fcn.101008f0
push 0x101703e0
call fcn.1010f95d
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, 0x10366190
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100390
cmp dword [eax + 4], 0
jne 0x101039d4
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
push 0xa24e
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104430
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10103a91
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 0x10103a47
cmp byte [eax - 1], 0x61
jne 0x10103a47
cmp byte [eax], 0x74
jne 0x10103a47
cmp byte [eax + 1], 0x61
je 0x10103a53
inc ecx
inc eax
cmp ecx, 0x5127
jl 0x10103a30
jmp 0x10103a91
test ecx, ecx
je 0x10103a91
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10103a91
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 0x10103a91
inc edx
cmp edx, esi
jb 0x10103a70
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x10317ca0]
cmp eax, 4
jne 0x10103c31
mov eax, dword [0x103661b0]
mov ecx, 0x10200088
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x10103ae3
or eax, 1
mov ecx, 0x10366190
mov dword [0x103661b0], eax
call fcn.101008f0
push 0x101703e0
call fcn.1010f95d
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, 0x10366190
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100390
cmp dword [eax + 4], 0
jne 0x10103b64
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
push 0x35c2
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104430
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10103c21
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 0x10103bd7
cmp byte [eax - 1], 0x61
jne 0x10103bd7
cmp byte [eax], 0x74
jne 0x10103bd7
cmp byte [eax + 1], 0x61
je 0x10103be3
inc ecx
inc eax
cmp ecx, 0x1ae1
jl 0x10103bc0
jmp 0x10103c21
test ecx, ecx
je 0x10103c21
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10103c21
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 0x10103c21
inc edx
cmp edx, esi
jb 0x10103c00
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x10317ca0]
cmp eax, 5
jne 0x10103dbc
mov eax, dword [0x103661b0]
mov ecx, str.RIFF
mov dword [ebp - 0x98], ecx
test al, 1
jne 0x10103c73
or eax, 1
mov ecx, 0x10366190
mov dword [0x103661b0], eax
call fcn.101008f0
push 0x101703e0
call fcn.1010f95d
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, 0x10366190
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100390
cmp dword [eax + 4], 0
jne 0x10103cf4
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
push 0x99c2
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10104430
lea eax, [ebp - 0x98]
mov ecx, 0x10366190
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10100480
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0x9c]
mov edi, dword [esi + 0xc]
lahf
test ah, 0x44
jnp 0x10103db1
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 0x10103d67
cmp byte [eax - 1], 0x61
jne 0x10103d67
cmp byte [eax], 0x74
jne 0x10103d67
cmp byte [eax + 1], 0x61
je 0x10103d73
inc ecx
inc eax
cmp ecx, 0x4ce1
jl 0x10103d50
jmp 0x10103db1
test ecx, ecx
je 0x10103db1
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x10103db1
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 0x10103db1
inc edx
cmp edx, esi
jb 0x10103d90
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x10317c74], 0
jne 0x10103df1
cmp byte [0x10317c8c], 0
jne 0x10103df1
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x10104064
mov dword [ecx + 0x320], eax
jmp 0x10104064
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 [0x10172598]
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 [0x101724cc]
imul ecx
movss dword [ebp - 0xa0], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10104064
xor edi, edi
movss xmm0, dword [edi + esi + 0x14]
lea edx, [edi + esi]
addss xmm0, dword [0x10172538]
comiss xmm2, xmm0
jbe 0x10103ece
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 0x10103f61
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 0x10103f37
ucomiss xmm1, dword [0x10172598]
lahf
test ah, 0x44
jp 0x10103f5b
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 0x10103e82
ucomiss xmm1, dword [0x10172598]
lahf
test ah, 0x44
jnp 0x10104064
mov ecx, dword [ebp - 0xa8]
add ecx, 0x31c
call fcn.10100730
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, 0x10324960
call fcn.1004ec30
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.10042fa0
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 [0x101724cc]
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 [0x101724cc]
movss dword [edi + 0xc], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x20], eax
mov eax, dword [0x10326074]
test al, 1
jne 0x10104053
or eax, 1
mov dword [0x10326074], eax
mov eax, dword [0x10326060]
mov dword [0x10326070], eax
jmp 0x10104058
mov eax, dword [0x10326070]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [eax + ecx]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x34]
call fcn.10042fa0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f972
mov esp, ebp
pop ebp
ret 4
call fcn.100446a0
int3