Function at 0x1004a430
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 0x1038c0f8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x1049b0c0]
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 - 0xf0], ecx
mov eax, dword [ebx + 8]
mov ecx, 0x1049bd70
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0xf4], 0
call fcn.1004ecb0
mov ecx, dword [ebp - 0xec]
lea esi, [ebp - 0x88]
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x74]
cmp edi, 0xf
mov dword [ebp - 0xf4], 3
mov eax, dword [ecx]
seta byte [ebp - 0xba]
cmova esi, dword [ebp - 0x88]
mov eax, dword [eax + 4]
call eax
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1004a4f3
test cl, cl
je 0x1004a4ef
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1004a4f3
add eax, 2
add esi, 2
test cl, cl
jne 0x1004a4d3
xor eax, eax
jmp 0x1004a4f8
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [0x11b92250]
jne 0x1004a51d
lea ecx, [eax - 0x393e67ec]
mov byte [ebp - 0xb9], 0
xor ecx, 0x26996288
cmp dword [ecx + 0x154], 0
jne 0x1004a524
mov byte [ebp - 0xb9], 1
cmp byte [ebp - 0xba], 0
mov dword [ebp - 4], 0xffffffff
je 0x1004a54f
push edi
push dword [ebp - 0x88]
lea eax, [ebp - 0x88]
push eax
call fcn.10034640
mov eax, dword [0x11b92250]
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jne 0x1004b491
add eax, 0xc6c19814
mov ecx, 0x1049bd30
xor eax, 0x26996288
mov edi, dword [eax + 0xc4]
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x34]
push eax
call fcn.1004f3e0
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], 0xf
push 0
cmova eax, dword [ebp - 0x34]
push eax
call esi
mov edx, dword [edi]
mov ecx, edi
push eax
mov edx, dword [edx + 0x24]
call edx
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1004a5cd
push ecx
push dword [ebp - 0x34]
lea eax, [ebp - 0x34]
push eax
call fcn.10034640
add esp, 0xc
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x154]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x28]
call eax
cmp eax, esi
jne 0x1004b491
mov eax, dword [0x11b92250]
mov ecx, 0x1049be50
add eax, 0xc6c19814
xor eax, 0x26996288
mov edi, dword [eax + 0xc4]
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x34]
push eax
call fcn.1004f0c0
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0xf
push 0
cmova eax, dword [ebp - 0x34]
push eax
call esi
mov edx, dword [edi]
mov ecx, edi
push eax
mov edx, dword [edx + 0x24]
call edx
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1004a66b
push ecx
push dword [ebp - 0x34]
lea eax, [ebp - 0x34]
push eax
call fcn.10034640
add esp, 0xc
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
push esi
mov ecx, dword [eax + 0xc8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
mov dword [ebp - 0xf4], edx
test edx, edx
je 0x1004b491
mov ecx, dword [0x11b92250]
add ecx, 0xc6c19814
xor ecx, 0x26996288
mov eax, dword [ecx + 0x154]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x1004a94b
cmp edx, eax
je 0x1004b491
mov ecx, dword [ecx + 0x1a8]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1004a94b
mov edx, dword [0x105446d0]
test dl, 1
jne 0x1004a88a
or edx, 1
mov dword [0x105446d0], edx
mov dword [ebp - 4], 3
mov eax, dword [0x1053ebb8]
mov ecx, dword [0x1053ebbc]
mov dword [ebp - 0xd8], eax
cmp eax, ecx
je 0x1004a765
mov dword [ebp - 0xc8], eax
mov ecx, dword [eax]
mov dword [ebp - 0xd4], ecx
test ecx, ecx
je 0x1004a754
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1004a728
xor edx, edx
test ecx, ecx
je 0x1004a754
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1004a735
cmp esi, 0x1eee87cc
je 0x1004a784
mov eax, dword [ebp - 0xc8]
add eax, 4
mov dword [ebp - 0xc8], eax
cmp eax, dword [0x1053ebbc]
jne 0x1004a712
mov eax, dword [0x1053ebb8]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x105446d0]
mov dword [0x1054469c], ecx
jmp 0x1004a89b
mov eax, dword [ebp - 0xd4]
xor edi, edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], edi
cmp dword [eax + 4], edi
jle 0x1004a87e
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xc0], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1004a7ed
cmp dword [ecx + 4], 0
jle 0x1004a7ed
push 0
mov edx, 0xa5bfefb3
call fcn.10238b60
add esp, 4
test eax, eax
je 0x1004a7e7
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xc4], edi
mov eax, dword [ebp - 0xd4]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [edi + ecx], 0
jne 0x1004a7f6
xor edx, edx
test ecx, ecx
je 0x1004a822
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1004a803
cmp esi, 0xa5bfefb3
je 0x1004a85f
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
inc edx
mov edi, dword [ebp - 0xc4]
add ecx, 0x3c
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xcc], ecx
cmp edx, dword [eax + 4]
jl 0x1004a7b0
mov eax, dword [0x1053ebb8]
mov ecx, edi
mov dword [ebp - 0xd8], eax
jmp 0x1004a76c
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x2c]
mov eax, dword [0x1053ebb8]
add ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xd8], eax
jmp 0x1004a76c
mov eax, dword [0x1053ebb8]
mov ecx, edi
jmp 0x1004a76c
mov eax, dword [0x1053ebb8]
mov ecx, dword [0x1054469c]
mov dword [ebp - 0xd8], eax
mov esi, dword [ebp - 0xf4]
mov esi, dword [ecx + esi]
mov dword [ebp - 0xdc], esi
test dl, 1
jne 0x1004a93c
or edx, 1
mov dword [0x105446d0], edx
mov dword [ebp - 4], 4
cmp eax, dword [0x1053ebbc]
je 0x1004a927
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je 0x1004a916
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1004a8e6
xor edx, edx
test ecx, ecx
je 0x1004a916
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1004a8f3
cmp esi, 0x1eee87cc
je 0x1004a9cd
mov eax, dword [ebp - 0xd8]
add eax, 4
mov dword [ebp - 0xd8], eax
cmp eax, dword [0x1053ebbc]
jne 0x1004a8d0
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0xdc]
mov dword [0x1054469c], ecx
mov eax, dword [ebp - 0xe4]
cmp esi, dword [eax + ecx]
je 0x1004b491
mov eax, dword [0x1206e584]
test al, 1
jne 0x1004a977
or eax, 1
mov dword [0x1206e584], eax
push 0x103aca70
mov dword [ebp - 4], 5
call fcn.102fe824
add esp, 4
mov dword [ebp - 4], 0xffffffff
movd xmm0, dword [0x10520e8c]
lea eax, [ebp - 0x34]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x1049bd20
mulss xmm0, dword [0x1046efa8]
movss dword [ebp - 0xcc], xmm0
call fcn.1004ee70
mov dword [ebp - 4], 6
lea esi, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
mov eax, 0x7fffffff
mov ecx, dword [0x1054ae48]
cmova esi, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 1
jb 0x1004b4b1
jmp 0x1004aaaa
mov eax, dword [ebp - 0xc4]
xor edi, edi
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xc8], edi
cmp dword [eax + 4], edi
jle 0x1004aa8f
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xc0], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1004aa2f
cmp dword [ecx + 4], 0
jle 0x1004aa2f
push 0
mov edx, 0xa5bfefb3
call fcn.10238b60
add esp, 4
test eax, eax
je 0x1004aa29
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xd4], edi
mov eax, dword [ebp - 0xc4]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x1004aa38
xor edx, edx
test ecx, ecx
je 0x1004aa64
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1004aa45
cmp esi, 0xa5bfefb3
je 0x1004aa96
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
inc edx
mov edi, dword [ebp - 0xd4]
add ecx, 0x3c
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xcc], ecx
cmp edx, dword [eax + 4]
jl 0x1004a9f2
mov ecx, edi
jmp 0x1004a929
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp - 0xd4]
jmp 0x1004a929
cmp dword [0x1054ae4c], 0xf
mov eax, 0x1054ae38
push 1
cmova eax, dword [0x1054ae38]
push 0x1045980c
push ecx
push eax
push ecx
push dword [ebp - 0xe4]
lea ecx, [ebp - 0xa0]
call fcn.10054ba0
push 0x10520e90
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.100539c0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.100539c0
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.10033ed0
lea ecx, [ebp - 0xa0]
call fcn.10033ed0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.10033ed0
mov eax, dword [0x10520e88]
test eax, eax
je 0x1004b05b
cmp eax, 1
je 0x1004aefd
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
mov byte [ebp - 0xe4], 0
lea edx, [ebp - 0xdc]
cmova eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x58]
push dword [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
call fcn.1018a370
add esp, 4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.1016b040
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 0xba], al
cmp ecx, 7
jbe 0x1004aba2
push ecx
push dword [ebp - 0x58]
lea eax, [ebp - 0x58]
push eax
call fcn.100c4760
mov al, byte [ebp - 0xba]
add esp, 0xc
test al, al
je 0x1004aefd
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
mov ecx, 0x1049bd48
push eax
call fcn.100523a0
cmp dword [0x1049bd58], 0
jbe 0x1004b05b
push 0x1049bd48
lea ecx, [ebp - 0x58]
call fcn.10050c50
sub esp, 8
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x1b0]
push 0x20
push eax
call fcn.1004e930
push 2
sub esp, 8
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1b0]
call fcn.1004f930
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.1004f830
mov esi, dword [eax + 8]
add esi, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
push esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xe4], ecx
call fcn.102fe881
mov ecx, eax
add esp, 4
shr eax, 0x18
mov dword [ebp - 0xd8], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0xd4], eax
mov eax, ecx
push 0
sub esp, 8
mov dword [ebp - 0xc0], ecx
shr eax, 8
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0xc4], eax
call fcn.1004f930
mov eax, esi
lea ecx, [ebp - 0x1b0]
cdq
push edx
push eax
mov eax, dword [ebp - 0xc0]
push eax
call fcn.1004fa70
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 0xcd], al
mov byte [ebp - 0xba], al
mov al, byte [ebp - 0xc4]
mov byte [ebp - 0xce], al
mov al, byte [ebp - 0xd4]
mov byte [ebp - 0xcf], al
mov al, byte [ebp - 0xd8]
mov byte [ebp - 0xb9], al
call fcn.10051e40
test eax, eax
jne 0x1004ad3c
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.100490b0
mov eax, dword [ebp - 0xc0]
mov byte [ebp - 0xcd], al
mov byte [ebp - 0xba], al
mov eax, dword [ebp - 0xc4]
mov byte [ebp - 0xce], al
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xd4]
mov byte [ebp - 0xcf], al
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 0xb9], al
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x1b0]
call fcn.1004a3a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x1004ad93
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x58]
push eax
call fcn.10034640
mov al, byte [ebp - 0xba]
add esp, 0xc
mov byte [ebp - 0xcd], al
mov al, byte [ebp - 0xc4]
mov byte [ebp - 0xce], al
mov al, byte [ebp - 0xd4]
mov byte [ebp - 0xcf], al
mov al, byte [ebp - 0xd8]
mov byte [ebp - 0xb9], al
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc0], eax
movzx eax, byte [ebp - 0xcd]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0xce]
xor ecx, eax
movzx eax, byte [ebp - 0xcf]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0xb9]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.100550a0
cmp dword [eax + 4], 0
jne 0x1004ae16
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10053fe0
push esi
mov ecx, dword [eax]
add ecx, 0xc
call fcn.1004f7a0
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10053fe0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0xcc]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc4], edi
lahf
test ah, 0x44
jnp 0x1004b050
push dword [ebp - 0xc8]
push dword [ebp - 0xc0]
push edi
call fcn.1034c3a0
mov eax, dword [ebp - 0xc8]
add esp, 0xc
movss xmm1, dword [ebp - 0xcc]
cdq
sub eax, edx
movss dword [esi + 0x18], xmm1
sar eax, 1
xor esi, esi
test eax, eax
jle 0x1004b050
lea ecx, [edi + 2]
cmp byte [ecx - 2], 0x64
jne 0x1004ae9b
cmp byte [ecx - 1], 0x61
jne 0x1004ae9b
cmp byte [ecx], 0x74
jne 0x1004ae9b
cmp byte [ecx + 1], 0x61
je 0x1004aea6
inc esi
inc ecx
cmp esi, eax
jl 0x1004ae84
jmp 0x1004b050
test esi, esi
je 0x1004b050
mov eax, dword [ebp - 0xc4]
mov edx, 0
mov edi, dword [esi + edi + 4]
shr edi, 1
lea ecx, [eax + 8]
lea ecx, [ecx + esi]
je 0x1004aef2
mov esi, dword [ebp - 0xc8]
dec esi
add esi, 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, esi
jae 0x1004aef2
inc edx
cmp edx, edi
jb 0x1004aed0
mov edi, dword [ebp - 0xc4]
jmp 0x1004b050
mov edx, str.RIFF
mov dword [ebp - 0xc0], 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 - 0xc0]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.100550a0
cmp dword [eax + 4], 0
jne 0x1004af81
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10053fe0
push 0xfcbc
mov ecx, dword [eax]
add ecx, 0xc
call fcn.1004f7a0
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10053fe0
mov esi, dword [eax]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [ebp - 0xcc]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xdc], edi
lahf
test ah, 0x44
jnp 0x1004b050
push 0xfcbc
push dword [ebp - 0xc0]
push edi
call fcn.1034c3a0
movss xmm1, dword [ebp - 0xcc]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0x18], xmm1
xor ecx, ecx
nop dword [eax + eax]
cmp byte [eax - 2], 0x64
jne 0x1004aff7
cmp byte [eax - 1], 0x61
jne 0x1004aff7
cmp byte [eax], 0x74
jne 0x1004aff7
cmp byte [eax + 1], 0x61
je 0x1004b003
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x1004afe0
jmp 0x1004b050
test ecx, ecx
je 0x1004b050
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x1004b050
lea eax, [edi + 0xfcbb]
mov dword [ebp - 0xe4], 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 0x1004b04a
inc edx
cmp edx, esi
jb 0x1004b028
mov edi, dword [ebp - 0xdc]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x10520e60], 0
jne 0x1004b090
cmp byte [0x10520e74], 0
jne 0x1004b090
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x1004b479
mov dword [ecx + 0x320], eax
jmp 0x1004b479
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
movss xmm0, dword [eax]
movss dword [ebp - 0xe4], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0xdc], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [0x1046f4c0]
movss dword [ebp - 0xc8], xmm0
call fcn.1034ff15
xor edi, edi
movd xmm2, eax
mov eax, dword [ebp - 0xf0]
cvtdq2ps xmm2, xmm2
mov edx, dword [eax + 0x314]
mov ecx, dword [eax + 0x310]
mov eax, edx
sub eax, ecx
mulss xmm2, dword [0x1046ef90]
sar eax, 2
imul eax, eax, 0x38e38e39
movss dword [ebp - 0xcc], xmm2
test eax, eax
je 0x1004b479
mov eax, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0xc0], eax
nop dword [eax + eax]
movss xmm0, dword [esi + ecx + 0x14]
addss xmm0, dword [0x1046f1ac]
comiss xmm2, xmm0
jbe 0x1004b185
add ecx, esi
lea eax, [ecx + 0x24]
sub edx, eax
push edx
push eax
push ecx
call fcn.1034c3a0
mov edx, dword [ebp - 0xf0]
add esp, 0xc
movss xmm1, dword [ebp - 0xc8]
add dword [edx + 0x314], 0xffffffdc
mov edx, dword [edx + 0x314]
jmp 0x1004b20a
movss xmm0, dword [ebp - 0xdc]
movss xmm2, dword [ebp - 0xe4]
subss xmm2, dword [esi + ecx + 0x18]
subss xmm0, dword [esi + ecx + 0x1c]
movss xmm1, dword [ebp - 0xc4]
subss xmm1, dword [esi + ecx + 0x20]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
movss xmm1, dword [ebp - 0xc8]
sqrtss xmm0, xmm2
comiss xmm1, xmm0
ja 0x1004b1e4
ucomiss xmm1, dword [0x1046f4c0]
lahf
test ah, 0x44
jp 0x1004b20a
mov eax, dword [esi + ecx + 0x20]
movaps xmm1, xmm0
movups xmm0, xmmword [esi + ecx]
mov dword [ebp - 0xc0], eax
movss dword [ebp - 0xc8], xmm1
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
movups xmmword [ebp - 0x30], xmm0
mov eax, dword [ebp - 0xf0]
inc edi
movss xmm2, dword [ebp - 0xcc]
add esi, 0x24
mov ecx, dword [eax + 0x310]
mov eax, edx
sub eax, ecx
sar eax, 2
imul eax, eax, 0x38e38e39
cmp edi, eax
jb 0x1004b140
ucomiss xmm1, dword [0x1046f4c0]
lahf
test ah, 0x44
jnp 0x1004b479
mov ecx, dword [ebp - 0xf0]
lea ecx, [ecx + 0x31c]
call fcn.1004b4c0
mov edi, eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xdc], edi
mov ecx, dword [eax]
lea eax, [ebp - 0x58]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, 0x1049be10
call fcn.1004ed90
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x44], 0xf
push 0
cmova eax, dword [ebp - 0x58]
push eax
call esi
mov dword [edi], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x1004b2b2
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x58]
push eax
call fcn.10034640
add esp, 0xc
movss xmm0, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc0]
movss dword [edi + 8], xmm0
movss dword [edi + 0xc], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x20], eax
mov eax, dword [0x10544908]
mov dword [edi + 0x10], 0x3f800000
test al, 1
jne 0x1004b468
or eax, 1
mov dword [0x10544908], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x1053ebb8]
mov dword [ebp - 0xc8], eax
cmp eax, dword [0x1053ebbc]
je 0x1004b363
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xcc], ecx
test ecx, ecx
je 0x1004b352
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1004b326
xor edx, edx
test ecx, ecx
je 0x1004b352
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1004b333
cmp esi, 0x72e242a1
je 0x1004b375
mov eax, dword [ebp - 0xc8]
add eax, 4
mov dword [ebp - 0xc8], eax
cmp eax, dword [0x1053ebbc]
jne 0x1004b310
mov edi, dword [ebp - 0xdc]
xor eax, eax
mov dword [0x105446c4], eax
jmp 0x1004b46d
mov eax, dword [ebp - 0xcc]
xor edi, edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc8], edi
cmp dword [eax + 4], edi
jle 0x1004b43d
xor ecx, ecx
mov dword [ebp - 0xc4], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xe4], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1004b3dd
cmp dword [ecx + 4], 0
jle 0x1004b3dd
push 0
mov edx, 0x84cdad2
call fcn.10238b60
add esp, 4
test eax, eax
je 0x1004b3d7
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0xc0], edi
mov eax, dword [ebp - 0xcc]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x1004b3e6
xor edx, edx
test ecx, ecx
je 0x1004b412
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1004b3f3
cmp esi, 0x84cdad2
je 0x1004b44c
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
inc edx
mov edi, dword [ebp - 0xc0]
add ecx, 0x3c
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], ecx
cmp edx, dword [eax + 4]
jl 0x1004b3a0
mov eax, edi
mov edi, dword [ebp - 0xdc]
mov dword [0x105446c4], eax
jmp 0x1004b46d
mov eax, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xdc]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0xc0]
mov dword [0x105446c4], eax
jmp 0x1004b46d
mov eax, dword [0x105446c4]
mov esi, dword [ebp - 0xf4]
mov eax, dword [eax + esi]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x5c]
cmp eax, 0xf
jbe 0x1004b491
push eax
push dword [ebp - 0x70]
lea eax, [ebp - 0x70]
push eax
call fcn.10034640
add esp, 0xc
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.102fe398
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10017ea0
int3