Function at 0x10029990
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 0x101bcd32
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x10203360]
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 - 0xc8], ecx
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x102033e0
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xb0], 0
call fcn.1002e370
mov dword [ebp - 4], 0
lea esi, [ebp - 0x2c]
mov eax, dword [edi]
mov ecx, edi
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xb0], 3
cmovae esi, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
call eax
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10029a40
test cl, cl
je 0x10029a3c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10029a40
add eax, 2
add esi, 2
test cl, cl
jne 0x10029a20
xor eax, eax
jmp 0x10029a45
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10029a68
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
mov byte [ebp - 0xb1], 0
xor eax, 0x91d5c6d7
cmp dword [eax + 0x14c], 0
jne 0x10029a6f
mov byte [ebp - 0xb1], 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.1001de40
cmp byte [ebp - 0xb1], 0
jne 0x1002aae1
mov eax, dword [0x105cbfb0]
mov ecx, 0x102033a0
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov edi, dword [eax + 0xc4]
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.1002e6b0
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0x10
push 0
cmovae 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.1001de40
mov ecx, dword [0x105cbfb0]
add ecx, 0x4fd8cdb0
xor ecx, 0x91d5c6d7
mov ecx, dword [ecx + 0x14c]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
cmp eax, esi
jne 0x1002aae1
mov eax, dword [0x105cbfb0]
mov ecx, 0x10203498
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov edi, dword [eax + 0xc4]
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.1002d3f0
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
push 0
cmovae 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.1001de40
mov ecx, dword [0x105cbfb0]
add ecx, 0x4fd8cdb0
xor ecx, 0x91d5c6d7
push esi
mov ecx, dword [ecx + 0xc8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edx, eax
mov dword [ebp - 0xd4], edx
test edx, edx
je 0x1002aae1
mov ecx, dword [0x105cbfb0]
add ecx, 0x4fd8cdb0
xor ecx, 0x91d5c6d7
mov eax, dword [ecx + 0x14c]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x10029e6b
cmp edx, eax
je 0x1002aae1
mov ecx, dword [ecx + 0x19c]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x10029e6b
mov edx, dword [0x1029e3e8]
test dl, 1
jne 0x10029daa
or edx, 1
mov dword [0x1029e3e8], edx
mov dword [ebp - 4], 3
mov eax, dword [0x1029b360]
mov ecx, dword [0x1029b364]
mov dword [ebp - 0xa8], eax
cmp eax, ecx
je 0x10029c83
mov dword [ebp - 0xac], eax
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xb8], ecx
test ecx, ecx
je 0x10029c72
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10029c46
xor edx, edx
test ecx, ecx
je 0x10029c72
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10029c53
cmp edi, 0x1eee87cc
je 0x10029ca2
mov eax, dword [ebp - 0xac]
add eax, 4
mov dword [ebp - 0xac], eax
cmp eax, dword [0x1029b364]
jne 0x10029c30
mov eax, dword [0x1029b360]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x1029e3e8]
mov dword [0x1029e3b4], ecx
jmp 0x10029dbb
mov eax, dword [ebp - 0xb8]
xor edi, edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xac], edi
cmp dword [eax + 4], edi
jle 0x10029d9e
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xb0], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10029d0d
cmp dword [ecx + 4], 0
jle 0x10029d0d
push 0
mov edx, 0xa5bfefb3
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10029d07
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xa4], edi
mov eax, dword [ebp - 0xb8]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10029d16
xor edx, edx
test ecx, ecx
je 0x10029d42
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10029d23
cmp edi, 0xa5bfefb3
je 0x10029d7f
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
inc edx
mov edi, dword [ebp - 0xa4]
add ecx, 0x3c
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], ecx
cmp edx, dword [eax + 4]
jl 0x10029cd0
mov eax, dword [0x1029b360]
mov ecx, edi
mov dword [ebp - 0xa8], eax
jmp 0x10029c8a
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x2c]
mov eax, dword [0x1029b360]
add ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
jmp 0x10029c8a
mov eax, dword [0x1029b360]
mov ecx, edi
jmp 0x10029c8a
mov eax, dword [0x1029b360]
mov ecx, dword [0x1029e3b4]
mov dword [ebp - 0xa8], eax
mov esi, dword [ebp - 0xd4]
mov esi, dword [ecx + esi]
mov dword [ebp - 0xc0], esi
test dl, 1
jne 0x10029e5c
or edx, 1
mov dword [0x1029e3e8], edx
mov dword [ebp - 4], 4
cmp eax, dword [0x1029b364]
je 0x10029e47
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
test ecx, ecx
je 0x10029e36
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10029e06
xor edx, edx
test ecx, ecx
je 0x10029e36
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10029e13
cmp esi, 0x1eee87cc
je 0x10029f02
mov eax, dword [ebp - 0xa8]
add eax, 4
mov dword [ebp - 0xa8], eax
cmp eax, dword [0x1029b364]
jne 0x10029df0
xor ecx, ecx
mov esi, dword [ebp - 0xc0]
mov dword [0x1029e3b4], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xbc]
cmp esi, dword [eax + ecx]
je 0x1002aae1
mov eax, dword [0x10aa3bbc]
test al, 1
jne 0x10029e97
or eax, 1
mov dword [0x10aa3bbc], eax
push 0x101cd560
mov dword [ebp - 4], 5
call fcn.101b9aef
add esp, 4
mov dword [ebp - 4], 0xffffffff
movd xmm0, dword [0x10285324]
lea eax, [ebp - 0x94]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x10203390
mulss xmm0, dword [0x101f06e0]
movss dword [ebp - 0xac], xmm0
call fcn.1002d1a0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
mov ecx, dword [0x102a1948]
cmovae eax, dword [ebp - 0x94]
mov dword [ebp - 0xc0], eax
mov eax, 0x7fffffff
sub eax, ecx
mov dword [ebp - 0xa4], ecx
cmp eax, 1
jb 0x1002ab01
jmp 0x10029fe8
mov eax, dword [ebp - 0xa4]
xor edi, edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xac], edi
cmp dword [eax + 4], edi
jle 0x10029fcd
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xb0], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10029f6d
cmp dword [ecx + 4], 0
jle 0x10029f6d
push 0
mov edx, 0xa5bfefb3
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10029f67
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xb8], edi
mov eax, dword [ebp - 0xa4]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10029f76
xor edx, edx
test ecx, ecx
je 0x10029fa2
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10029f83
cmp edi, 0xa5bfefb3
je 0x10029fd4
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
inc edx
mov edi, dword [ebp - 0xb8]
add ecx, 0x3c
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], ecx
cmp edx, dword [eax + 4]
jl 0x10029f30
mov ecx, edi
jmp 0x10029e49
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp - 0xb8]
jmp 0x10029e49
cmp dword [0x102a194c], 0x10
lea edi, [ebp - 0x78]
mov eax, 0x102a1938
mov dword [ebp - 0x68], 0
cmovae eax, dword [0x102a1938]
mov esi, 0xf
mov dword [ebp - 0xb0], eax
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xbc], eax
movups xmmword [ebp - 0x78], xmm0
cmp eax, esi
jbe 0x1002a063
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1002a03f
mov esi, 0x7fffffff
jmp 0x1002a049
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
call fcn.1001e070
mov ecx, dword [ebp - 0xa4]
mov edi, eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x78], edi
push ecx
push dword [ebp - 0xb0]
mov dword [ebp - 0x68], eax
push edi
mov dword [ebp - 0x64], esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0xa4]
add esp, 0xc
mov al, byte [0x101ea860]
mov byte [edi + ecx], al
mov byte [edi + ecx + 1], 0
mov ecx, 0x10285328
mov byte [ebp - 4], 7
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a098
sub ecx, edx
push ecx
push 0x10285328
lea ecx, [ebp - 0x78]
call fcn.1001def0
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
mov edx, dword [ebp - 0xc0]
mov ecx, edx
mov byte [ebp - 4], 8
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a0f5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.1001def0
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.1001de40
lea ecx, [ebp - 0x78]
call fcn.1001de40
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xc
call fcn.1001de40
mov eax, dword [0x10285320]
test eax, eax
je 0x1002a633
cmp eax, 1
je 0x1002a492
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
mov byte [ebp - 0xbc], 0
cmovae edx, dword [ebp - 0x44]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a190
sub ecx, esi
push ecx
push edx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x60]
call fcn.1010f4b0
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.1010d550
lea ecx, [ebp - 0x60]
mov byte [ebp - 0xb1], al
mov byte [ebp - 4], 0xc
call fcn.1010f120
cmp byte [ebp - 0xb1], 0
je 0x1002a492
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov ecx, 0x102033b8
push eax
call fcn.1002f7a0
cmp dword [0x102033c8], 0
jbe 0x1002a633
push 0x102033b8
lea ecx, [ebp - 0x60]
call fcn.1001d860
sub esp, 8
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x190]
push 0x20
push eax
call fcn.1002dfc0
push 2
push 0
push 0
lea ecx, [ebp - 0x190]
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 - 0x98]
push eax
lea ecx, [ebp - 0x190]
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.101b9bc0
add esp, 4
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x190]
push 0
push 0
push 0
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 - 0x190]
cdq
push edx
push eax
push dword [ebp - 0xa4]
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 - 0x180]
call fcn.1002f5d0
test eax, eax
jne 0x1002a2b0
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x190]
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_]
lea ecx, [ebp - 0x190]
call fcn.100298d0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.1001de40
mov edx, dword [ebp - 0xa4]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0xb8], edx
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0xa2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0xa1]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.10030840
cmp dword [eax + 4], 0
jne 0x1002a393
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100301a0
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
mov edx, eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xbc], eax
mov esi, dword [ecx]
sub edx, esi
cmp edi, edx
jae 0x1002a35d
lea eax, [esi + edi]
mov dword [ecx + 4], eax
jmp 0x1002a393
jbe 0x1002a393
mov eax, dword [ecx + 8]
sub eax, esi
cmp edi, eax
jbe 0x1002a371
push ecx
push edi
call fcn.10030cb0
jmp 0x1002a393
mov ecx, dword [ebp - 0xbc]
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 - 0xb0]
add esp, 0xc
mov dword [eax + 4], esi
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100301a0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0xac]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xa8], eax
lahf
test ah, 0x44
jnp 0x1002a483
push edi
push dword [ebp - 0xb8]
push dword [ebp - 0xa8]
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0xac]
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 0x1002a483
mov ecx, dword [ebp - 0xa8]
add ecx, 2
cmp byte [ecx - 2], 0x64
jne 0x1002a41a
cmp byte [ecx - 1], 0x61
jne 0x1002a41a
cmp byte [ecx], 0x74
jne 0x1002a41a
cmp byte [ecx + 1], 0x61
je 0x1002a42f
inc esi
inc ecx
cmp esi, eax
jl 0x1002a403
push 5
push 0
push dword [ebp - 0xa8]
jmp 0x1002a62d
test esi, esi
je 0x1002a483
mov ecx, dword [ebp - 0xa8]
mov edx, 0
mov eax, dword [esi + ecx + 4]
lea ecx, [ecx + 8]
shr eax, 1
lea ecx, [ecx + esi]
mov dword [ebp - 0xbc], eax
je 0x1002a483
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xbc]
dec eax
add edi, eax
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 0x1002a483
inc edx
cmp edx, esi
jb 0x1002a461
push 5
push 0
push dword [ebp - 0xa8]
jmp 0x1002a62d
mov edx, str.RIFF
mov dword [ebp - 0xa4], 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 - 0xa4]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.10030840
cmp dword [eax + 4], 0
jne 0x1002a55e
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100301a0
mov edi, dword [eax]
mov esi, dword [edi + 0x10]
mov ecx, esi
mov edx, dword [edi + 0xc]
sub ecx, edx
cmp ecx, 0xfcbc
jbe 0x1002a526
lea eax, [edx + 0xfcbc]
mov dword [edi + 0x10], eax
jmp 0x1002a55e
jae 0x1002a55e
mov eax, dword [edi + 0x14]
sub eax, edx
cmp eax, 0xfcbc
jae 0x1002a544
push ecx
push 0xfcbc
lea ecx, [edi + 0xc]
call fcn.10030cb0
jmp 0x1002a55e
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 - 0xa4]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100301a0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0xac]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xb0], edi
lahf
test ah, 0x44
jnp 0x1002a628
push 0xfcbc
push dword [ebp - 0xa4]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0xac]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
cmp byte [eax - 2], 0x64
jne 0x1002a5cf
cmp byte [eax - 1], 0x61
jne 0x1002a5cf
cmp byte [eax], 0x74
jne 0x1002a5cf
cmp byte [eax + 1], 0x61
je 0x1002a5db
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x1002a5b8
jmp 0x1002a628
test ecx, ecx
je 0x1002a628
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x1002a628
lea eax, [edi + 0xfcbb]
mov dword [ebp - 0xbc], eax
mov edi, eax
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 0x1002a622
inc edx
cmp edx, esi
jb 0x1002a600
mov edi, dword [ebp - 0xb0]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x102852f8], 0
jne 0x1002a668
cmp byte [0x1028530c], 0
jne 0x1002a668
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x1002aad9
mov dword [ecx + 0x320], eax
jmp 0x1002aad9
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
movss xmm0, dword [eax]
movss dword [ebp - 0xd8], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [0x101f0b88]
movss dword [ebp - 0xa4], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
xor ecx, ecx
mov dword [ebp - 0xb8], ecx
movd xmm2, eax
mov eax, dword [ebp - 0xc8]
cvtdq2ps xmm2, xmm2
mov edi, dword [eax + 0x314]
mov ecx, edi
mov esi, dword [eax + 0x310]
sub ecx, esi
mov eax, 0x38e38e39
mulss xmm2, dword [0x101f06cc]
imul ecx
movss dword [ebp - 0xc0], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002aad9
mov ecx, dword [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], ecx
nop dword [eax]
movss xmm0, dword [esi + eax + 0x14]
addss xmm0, dword [0x101f08b4]
comiss xmm2, xmm0
jbe 0x1002a8f9
lea ecx, [eax + esi]
lea eax, [ecx + 0x24]
sub edi, eax
push edi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xc8]
add esp, 0xc
movss xmm1, dword [ebp - 0xa4]
add dword [eax + 0x314], 0xffffffdc
mov edi, dword [eax + 0x314]
mov eax, dword [ebp - 0xa8]
add eax, 0x24
inc dword [ebp - 0xb8]
movss xmm2, dword [ebp - 0xc0]
mov ecx, edi
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc8]
mov esi, dword [eax + 0x310]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa8]
jb 0x1002a730
ucomiss xmm1, dword [0x101f0b88]
lahf
test ah, 0x44
jnp 0x1002aad9
mov ecx, dword [ebp - 0xc8]
lea ecx, [ecx + 0x31c]
call fcn.1002ab10
mov edi, eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd8], edi
mov ecx, dword [eax]
lea eax, [ebp - 0x60]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, 0x10203460
call fcn.1002e450
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x4c], 0x10
push 0
cmovae edx, dword [ebp - 0x60]
push edx
call esi
lea ecx, [ebp - 0x60]
mov dword [edi], eax
mov byte [ebp - 4], 0xc
call fcn.1001de40
movss xmm0, dword [ebp - 0xc0]
mov eax, dword [0x1029e414]
mov ecx, dword [ebp - 0xb0]
movss dword [edi + 8], xmm0
movss dword [edi + 0xc], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x10], 0x3f800000
mov dword [edi + 0x20], ecx
test al, 1
jne 0x1002aac8
or eax, 1
mov dword [0x1029e414], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x1029b360]
mov dword [ebp - 0xb0], eax
cmp eax, dword [0x1029b364]
je 0x1002a8e7
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xac], ecx
test ecx, ecx
je 0x1002a8d6
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002a8a6
xor edx, edx
test ecx, ecx
je 0x1002a8d6
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002a8b3
cmp esi, 0x72e242a1
je 0x1002a9d4
mov eax, dword [ebp - 0xb0]
add eax, 4
mov dword [ebp - 0xb0], eax
cmp eax, dword [0x1029b364]
jne 0x1002a890
mov edi, dword [ebp - 0xd8]
xor eax, eax
mov dword [0x1029e3dc], eax
jmp 0x1002aacd
movss xmm0, dword [ebp - 0xbc]
subss xmm0, dword [esi + eax + 0x1c]
movss xmm1, dword [0x101f0870]
call fcn.1001f930
mov eax, dword [ebp - 0xa8]
movss xmm1, dword [0x101f0870]
movss dword [ebp - 0xac], xmm0
movss xmm0, dword [ebp - 0xd8]
subss xmm0, dword [esi + eax + 0x18]
call fcn.1001f930
movss xmm1, dword [ebp - 0xac]
mov eax, dword [ebp - 0xa8]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0xcc]
subss xmm0, dword [esi + eax + 0x20]
movss dword [ebp - 0xac], xmm1
movss xmm1, dword [0x101f0870]
call fcn.1001f930
addss xmm0, dword [ebp - 0xac]
call fcn.1000cb10
movss xmm1, dword [ebp - 0xa4]
comiss xmm1, xmm0
ja 0x1002a99d
ucomiss xmm1, dword [0x101f0b88]
lahf
test ah, 0x44
jp 0x1002a775
mov eax, dword [ebp - 0xa8]
movaps xmm1, xmm0
movss dword [ebp - 0xa4], xmm1
movups xmm0, xmmword [esi + eax]
mov ecx, dword [esi + eax + 0x20]
mov dword [ebp - 0xb0], ecx
movups xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [esi + eax + 0x10]
movups xmmword [ebp - 0x90], xmm0
jmp 0x1002a77b
mov eax, dword [ebp - 0xac]
xor edi, edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xb0], edi
cmp dword [eax + 4], edi
jle 0x1002aa9d
xor ecx, ecx
mov dword [ebp - 0xc0], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xcc], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1002aa3d
cmp dword [ecx + 4], 0
jle 0x1002aa3d
push 0
mov edx, 0x84cdad2
call fcn.101146e0
add esp, 4
test eax, eax
je 0x1002aa37
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xa4], edi
mov eax, dword [ebp - 0xac]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002aa46
xor edx, edx
test ecx, ecx
je 0x1002aa72
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002aa53
cmp esi, 0x84cdad2
je 0x1002aaac
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc0]
inc edx
mov edi, dword [ebp - 0xa4]
add ecx, 0x3c
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xc0], ecx
cmp edx, dword [eax + 4]
jl 0x1002aa00
mov eax, edi
mov edi, dword [ebp - 0xd8]
mov dword [0x1029e3dc], eax
jmp 0x1002aacd
mov eax, dword [ebp - 0xcc]
mov edi, dword [ebp - 0xd8]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0xa4]
mov dword [0x1029e3dc], eax
jmp 0x1002aacd
mov eax, dword [0x1029e3dc]
mov esi, dword [ebp - 0xd4]
mov eax, dword [eax + esi]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x44]
call fcn.1001de40
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.101b965e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1000cd70
int3