Function at 0x1003e230
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 0x1022338b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x102d5080]
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 - 0xb8]
push eax
mov ecx, 0x102d5ba0
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd4], 0
call fcn.10042c00
mov dword [ebp - 4], 0
lea esi, [ebp - 0xb8]
mov eax, dword [edi]
mov ecx, edi
cmp dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xd4], 3
cmova esi, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
call eax
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1003e2f0
test cl, cl
je 0x1003e2ec
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1003e2f0
add eax, 2
add esi, 2
test cl, cl
jne 0x1003e2d0
xor eax, eax
jmp 0x1003e2f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003e318
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
mov byte [ebp - 0xbd], 0
xor eax, 0x3743f7af
cmp dword [eax + 0x134], 0
jne 0x1003e31f
mov byte [ebp - 0xbd], 1
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
cmp byte [ebp - 0xbd], 0
jne 0x1003f41e
mov eax, dword [0x10bbf240]
mov ecx, 0x102d5b60
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov edi, dword [eax + 0xac]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.10043330
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.1002b0f0
mov ecx, dword [0x10bbf240]
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
mov ecx, dword [ecx + 0x134]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
cmp eax, esi
jne 0x1003f41e
mov eax, dword [0x10bbf240]
mov ecx, 0x102d5c60
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov edi, dword [eax + 0xac]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.10042f30
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.1002b0f0
mov ecx, dword [0x10bbf240]
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
push esi
mov ecx, dword [ecx + 0xb0]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edx, eax
mov dword [ebp - 0xf4], edx
test edx, edx
je 0x1003f41e
mov ecx, dword [0x10bbf240]
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
mov eax, dword [ecx + 0x134]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x1003e71b
cmp edx, eax
je 0x1003f41e
mov ecx, dword [ecx + 0x184]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1003e71b
mov edx, dword [0x1037553c]
test dl, 1
jne 0x1003e65a
or edx, 1
mov dword [0x1037553c], edx
mov dword [ebp - 4], 3
mov eax, dword [0x10371278]
mov ecx, dword [0x1037127c]
mov dword [ebp - 0xc4], eax
cmp eax, ecx
je 0x1003e533
mov dword [ebp - 0xcc], eax
nop
mov ecx, dword [eax]
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je 0x1003e522
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003e4f6
xor edx, edx
test ecx, ecx
je 0x1003e522
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003e503
cmp edi, 0x1eee87cc
je 0x1003e552
mov eax, dword [ebp - 0xcc]
add eax, 4
mov dword [ebp - 0xcc], eax
cmp eax, dword [0x1037127c]
jne 0x1003e4e0
mov eax, dword [0x10371278]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x1037553c]
mov dword [0x103754f4], ecx
jmp 0x1003e66b
mov eax, dword [ebp - 0xc8]
xor edi, edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xcc], edi
cmp dword [eax + 4], edi
jle 0x1003e64e
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xd4], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1003e5bd
cmp dword [ecx + 4], 0
jle 0x1003e5bd
push 0
mov edx, 0xa5bfefb3
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x1003e5b7
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xbc], edi
mov eax, dword [ebp - 0xc8]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003e5c6
xor edx, edx
test ecx, ecx
je 0x1003e5f2
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003e5d3
cmp edi, 0xa5bfefb3
je 0x1003e62f
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
inc edx
mov edi, dword [ebp - 0xbc]
add ecx, 0x3c
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd0], ecx
cmp edx, dword [eax + 4]
jl 0x1003e580
mov eax, dword [0x10371278]
mov ecx, edi
mov dword [ebp - 0xc4], eax
jmp 0x1003e53a
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [0x10371278]
add ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
jmp 0x1003e53a
mov eax, dword [0x10371278]
mov ecx, edi
jmp 0x1003e53a
mov eax, dword [0x10371278]
mov ecx, dword [0x103754f4]
mov dword [ebp - 0xc4], eax
mov esi, dword [ebp - 0xf4]
mov esi, dword [ecx + esi]
mov dword [ebp - 0xdc], esi
test dl, 1
jne 0x1003e70c
or edx, 1
mov dword [0x1037553c], edx
mov dword [ebp - 4], 4
cmp eax, dword [0x1037127c]
je 0x1003e6f7
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1003e6e6
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003e6b6
xor edx, edx
test ecx, ecx
je 0x1003e6e6
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003e6c3
cmp esi, 0x1eee87cc
je 0x1003e7a9
mov eax, dword [ebp - 0xc4]
add eax, 4
mov dword [ebp - 0xc4], eax
cmp eax, dword [0x1037127c]
jne 0x1003e6a0
xor ecx, ecx
mov esi, dword [ebp - 0xdc]
mov dword [0x103754f4], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd8]
cmp esi, dword [eax + ecx]
je 0x1003f41e
mov eax, dword [0x11096e58]
test al, 1
jne 0x1003e747
or eax, 1
mov dword [0x11096e58], eax
push 0x10235220
mov dword [ebp - 4], 5
call fcn.101f3b4f
add esp, 4
mov dword [ebp - 4], 0xffffffff
movd xmm0, dword [0x10359c68]
lea eax, [ebp - 0x64]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x102d5b50
mulss xmm0, dword [0x102bd64c]
movss dword [ebp - 0xc8], xmm0
call fcn.10042ce0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0xf
mov ecx, dword [0x103a9c64]
cmova eax, dword [ebp - 0x64]
mov dword [ebp - 0xdc], eax
mov eax, 0x7fffffff
sub eax, ecx
mov dword [ebp - 0xd0], ecx
cmp eax, 1
jb 0x1003f43e
jmp 0x1003e888
mov eax, dword [ebp - 0xbc]
xor edi, edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xcc], edi
cmp dword [eax + 4], edi
jle 0x1003e86d
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
nop
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xd4], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1003e80d
cmp dword [ecx + 4], 0
jle 0x1003e80d
push 0
mov edx, 0xa5bfefb3
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x1003e807
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xc8], edi
mov eax, dword [ebp - 0xbc]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003e816
xor edx, edx
test ecx, ecx
je 0x1003e842
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003e823
cmp edi, 0xa5bfefb3
je 0x1003e874
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
inc edx
mov edi, dword [ebp - 0xc8]
add ecx, 0x3c
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd0], ecx
cmp edx, dword [eax + 4]
jl 0x1003e7d0
mov ecx, edi
jmp 0x1003e6f9
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp - 0xc8]
jmp 0x1003e6f9
cmp dword [0x103a9c68], 0xf
lea edi, [ecx + 1]
mov eax, 0x103a9c54
mov dword [ebp - 0x78], 0
cmova eax, dword [0x103a9c54]
lea esi, [ebp - 0x88]
mov edx, 0xf
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x88], xmm0
cmp edi, edx
jbe 0x1003e91d
mov eax, edi
or eax, edx
cmp eax, 0x7fffffff
jbe 0x1003e8dd
mov eax, 0x7fffffff
jmp 0x1003e8e7
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1002e580
mov edx, dword [ebp - 0xcc]
mov esi, eax
mov ecx, dword [ebp - 0xd0]
add esp, 8
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x88], esi
push ecx
push eax
push esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edx
call fcn.101f5840
mov ecx, dword [ebp - 0xd0]
add esp, 0xc
mov al, byte [0x102b6798]
mov byte [esi + ecx], al
mov byte [esi + edi], 0
mov ecx, 0x10359c6c
mov byte [ebp - 4], 7
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e950
sub ecx, edx
push ecx
push 0x10359c6c
lea ecx, [ebp - 0x88]
call fcn.100463d0
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 - 0xdc]
mov ecx, edx
mov byte [ebp - 4], 8
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e9b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.100463d0
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.1002b0f0
lea ecx, [ebp - 0x88]
call fcn.1002b0f0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.1002b0f0
mov eax, dword [0x10359c64]
test eax, eax
je 0x1003ef73
cmp eax, 1
je 0x1003edd1
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push ecx
cmova eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.10136b70
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.10134b30
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 0xbd], al
cmp ecx, 7
jbe 0x1003ea84
push ecx
push dword [ebp - 0x64]
lea eax, [ebp - 0x64]
push eax
call fcn.10136890
mov al, byte [ebp - 0xbd]
add esp, 0xc
test al, al
je 0x1003edd1
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
mov ecx, 0x102d5b78
push eax
call fcn.100462a0
cmp dword [0x102d5b88], 0
jbe 0x1003ef73
push 0x102d5b78
lea ecx, [ebp - 0xa0]
call fcn.10044c30
sub esp, 8
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x1b0]
push 0x20
push eax
call fcn.10042860
push 2
sub esp, 8
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1b0]
call fcn.10043880
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.10043780
mov edi, dword [eax + 8]
add edi, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
push edi
mov dword [ebp - 0xec], ecx
call fcn.101f3bac
mov ecx, eax
add esp, 4
shr eax, 0x18
mov dword [ebp - 0xcc], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0xd0], eax
mov eax, ecx
push 0
sub esp, 8
mov dword [ebp - 0xbc], ecx
shr eax, 8
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0xc4], eax
call fcn.10043880
mov eax, edi
lea ecx, [ebp - 0x1b0]
cdq
push edx
push eax
push dword [ebp - 0xbc]
call fcn.100439c0
mov al, byte [ebp - 0xbc]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 0xbd], al
call fcn.10045eb0
test eax, eax
jne 0x1003ebdb
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1b0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.1003d010
mov al, byte [ebp - 0xbc]
mov byte [ebp - 0xbd], al
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x1b0]
call fcn.1003e1a0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
call fcn.1002b0f0
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 - 0xc4]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0xd0]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0xcc]
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 - 0xf0]
push eax
call fcn.10049160
cmp dword [eax + 4], 0
jne 0x1003eccf
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.10047c70
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 0x1003ec99
lea eax, [esi + edi]
mov dword [ecx + 4], eax
jmp 0x1003eccf
jbe 0x1003eccf
mov eax, dword [ecx + 8]
sub eax, esi
cmp edi, eax
jbe 0x1003ecad
push ecx
push edi
call fcn.100495d0
jmp 0x1003eccf
mov ecx, dword [ebp - 0xd8]
mov eax, edi
sub eax, edx
push eax
push 0
push ecx
lea esi, [eax + ecx]
call fcn.101f5dc0
mov eax, dword [ebp - 0xdc]
add esp, 0xc
mov dword [eax + 4], esi
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.10047c70
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0xc8]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc4], eax
lahf
test ah, 0x44
jnp 0x1003edc2
push edi
push dword [ebp - 0xbc]
push dword [ebp - 0xc4]
call fcn.101f5840
movss xmm1, dword [ebp - 0xc8]
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 0x1003edc2
mov ecx, dword [ebp - 0xc4]
add ecx, 2
nop
cmp byte [ecx - 2], 0x64
jne 0x1003ed57
cmp byte [ecx - 1], 0x61
jne 0x1003ed57
cmp byte [ecx], 0x74
jne 0x1003ed57
cmp byte [ecx + 1], 0x61
je 0x1003ed6c
inc esi
inc ecx
cmp esi, eax
jl 0x1003ed40
push 5
push 0
push dword [ebp - 0xc4]
jmp 0x1003ef6d
test esi, esi
je 0x1003edc2
mov ecx, dword [ebp - 0xc4]
mov edx, 0
mov eax, dword [esi + ecx + 4]
lea ecx, [ecx + 8]
shr eax, 1
lea ecx, [ecx + esi]
mov dword [ebp - 0xd8], eax
je 0x1003edc2
mov eax, dword [ebp - 0xc4]
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 0x1003edc2
inc edx
cmp edx, esi
jb 0x1003eda0
push 5
push 0
push dword [ebp - 0xc4]
jmp 0x1003ef6d
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 - 0xf0]
push eax
call fcn.10049160
cmp dword [eax + 4], 0
jne 0x1003ee9d
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.10047c70
mov edi, dword [eax]
mov esi, dword [edi + 0x10]
mov ecx, esi
mov edx, dword [edi + 0xc]
sub ecx, edx
cmp ecx, 0xfcbc
jbe 0x1003ee65
lea eax, [edx + 0xfcbc]
mov dword [edi + 0x10], eax
jmp 0x1003ee9d
jae 0x1003ee9d
mov eax, dword [edi + 0x14]
sub eax, edx
cmp eax, 0xfcbc
jae 0x1003ee83
push ecx
push 0xfcbc
lea ecx, [edi + 0xc]
call fcn.100495d0
jmp 0x1003ee9d
mov eax, 0xfcbc
sub eax, ecx
push eax
push 0
push dword [edi + 0x10]
add esi, eax
call fcn.101f5dc0
add esp, 0xc
mov dword [edi + 0x10], esi
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.10047c70
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0xc8]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xdc], edi
lahf
test ah, 0x44
jnp 0x1003ef68
push 0xfcbc
push dword [ebp - 0xbc]
push edi
call fcn.101f5840
movss xmm1, dword [ebp - 0xc8]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
cmp byte [eax - 2], 0x64
jne 0x1003ef0e
cmp byte [eax - 1], 0x61
jne 0x1003ef0e
cmp byte [eax], 0x74
jne 0x1003ef0e
cmp byte [eax + 1], 0x61
je 0x1003ef1a
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x1003eef7
jmp 0x1003ef68
test ecx, ecx
je 0x1003ef68
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x1003ef68
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 0x1003ef62
inc edx
cmp edx, esi
jb 0x1003ef40
mov edi, dword [ebp - 0xdc]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x10359c3c], 0
jne 0x1003efa8
cmp byte [0x10359c50], 0
jne 0x1003efa8
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x1003f416
mov dword [ecx + 0x320], eax
jmp 0x1003f416
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 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 - 0xec], xmm0
movss xmm0, dword [0x102bdb48]
movss dword [ebp - 0xd0], xmm0
call fcn.101f9398
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
movd xmm2, eax
mov eax, dword [ebp - 0xe4]
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 [0x102bd634]
imul ecx
movss dword [ebp - 0xc8], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003f416
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd4], ecx
movss xmm0, dword [esi + eax + 0x14]
addss xmm0, dword [0x102bd844]
comiss xmm2, xmm0
jbe 0x1003f239
lea ecx, [eax + esi]
lea eax, [ecx + 0x24]
sub edi, eax
push edi
push eax
push ecx
call fcn.101f5840
mov eax, dword [ebp - 0xe4]
add esp, 0xc
movss xmm1, dword [ebp - 0xd0]
add dword [eax + 0x314], 0xffffffdc
mov edi, dword [eax + 0x314]
mov eax, dword [ebp - 0xc4]
add eax, 0x24
inc dword [ebp - 0xbc]
movss xmm2, dword [ebp - 0xc8]
mov ecx, edi
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xe4]
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 - 0xbc], eax
mov eax, dword [ebp - 0xc4]
jb 0x1003f062
ucomiss xmm1, dword [0x102bdb48]
lahf
test ah, 0x44
jnp 0x1003f416
mov ecx, dword [ebp - 0xe4]
lea ecx, [ecx + 0x31c]
call fcn.1003f450
mov edi, eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd8], edi
mov ecx, dword [eax]
lea eax, [ebp - 0xa0]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, 0x102d5c28
call fcn.100430d0
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x8c], 0xf
push 0
cmova eax, dword [ebp - 0xa0]
push eax
call esi
lea ecx, [ebp - 0xa0]
mov dword [edi], eax
mov byte [ebp - 4], 0xc
call fcn.1002b0f0
movss xmm0, dword [ebp - 0xc8]
mov eax, dword [0x1037556c]
mov ecx, dword [ebp - 0xd4]
movss dword [edi + 8], xmm0
movss dword [edi + 0xc], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x10], 0x3f800000
mov dword [edi + 0x20], ecx
test al, 1
jne 0x1003f405
or eax, 1
mov dword [0x1037556c], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x10371278]
mov dword [ebp - 0xd4], eax
cmp eax, dword [0x1037127c]
je 0x1003f227
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1003f216
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003f1e6
xor edx, edx
test ecx, ecx
je 0x1003f216
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003f1f3
cmp esi, 0x72e242a1
je 0x1003f30e
mov eax, dword [ebp - 0xd4]
add eax, 4
mov dword [ebp - 0xd4], eax
cmp eax, dword [0x1037127c]
jne 0x1003f1d0
mov edi, dword [ebp - 0xd8]
xor eax, eax
mov dword [0x1037552c], eax
jmp 0x1003f40a
movss xmm0, dword [ebp - 0xd8]
subss xmm0, dword [esi + eax + 0x1c]
movss xmm1, dword [0x102bd800]
call fcn.1002f3b0
mov eax, dword [ebp - 0xc4]
movss xmm1, dword [0x102bd800]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0xdc]
subss xmm0, dword [esi + eax + 0x18]
call fcn.1002f3b0
movss xmm1, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0xec]
subss xmm0, dword [esi + eax + 0x20]
movss dword [ebp - 0xcc], xmm1
movss xmm1, dword [0x102bd800]
call fcn.1002f3b0
addss xmm0, dword [ebp - 0xcc]
call fcn.1000ded0
movss xmm1, dword [ebp - 0xd0]
comiss xmm1, xmm0
ja 0x1003f2dd
ucomiss xmm1, dword [0x102bdb48]
lahf
test ah, 0x44
jp 0x1003f0a7
mov eax, dword [ebp - 0xc4]
movaps xmm1, xmm0
movss dword [ebp - 0xd0], xmm1
movups xmm0, xmmword [esi + eax]
mov ecx, dword [esi + eax + 0x20]
mov dword [ebp - 0xd4], ecx
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [esi + eax + 0x10]
movups xmmword [ebp - 0x60], xmm0
jmp 0x1003f0ad
mov eax, dword [ebp - 0xbc]
xor edi, edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd4], edi
cmp dword [eax + 4], edi
jle 0x1003f3da
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xec], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1003f370
cmp dword [ecx + 4], 0
jle 0x1003f370
push 0
mov edx, 0x84cdad2
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x1003f36a
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xc8], edi
mov eax, dword [ebp - 0xbc]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003f380
xor edx, edx
test ecx, ecx
je 0x1003f3af
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003f390
cmp esi, 0x84cdad2
je 0x1003f3e9
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xcc]
inc edx
mov edi, dword [ebp - 0xc8]
add ecx, 0x3c
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xcc], ecx
cmp edx, dword [eax + 4]
jl 0x1003f333
mov eax, edi
mov edi, dword [ebp - 0xd8]
mov dword [0x1037552c], eax
jmp 0x1003f40a
mov eax, dword [ebp - 0xec]
mov edi, dword [ebp - 0xd8]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0xc8]
mov dword [0x1037552c], eax
jmp 0x1003f40a
mov eax, dword [0x1037552c]
mov esi, dword [ebp - 0xf4]
mov eax, dword [eax + esi]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x44]
call fcn.1002b0f0
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.101f36c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1000e1a0
int3