Function at 0x1003afb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d4425
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov edi, dword [ebx + 8]
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x1021b440
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd0], 0
call fcn.1003f700
mov dword [ebp - 4], 0
lea esi, [ebp - 0xa0]
mov eax, dword [edi]
mov ecx, edi
cmp dword [ebp - 0x8c], 0xf
mov dword [ebp - 0xd0], 3
cmova esi, dword [ebp - 0xa0]
mov eax, dword [eax + 4]
call eax
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1003b070
test cl, cl
je 0x1003b06c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1003b070
add eax, 2
add esi, 2
test cl, cl
jne 0x1003b050
xor eax, eax
jmp 0x1003b075
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003b098
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
mov byte [ebp - 0xbd], 0
xor eax, 0xde9a561b
cmp dword [eax + 0x14c], 0
jne 0x1003b09f
mov byte [ebp - 0xbd], 1
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.10029c20
cmp byte [ebp - 0xbd], 0
jne 0x1003c091
mov eax, dword [0x107001f0]
mov ecx, 0x1021b400
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov edi, dword [eax + 0xc4]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.1003fda0
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0xf
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call esi
mov edx, dword [edi]
mov ecx, edi
push eax
mov edx, dword [edx + 0x24]
call edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.10029c20
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
mov ecx, dword [ecx + 0x14c]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
cmp eax, esi
jne 0x1003c091
mov eax, dword [0x107001f0]
mov ecx, 0x1021b4f8
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov edi, dword [eax + 0xc4]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.1003f930
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0xf
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call esi
mov edx, dword [edi]
mov ecx, edi
push eax
mov edx, dword [edx + 0x24]
call edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.10029c20
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
push esi
mov ecx, dword [ecx + 0xc8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edx, eax
mov dword [ebp - 0xf0], edx
test edx, edx
je 0x1003c091
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
mov eax, dword [ecx + 0x14c]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x1003b49b
cmp edx, eax
je 0x1003c091
mov ecx, dword [ecx + 0x19c]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1003b49b
mov edx, dword [0x102b704c]
test dl, 1
jne 0x1003b3da
or edx, 1
mov dword [0x102b704c], edx
mov dword [ebp - 4], 3
mov eax, dword [0x102b3e88]
mov ecx, dword [0x102b3e8c]
mov dword [ebp - 0xcc], eax
cmp eax, ecx
je 0x1003b2b3
mov dword [ebp - 0xc8], eax
nop
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je 0x1003b2a2
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003b276
xor edx, edx
test ecx, ecx
je 0x1003b2a2
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003b283
cmp edi, 0x1eee87cc
je 0x1003b2d2
mov eax, dword [ebp - 0xc8]
add eax, 4
mov dword [ebp - 0xc8], eax
cmp eax, dword [0x102b3e8c]
jne 0x1003b260
mov eax, dword [0x102b3e88]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102b704c]
mov dword [0x102b7004], ecx
jmp 0x1003b3eb
mov eax, dword [ebp - 0xc4]
xor edi, edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xc8], edi
cmp dword [eax + 4], edi
jle 0x1003b3ce
xor ecx, ecx
mov dword [ebp - 0xd4], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xd0], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1003b33d
cmp dword [ecx + 4], 0
jle 0x1003b33d
push 0
mov edx, 0xa5bfefb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1003b337
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xbc], edi
mov eax, dword [ebp - 0xc4]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003b346
xor edx, edx
test ecx, ecx
je 0x1003b372
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003b353
cmp edi, 0xa5bfefb3
je 0x1003b3af
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xd4]
inc edx
mov edi, dword [ebp - 0xbc]
add ecx, 0x3c
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xd4], ecx
cmp edx, dword [eax + 4]
jl 0x1003b300
mov eax, dword [0x102b3e88]
mov ecx, edi
mov dword [ebp - 0xcc], eax
jmp 0x1003b2ba
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x2c]
mov eax, dword [0x102b3e88]
add ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
jmp 0x1003b2ba
mov eax, dword [0x102b3e88]
mov ecx, edi
jmp 0x1003b2ba
mov eax, dword [0x102b3e88]
mov ecx, dword [0x102b7004]
mov dword [ebp - 0xcc], eax
mov esi, dword [ebp - 0xf0]
mov esi, dword [ecx + esi]
mov dword [ebp - 0xdc], esi
test dl, 1
jne 0x1003b48c
or edx, 1
mov dword [0x102b704c], edx
mov dword [ebp - 4], 4
cmp eax, dword [0x102b3e8c]
je 0x1003b477
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1003b466
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003b436
xor edx, edx
test ecx, ecx
je 0x1003b466
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003b443
cmp esi, 0x1eee87cc
je 0x1003b51d
mov eax, dword [ebp - 0xcc]
add eax, 4
mov dword [ebp - 0xcc], eax
cmp eax, dword [0x102b3e8c]
jne 0x1003b420
xor ecx, ecx
mov esi, dword [ebp - 0xdc]
mov dword [0x102b7004], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd8]
cmp esi, dword [eax + ecx]
je 0x1003c091
mov eax, dword [0x10bd7e04]
test al, 1
jne 0x1003b4c7
or eax, 1
mov dword [0x10bd7e04], eax
push 0x101e4ac0
mov dword [ebp - 4], 5
call fcn.101d0889
add esp, 4
mov dword [ebp - 4], 0xffffffff
movd xmm0, dword [0x1029d37c]
lea eax, [ebp - 0x7c]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x1021b3f0
mulss xmm0, dword [0x10207714]
movss dword [ebp - 0xc4], xmm0
call fcn.1003f7e0
mov dword [ebp - 4], 6
lea esi, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0xf
mov eax, 0x7fffffff
mov ecx, dword [0x102ba588]
cmova esi, dword [ebp - 0x7c]
sub eax, ecx
cmp eax, 1
jb 0x1003c0b1
jmp 0x1003b5fa
mov eax, dword [ebp - 0xbc]
xor edi, edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], edi
cmp dword [eax + 4], edi
jle 0x1003b5df
xor ecx, ecx
mov dword [ebp - 0xd4], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xd0], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1003b57f
cmp dword [ecx + 4], 0
jle 0x1003b57f
push 0
mov edx, 0xa5bfefb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1003b579
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xc4], edi
mov eax, dword [ebp - 0xbc]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003b588
xor edx, edx
test ecx, ecx
je 0x1003b5b4
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003b595
cmp edi, 0xa5bfefb3
je 0x1003b5e6
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xd4]
inc edx
mov edi, dword [ebp - 0xc4]
add ecx, 0x3c
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xd4], ecx
cmp edx, dword [eax + 4]
jl 0x1003b542
mov ecx, edi
jmp 0x1003b479
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp - 0xc4]
jmp 0x1003b479
cmp dword [0x102ba58c], 0xf
mov eax, 0x102ba578
push 1
cmova eax, dword [0x102ba578]
push 0x1020188c
push ecx
push eax
push ecx
push dword [ebp - 0xe8]
lea ecx, [ebp - 0xb8]
call fcn.10042070
push 0x1029d380
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.10040940
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.10040940
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x2c]
call fcn.10029c20
lea ecx, [ebp - 0xb8]
call fcn.10029c20
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
call fcn.10029c20
mov eax, dword [0x1029d378]
test eax, eax
je 0x1003bc13
cmp eax, 1
je 0x1003ba71
cmp dword [ebp - 0x30], 0xf
lea edx, [ebp - 0x44]
cmova edx, dword [ebp - 0x44]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b700
sub ecx, esi
push ecx
push edx
call fcn.101cfd82
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.101232e0
add esp, 8
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.10123dd0
lea ecx, [ebp - 0x60]
mov byte [ebp - 0xbd], al
mov byte [ebp - 4], 0xc
call fcn.101259e0
cmp byte [ebp - 0xbd], 0
je 0x1003ba71
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
mov ecx, 0x1021b418
push eax
call fcn.10041060
cmp dword [0x1021b428], 0
jbe 0x1003bc13
push 0x1021b418
lea ecx, [ebp - 0x60]
call fcn.10040a30
sub esp, 8
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1a8]
push 0x20
push eax
call fcn.1003f350
push 2
push 0
push 0
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0xf
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 - 0x80]
push eax
lea ecx, [ebp - 0x1a8]
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
call fcn.101d08e6
mov ecx, eax
add esp, 4
shr eax, 0x18
mov dword [ebp - 0xc8], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0xd4], eax
mov eax, ecx
push 0
push 0
mov dword [ebp - 0xbc], ecx
lea ecx, [ebp - 0x1a8]
shr eax, 8
push 0
mov dword [ebp - 0xcc], eax
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 - 0x1a8]
cdq
push edx
push eax
push dword [ebp - 0xbc]
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__]
mov al, byte [ebp - 0xbc]
lea ecx, [ebp - 0x198]
mov byte [ebp - 0xbd], al
call fcn.10040e80
test eax, eax
jne 0x1003b87b
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a8]
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_]
mov al, byte [ebp - 0xbc]
mov byte [ebp - 0xbd], al
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x1a8]
call fcn.1003aef0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.10029c20
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xbc], eax
movzx eax, byte [ebp - 0xbd]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0xcc]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0xd4]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0xc8]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100424e0
cmp dword [eax + 4], 0
jne 0x1003b96c
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.10041b20
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
mov edx, eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], eax
mov esi, dword [ecx]
sub edx, esi
cmp edi, edx
jae 0x1003b936
lea eax, [edi + esi]
mov dword [ecx + 4], eax
jmp 0x1003b96c
jbe 0x1003b96c
mov eax, dword [ecx + 8]
sub eax, esi
cmp edi, eax
jbe 0x1003b94a
push ecx
push edi
call fcn.10042950
jmp 0x1003b96c
mov ecx, dword [ebp - 0xd8]
mov eax, edi
sub eax, edx
push eax
push 0
push ecx
lea esi, [eax + ecx]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xdc]
add esp, 0xc
mov dword [eax + 4], esi
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.10041b20
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0xc4]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xcc], eax
lahf
test ah, 0x44
jnp 0x1003ba62
push edi
push dword [ebp - 0xbc]
push dword [ebp - 0xcc]
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0xc4]
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 0x1003ba62
mov ecx, dword [ebp - 0xcc]
add ecx, 2
nop dword [eax]
cmp byte [ecx - 2], 0x64
jne 0x1003b9f7
cmp byte [ecx - 1], 0x61
jne 0x1003b9f7
cmp byte [ecx], 0x74
jne 0x1003b9f7
cmp byte [ecx + 1], 0x61
je 0x1003ba0c
inc esi
inc ecx
cmp esi, eax
jl 0x1003b9e0
push 5
push 0
push dword [ebp - 0xcc]
jmp 0x1003bc0d
test esi, esi
je 0x1003ba62
mov ecx, dword [ebp - 0xcc]
mov edx, 0
mov eax, dword [ecx + esi + 4]
lea ecx, [ecx + 8]
shr eax, 1
lea ecx, [ecx + esi]
mov dword [ebp - 0xd8], eax
je 0x1003ba62
mov eax, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xd8]
dec eax
add edi, eax
nop
movzx eax, word [ecx]
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ecx], ax
add ecx, 2
cmp ecx, edi
jae 0x1003ba62
inc edx
cmp edx, esi
jb 0x1003ba40
push 5
push 0
push dword [ebp - 0xcc]
jmp 0x1003bc0d
mov edx, str.RIFF
mov dword [ebp - 0xbc], str.RIFF
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
imul ecx, ecx, 0x1000193
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100424e0
cmp dword [eax + 4], 0
jne 0x1003bb3d
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.10041b20
mov edi, dword [eax]
mov esi, dword [edi + 0x10]
mov ecx, esi
mov edx, dword [edi + 0xc]
sub ecx, edx
cmp ecx, 0xfcbc
jbe 0x1003bb05
lea eax, [edx + 0xfcbc]
mov dword [edi + 0x10], eax
jmp 0x1003bb3d
jae 0x1003bb3d
mov eax, dword [edi + 0x14]
sub eax, edx
cmp eax, 0xfcbc
jae 0x1003bb23
push ecx
push 0xfcbc
lea ecx, [edi + 0xc]
call fcn.10042950
jmp 0x1003bb3d
mov eax, 0xfcbc
sub eax, ecx
push eax
push 0
push dword [edi + 0x10]
add esi, eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x10], esi
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.10041b20
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0xc4]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xdc], edi
lahf
test ah, 0x44
jnp 0x1003bc08
push 0xfcbc
push dword [ebp - 0xbc]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0xc4]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
cmp byte [eax - 2], 0x64
jne 0x1003bbae
cmp byte [eax - 1], 0x61
jne 0x1003bbae
cmp byte [eax], 0x74
jne 0x1003bbae
cmp byte [eax + 1], 0x61
je 0x1003bbba
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x1003bb97
jmp 0x1003bc08
test ecx, ecx
je 0x1003bc08
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x1003bc08
lea eax, [edi + 0xfcbb]
mov dword [ebp - 0xd8], eax
mov edi, eax
nop
movzx eax, word [ecx]
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ecx], ax
add ecx, 2
cmp ecx, edi
jae 0x1003bc02
inc edx
cmp edx, esi
jb 0x1003bbe0
mov edi, dword [ebp - 0xdc]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x1029d350], 0
jne 0x1003bc48
cmp byte [0x1029d364], 0
jne 0x1003bc48
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x1003c089
mov dword [ecx + 0x320], eax
jmp 0x1003c089
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
movss xmm0, dword [eax]
movss dword [ebp - 0xdc], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0xd8], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [0x10207bc8]
movss dword [ebp - 0xd4], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
movd xmm2, eax
mov eax, dword [ebp - 0xe4]
cvtdq2ps xmm2, xmm2
mov esi, dword [eax + 0x314]
mov ecx, esi
mov edi, dword [eax + 0x310]
sub ecx, edi
mov eax, 0x38e38e39
mulss xmm2, dword [0x102076fc]
imul ecx
movss dword [ebp - 0xcc], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003c089
mov ecx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd0], ecx
nop dword [eax]
nop word [eax + eax]
movss xmm0, dword [edi + eax + 0x14]
add edi, eax
addss xmm0, dword [0x102078ec]
comiss xmm2, xmm0
jbe 0x1003bd55
lea eax, [edi + 0x24]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov esi, dword [ebp - 0xe4]
add esp, 0xc
movss xmm1, dword [ebp - 0xd4]
add dword [esi + 0x314], 0xffffffdc
mov esi, dword [esi + 0x314]
jmp 0x1003be0c
movss xmm0, dword [ebp - 0xd8]
subss xmm0, dword [edi + 0x1c]
movss xmm1, dword [0x102078a8]
call fcn.1002d520
movss xmm1, dword [0x102078a8]
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [ebp - 0xdc]
subss xmm0, dword [edi + 0x18]
call fcn.1002d520
movss xmm1, dword [ebp - 0xc8]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0xe8]
subss xmm0, dword [edi + 0x20]
movss dword [ebp - 0xc8], xmm1
movss xmm1, dword [0x102078a8]
call fcn.1002d520
addss xmm0, dword [ebp - 0xc8]
call fcn.1000d600
movss xmm1, dword [ebp - 0xd4]
comiss xmm1, xmm0
ja 0x1003bde6
ucomiss xmm1, dword [0x10207bc8]
lahf
test ah, 0x44
jp 0x1003be0c
mov eax, dword [edi + 0x20]
movaps xmm1, xmm0
movups xmm0, xmmword [edi]
mov dword [ebp - 0xd0], eax
movss dword [ebp - 0xd4], xmm1
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebp - 0x78], xmm0
mov eax, dword [ebp - 0xe4]
mov ecx, esi
add dword [ebp - 0xc4], 0x24
inc dword [ebp - 0xbc]
movss xmm2, dword [ebp - 0xcc]
mov edi, dword [eax + 0x310]
sub ecx, edi
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc4]
jb 0x1003bd10
ucomiss xmm1, dword [0x10207bc8]
lahf
test ah, 0x44
jnp 0x1003c089
mov ecx, dword [ebp - 0xe4]
lea ecx, [ecx + 0x31c]
call fcn.1003c0c0
mov edi, eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd8], edi
mov ecx, dword [eax]
lea eax, [ebp - 0x60]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, 0x1021b4c0
call fcn.1003fb00
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x4c], 0xf
push 0
cmova eax, dword [ebp - 0x60]
push eax
call esi
lea ecx, [ebp - 0x60]
mov dword [edi], eax
mov byte [ebp - 4], 0xc
call fcn.10029c20
movss xmm0, dword [ebp - 0xcc]
mov eax, dword [0x102b707c]
mov ecx, dword [ebp - 0xd0]
movss dword [edi + 8], xmm0
movss dword [edi + 0xc], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x10], 0x3f800000
mov dword [edi + 0x20], ecx
test al, 1
jne 0x1003c078
or eax, 1
mov dword [0x102b707c], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x102b3e88]
mov dword [ebp - 0xd0], eax
cmp eax, dword [0x102b3e8c]
je 0x1003bf73
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1003bf62
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003bf36
xor edx, edx
test ecx, ecx
je 0x1003bf62
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003bf43
cmp esi, 0x72e242a1
je 0x1003bf85
mov eax, dword [ebp - 0xd0]
add eax, 4
mov dword [ebp - 0xd0], eax
cmp eax, dword [0x102b3e8c]
jne 0x1003bf20
mov edi, dword [ebp - 0xd8]
xor eax, eax
mov dword [0x102b703c], eax
jmp 0x1003c07d
mov eax, dword [ebp - 0xbc]
xor edi, edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xd0], edi
cmp dword [eax + 4], edi
jle 0x1003c04d
xor ecx, ecx
mov dword [ebp - 0xc8], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xe8], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1003bfed
cmp dword [ecx + 4], 0
jle 0x1003bfed
push 0
mov edx, 0x84cdad2
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1003bfe7
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xc4], edi
mov eax, dword [ebp - 0xbc]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003bff6
xor edx, edx
test ecx, ecx
je 0x1003c022
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c003
cmp esi, 0x84cdad2
je 0x1003c05c
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xc8]
inc edx
mov edi, dword [ebp - 0xc4]
add ecx, 0x3c
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xc8], ecx
cmp edx, dword [eax + 4]
jl 0x1003bfb0
mov eax, edi
mov edi, dword [ebp - 0xd8]
mov dword [0x102b703c], eax
jmp 0x1003c07d
mov eax, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xd8]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0xc4]
mov dword [0x102b703c], eax
jmp 0x1003c07d
mov eax, dword [0x102b703c]
mov esi, dword [ebp - 0xf0]
mov eax, dword [eax + esi]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x44]
call fcn.10029c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d03f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1000d860
int3