Function at 0x1003b8f0
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 0x101e4dd5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x10285040]
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, 0x10285110
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd0], 0
call fcn.10040040
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 0x1003b9b0
test cl, cl
je 0x1003b9ac
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1003b9b0
add eax, 2
add esi, 2
test cl, cl
jne 0x1003b990
xor eax, eax
jmp 0x1003b9b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003b9d8
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
mov byte [ebp - 0xbd], 0
xor eax, 0xfcb4fca8
cmp dword [eax + 0x14c], 0
jne 0x1003b9df
mov byte [ebp - 0xbd], 1
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.10029c40
cmp byte [ebp - 0xbd], 0
jne 0x1003c9d1
mov eax, dword [0x10b33e60]
mov ecx, 0x102850d0
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
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.100407a0
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.10029c40
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
mov ecx, dword [ecx + 0x14c]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
cmp eax, esi
jne 0x1003c9d1
mov eax, dword [0x10b33e60]
mov ecx, 0x102851c8
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
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.10040370
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.10029c40
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
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 0x1003c9d1
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
mov eax, dword [ecx + 0x14c]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x1003bddb
cmp edx, eax
je 0x1003c9d1
mov ecx, dword [ecx + 0x19c]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1003bddb
mov edx, dword [0x103201fc]
test dl, 1
jne 0x1003bd1a
or edx, 1
mov dword [0x103201fc], edx
mov dword [ebp - 4], 3
mov eax, dword [0x1031cd80]
mov ecx, dword [0x1031cd84]
mov dword [ebp - 0xcc], eax
cmp eax, ecx
je 0x1003bbf3
mov dword [ebp - 0xc8], eax
nop
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je 0x1003bbe2
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003bbb6
xor edx, edx
test ecx, ecx
je 0x1003bbe2
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003bbc3
cmp edi, 0x1eee87cc
je 0x1003bc12
mov eax, dword [ebp - 0xc8]
add eax, 4
mov dword [ebp - 0xc8], eax
cmp eax, dword [0x1031cd84]
jne 0x1003bba0
mov eax, dword [0x1031cd80]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x103201fc]
mov dword [0x103201b4], ecx
jmp 0x1003bd2b
mov eax, dword [ebp - 0xc4]
xor edi, edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xc8], edi
cmp dword [eax + 4], edi
jle 0x1003bd0e
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 0x1003bc7d
cmp dword [ecx + 4], 0
jle 0x1003bc7d
push 0
mov edx, 0xa5bfefb3
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1003bc77
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 0x1003bc86
xor edx, edx
test ecx, ecx
je 0x1003bcb2
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003bc93
cmp edi, 0xa5bfefb3
je 0x1003bcef
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 0x1003bc40
mov eax, dword [0x1031cd80]
mov ecx, edi
mov dword [ebp - 0xcc], eax
jmp 0x1003bbfa
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x2c]
mov eax, dword [0x1031cd80]
add ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
jmp 0x1003bbfa
mov eax, dword [0x1031cd80]
mov ecx, edi
jmp 0x1003bbfa
mov eax, dword [0x1031cd80]
mov ecx, dword [0x103201b4]
mov dword [ebp - 0xcc], eax
mov esi, dword [ebp - 0xf0]
mov esi, dword [ecx + esi]
mov dword [ebp - 0xdc], esi
test dl, 1
jne 0x1003bdcc
or edx, 1
mov dword [0x103201fc], edx
mov dword [ebp - 4], 4
cmp eax, dword [0x1031cd84]
je 0x1003bdb7
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1003bda6
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003bd76
xor edx, edx
test ecx, ecx
je 0x1003bda6
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003bd83
cmp esi, 0x1eee87cc
je 0x1003be5d
mov eax, dword [ebp - 0xcc]
add eax, 4
mov dword [ebp - 0xcc], eax
cmp eax, dword [0x1031cd84]
jne 0x1003bd60
xor ecx, ecx
mov esi, dword [ebp - 0xdc]
mov dword [0x103201b4], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd8]
cmp esi, dword [eax + ecx]
je 0x1003c9d1
mov eax, dword [0x1100ba78]
test al, 1
jne 0x1003be07
or eax, 1
mov dword [0x1100ba78], eax
push 0x101f5bf0
mov dword [ebp - 4], 5
call fcn.101e12d2
add esp, 4
mov dword [ebp - 4], 0xffffffff
movd xmm0, dword [0x103061f4]
lea eax, [ebp - 0x7c]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x102850c0
mulss xmm0, dword [0x10270ed4]
movss dword [ebp - 0xc4], xmm0
call fcn.10040120
mov dword [ebp - 4], 6
lea esi, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0xf
mov eax, 0x7fffffff
mov ecx, dword [0x10323740]
cmova esi, dword [ebp - 0x7c]
sub eax, ecx
cmp eax, 1
jb 0x1003c9f1
jmp 0x1003bf3a
mov eax, dword [ebp - 0xbc]
xor edi, edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], edi
cmp dword [eax + 4], edi
jle 0x1003bf1f
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 0x1003bebf
cmp dword [ecx + 4], 0
jle 0x1003bebf
push 0
mov edx, 0xa5bfefb3
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1003beb9
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 0x1003bec8
xor edx, edx
test ecx, ecx
je 0x1003bef4
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003bed5
cmp edi, 0xa5bfefb3
je 0x1003bf26
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 0x1003be82
mov ecx, edi
jmp 0x1003bdb9
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp - 0xc4]
jmp 0x1003bdb9
cmp dword [0x10323744], 0xf
mov eax, 0x10323730
push 1
cmova eax, dword [0x10323730]
push 0x1026b084
push ecx
push eax
push ecx
push dword [ebp - 0xe8]
lea ecx, [ebp - 0xb8]
call fcn.10042b40
push 0x103061f8
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.10041420
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.10041420
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.10029c40
lea ecx, [ebp - 0xb8]
call fcn.10029c40
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
call fcn.10029c40
mov eax, dword [0x103061f0]
test eax, eax
je 0x1003c553
cmp eax, 1
je 0x1003c3b1
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 0x1003c040
sub ecx, esi
push ecx
push edx
call fcn.101e0848
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.10123960
add esp, 8
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.10124450
lea ecx, [ebp - 0x60]
mov byte [ebp - 0xbd], al
mov byte [ebp - 4], 0xc
call fcn.10126060
cmp byte [ebp - 0xbd], 0
je 0x1003c3b1
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
mov ecx, 0x102850e8
push eax
call fcn.10041b40
cmp dword [0x102850f8], 0
jbe 0x1003c553
push 0x102850e8
lea ecx, [ebp - 0x60]
call fcn.10041510
sub esp, 8
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1a8]
push 0x20
push eax
call fcn.1003fc90
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.101e132f
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.10041960
test eax, eax
jne 0x1003c1bb
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.1003b830
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.10029c40
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.10042fb0
cmp dword [eax + 4], 0
jne 0x1003c2ac
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.10042600
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 0x1003c276
lea eax, [edi + esi]
mov dword [ecx + 4], eax
jmp 0x1003c2ac
jbe 0x1003c2ac
mov eax, dword [ecx + 8]
sub eax, esi
cmp edi, eax
jbe 0x1003c28a
push ecx
push edi
call fcn.10043420
jmp 0x1003c2ac
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.10042600
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 0x1003c3a2
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 0x1003c3a2
mov ecx, dword [ebp - 0xcc]
add ecx, 2
nop dword [eax]
cmp byte [ecx - 2], 0x64
jne 0x1003c337
cmp byte [ecx - 1], 0x61
jne 0x1003c337
cmp byte [ecx], 0x74
jne 0x1003c337
cmp byte [ecx + 1], 0x61
je 0x1003c34c
inc esi
inc ecx
cmp esi, eax
jl 0x1003c320
push 5
push 0
push dword [ebp - 0xcc]
jmp 0x1003c54d
test esi, esi
je 0x1003c3a2
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 0x1003c3a2
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 0x1003c3a2
inc edx
cmp edx, esi
jb 0x1003c380
push 5
push 0
push dword [ebp - 0xcc]
jmp 0x1003c54d
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.10042fb0
cmp dword [eax + 4], 0
jne 0x1003c47d
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.10042600
mov edi, dword [eax]
mov esi, dword [edi + 0x10]
mov ecx, esi
mov edx, dword [edi + 0xc]
sub ecx, edx
cmp ecx, 0xfcbc
jbe 0x1003c445
lea eax, [edx + 0xfcbc]
mov dword [edi + 0x10], eax
jmp 0x1003c47d
jae 0x1003c47d
mov eax, dword [edi + 0x14]
sub eax, edx
cmp eax, 0xfcbc
jae 0x1003c463
push ecx
push 0xfcbc
lea ecx, [edi + 0xc]
call fcn.10043420
jmp 0x1003c47d
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.10042600
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 0x1003c548
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 0x1003c4ee
cmp byte [eax - 1], 0x61
jne 0x1003c4ee
cmp byte [eax], 0x74
jne 0x1003c4ee
cmp byte [eax + 1], 0x61
je 0x1003c4fa
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x1003c4d7
jmp 0x1003c548
test ecx, ecx
je 0x1003c548
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x1003c548
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 0x1003c542
inc edx
cmp edx, esi
jb 0x1003c520
mov edi, dword [ebp - 0xdc]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x103061c8], 0
jne 0x1003c588
cmp byte [0x103061dc], 0
jne 0x1003c588
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x1003c9c9
mov dword [ecx + 0x320], eax
jmp 0x1003c9c9
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 [0x102713a0]
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 [0x10270ebc]
imul ecx
movss dword [ebp - 0xcc], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003c9c9
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 [0x102710b4]
comiss xmm2, xmm0
jbe 0x1003c695
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 0x1003c74c
movss xmm0, dword [ebp - 0xd8]
subss xmm0, dword [edi + 0x1c]
movss xmm1, dword [0x10271070]
call fcn.1002de70
movss xmm1, dword [0x10271070]
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [ebp - 0xdc]
subss xmm0, dword [edi + 0x18]
call fcn.1002de70
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 [0x10271070]
call fcn.1002de70
addss xmm0, dword [ebp - 0xc8]
call fcn.1000d460
movss xmm1, dword [ebp - 0xd4]
comiss xmm1, xmm0
ja 0x1003c726
ucomiss xmm1, dword [0x102713a0]
lahf
test ah, 0x44
jp 0x1003c74c
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 0x1003c650
ucomiss xmm1, dword [0x102713a0]
lahf
test ah, 0x44
jnp 0x1003c9c9
mov ecx, dword [ebp - 0xe4]
lea ecx, [ecx + 0x31c]
call fcn.1003ca00
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, 0x10285190
call fcn.10040540
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.10029c40
movss xmm0, dword [ebp - 0xcc]
mov eax, dword [0x1032022c]
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 0x1003c9b8
or eax, 1
mov dword [0x1032022c], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x1031cd80]
mov dword [ebp - 0xd0], eax
cmp eax, dword [0x1031cd84]
je 0x1003c8b3
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1003c8a2
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003c876
xor edx, edx
test ecx, ecx
je 0x1003c8a2
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c883
cmp esi, 0x72e242a1
je 0x1003c8c5
mov eax, dword [ebp - 0xd0]
add eax, 4
mov dword [ebp - 0xd0], eax
cmp eax, dword [0x1031cd84]
jne 0x1003c860
mov edi, dword [ebp - 0xd8]
xor eax, eax
mov dword [0x103201ec], eax
jmp 0x1003c9bd
mov eax, dword [ebp - 0xbc]
xor edi, edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xd0], edi
cmp dword [eax + 4], edi
jle 0x1003c98d
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 0x1003c92d
cmp dword [ecx + 4], 0
jle 0x1003c92d
push 0
mov edx, 0x84cdad2
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1003c927
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 0x1003c936
xor edx, edx
test ecx, ecx
je 0x1003c962
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c943
cmp esi, 0x84cdad2
je 0x1003c99c
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 0x1003c8f0
mov eax, edi
mov edi, dword [ebp - 0xd8]
mov dword [0x103201ec], eax
jmp 0x1003c9bd
mov eax, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xd8]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0xc4]
mov dword [0x103201ec], eax
jmp 0x1003c9bd
mov eax, dword [0x103201ec]
mov esi, dword [ebp - 0xf0]
mov eax, dword [eax + esi]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x44]
call fcn.10029c40
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.101e0e46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1000d6c0
int3