Function at 0x1003e520
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 0x10266785
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x103230ac]
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 - 0xec], ecx
mov edi, dword [ebx + 8]
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x10323b70
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd0], 0
call fcn.10042cc0
mov dword [ebp - 4], 0
lea esi, [ebp - 0xa0]
mov eax, dword [edi]
mov ecx, edi
cmp dword [ebp - 0x8c], 0x10
mov dword [ebp - 0xd0], 3
cmovae esi, dword [ebp - 0xa0]
mov eax, dword [eax + 4]
call eax
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1003e5e0
test cl, cl
je 0x1003e5dc
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1003e5e0
add eax, 2
add esi, 2
test cl, cl
jne 0x1003e5c0
xor eax, eax
jmp 0x1003e5e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003e608
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
mov byte [ebp - 0xbd], 0
xor eax, 0x43f50f5d
cmp dword [eax + 0x134], 0
jne 0x1003e60f
mov byte [ebp - 0xbd], 1
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002aa60
cmp byte [ebp - 0xbd], 0
jne 0x1003f62e
mov eax, dword [0x10c0dd10]
mov ecx, 0x10323b30
add eax, 0x72c821ae
xor eax, 0x43f50f5d
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.100433f0
mov ecx, dword [ebp - 0xe0]
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.1002aa60
mov ecx, dword [0x10c0dd10]
add ecx, 0x72c821ae
xor ecx, 0x43f50f5d
mov ecx, dword [ecx + 0x134]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
cmp eax, esi
jne 0x1003f62e
mov eax, dword [0x10c0dd10]
mov ecx, 0x10323c30
add eax, 0x72c821ae
xor eax, 0x43f50f5d
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.10042ff0
mov ecx, dword [ebp - 0xe0]
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.1002aa60
mov ecx, dword [0x10c0dd10]
add ecx, 0x72c821ae
xor ecx, 0x43f50f5d
push esi
mov ecx, dword [ecx + 0xb0]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edx, eax
mov dword [ebp - 0xf0], edx
test edx, edx
je 0x1003f62e
mov ecx, dword [0x10c0dd10]
add ecx, 0x72c821ae
xor ecx, 0x43f50f5d
mov eax, dword [ecx + 0x134]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x1003ea0b
cmp edx, eax
je 0x1003f62e
mov ecx, dword [ecx + 0x184]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1003ea0b
mov edx, dword [0x103c3bdc]
test dl, 1
jne 0x1003e94a
or edx, 1
mov dword [0x103c3bdc], edx
mov dword [ebp - 4], 3
mov eax, dword [0x103bf630]
mov ecx, dword [0x103bf634]
mov dword [ebp - 0xc4], eax
cmp eax, ecx
je 0x1003e823
mov dword [ebp - 0xcc], eax
nop
mov ecx, dword [eax]
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je 0x1003e812
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003e7e6
xor edx, edx
test ecx, ecx
je 0x1003e812
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003e7f3
cmp edi, 0x1eee87cc
je 0x1003e842
mov eax, dword [ebp - 0xcc]
add eax, 4
mov dword [ebp - 0xcc], eax
cmp eax, dword [0x103bf634]
jne 0x1003e7d0
mov eax, dword [0x103bf630]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x103c3bdc]
mov dword [0x103c3b94], ecx
jmp 0x1003e95b
mov eax, dword [ebp - 0xc8]
xor edi, edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xcc], edi
cmp dword [eax + 4], edi
jle 0x1003e93e
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 0x1003e8ad
cmp dword [ecx + 4], 0
jle 0x1003e8ad
push 0
mov edx, 0xa5bfefb3
call fcn.1013c990
add esp, 4
test eax, eax
je 0x1003e8a7
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 0x1003e8b6
xor edx, edx
test ecx, ecx
je 0x1003e8e2
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003e8c3
cmp edi, 0xa5bfefb3
je 0x1003e91f
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd4]
inc edx
mov edi, dword [ebp - 0xbc]
add ecx, 0x3c
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd4], ecx
cmp edx, dword [eax + 4]
jl 0x1003e870
mov eax, dword [0x103bf630]
mov ecx, edi
mov dword [ebp - 0xc4], eax
jmp 0x1003e82a
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x2c]
mov eax, dword [0x103bf630]
add ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
jmp 0x1003e82a
mov eax, dword [0x103bf630]
mov ecx, edi
jmp 0x1003e82a
mov eax, dword [0x103bf630]
mov ecx, dword [0x103c3b94]
mov dword [ebp - 0xc4], eax
mov esi, dword [ebp - 0xf0]
mov esi, dword [ecx + esi]
mov dword [ebp - 0xdc], esi
test dl, 1
jne 0x1003e9fc
or edx, 1
mov dword [0x103c3bdc], edx
mov dword [ebp - 4], 4
cmp eax, dword [0x103bf634]
je 0x1003e9e7
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1003e9d6
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003e9a6
xor edx, edx
test ecx, ecx
je 0x1003e9d6
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003e9b3
cmp esi, 0x1eee87cc
je 0x1003ea8d
mov eax, dword [ebp - 0xc4]
add eax, 4
mov dword [ebp - 0xc4], eax
cmp eax, dword [0x103bf634]
jne 0x1003e990
xor ecx, ecx
mov esi, dword [ebp - 0xdc]
mov dword [0x103c3b94], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd8]
cmp esi, dword [eax + ecx]
je 0x1003f62e
mov eax, dword [0x110e9920]
test al, 1
jne 0x1003ea37
or eax, 1
mov dword [0x110e9920], eax
push 0x10278990
mov dword [ebp - 4], 5
call fcn.102354eb
add esp, 4
mov dword [ebp - 4], 0xffffffff
movd xmm0, dword [0x103a7d00]
lea eax, [ebp - 0x7c]
cvtdq2ps xmm0, xmm0
push eax
mov ecx, 0x10323b20
mulss xmm0, dword [0x1030b714]
movss dword [ebp - 0xc8], xmm0
call fcn.10042da0
mov dword [ebp - 4], 6
lea esi, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
mov eax, accept
mov ecx, dword [0x103f830c]
cmovae esi, dword [ebp - 0x7c]
sub eax, ecx
cmp eax, 1
jb 0x1003f64e
jmp 0x1003eb6a
mov eax, dword [ebp - 0xbc]
xor edi, edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xcc], edi
cmp dword [eax + 4], edi
jle 0x1003eb4f
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 0x1003eaef
cmp dword [ecx + 4], 0
jle 0x1003eaef
push 0
mov edx, 0xa5bfefb3
call fcn.1013c990
add esp, 4
test eax, eax
je 0x1003eae9
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 0x1003eaf8
xor edx, edx
test ecx, ecx
je 0x1003eb24
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003eb05
cmp edi, 0xa5bfefb3
je 0x1003eb56
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd4]
inc edx
mov edi, dword [ebp - 0xc8]
add ecx, 0x3c
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd4], ecx
cmp edx, dword [eax + 4]
jl 0x1003eab2
mov ecx, edi
jmp 0x1003e9e9
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp - 0xc8]
jmp 0x1003e9e9
cmp dword [0x103f8310], 0x10
mov eax, 0x103f82fc
push 1
cmovae eax, dword [0x103f82fc]
push 0x103047cc
push ecx
push eax
push ecx
push dword [ebp - 0xe4]
lea ecx, [ebp - 0xb8]
call fcn.10049160
push 0x103a7d04
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.10044b40
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.10044b40
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.1002aa60
lea ecx, [ebp - 0xb8]
call fcn.1002aa60
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
call fcn.1002aa60
mov eax, dword [0x103a7cfc]
test eax, eax
je 0x1003f193
cmp eax, 1
je 0x1003eff1
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x44]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ec70
sub ecx, esi
push ecx
push edx
call fcn.10234895
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.10134d00
add esp, 8
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.10135790
lea ecx, [ebp - 0x60]
mov byte [ebp - 0xbd], al
mov byte [ebp - 4], 0xc
call fcn.10137370
cmp byte [ebp - 0xbd], 0
je 0x1003eff1
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov ecx, 0x10323b48
push eax
call fcn.100463a0
cmp dword [0x10323b58], 0
jbe 0x1003f193
push 0x10323b48
lea ecx, [ebp - 0x60]
call fcn.10044de0
sub esp, 8
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1a8]
push 0x20
push eax
call fcn.100428a0
push 2
sub esp, 8
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1a8]
call fcn.10043940
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.10043840
mov edi, dword [eax + 8]
add edi, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
push edi
mov dword [ebp - 0xe4], ecx
call fcn.10235548
mov ecx, eax
add esp, 4
shr eax, 0x18
mov dword [ebp - 0xcc], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0xd4], eax
mov eax, ecx
push 0
sub esp, 8
mov dword [ebp - 0xbc], ecx
shr eax, 8
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xc4], eax
call fcn.10043940
mov eax, edi
lea ecx, [ebp - 0x1a8]
cdq
push edx
push eax
push dword [ebp - 0xbc]
call fcn.10043a80
mov al, byte [ebp - 0xbc]
lea ecx, [ebp - 0x198]
mov byte [ebp - 0xbd], al
call fcn.10046130
test eax, eax
jne 0x1003ee01
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a8]
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.1003d490
mov al, byte [ebp - 0xbc]
mov byte [ebp - 0xbd], al
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x1a8]
call fcn.1003e490
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.1002aa60
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 - 0xd4]
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 - 0xe8]
push eax
call fcn.100496b0
cmp dword [eax + 4], 0
jne 0x1003eef2
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10048090
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 0x1003eebc
lea eax, [edi + esi]
mov dword [ecx + 4], eax
jmp 0x1003eef2
jbe 0x1003eef2
mov eax, dword [ecx + 8]
sub eax, esi
cmp edi, eax
jbe 0x1003eed0
push ecx
push edi
call fcn.10049b20
jmp 0x1003eef2
mov ecx, dword [ebp - 0xd8]
mov eax, edi
sub eax, edx
push eax
push 0
push ecx
lea esi, [eax + ecx]
call fcn.102372c0
mov eax, dword [ebp - 0xdc]
add esp, 0xc
mov dword [eax + 4], esi
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10048090
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 0x1003efe2
push edi
push dword [ebp - 0xbc]
push dword [ebp - 0xc4]
call fcn.10237420
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 0x1003efe2
mov ecx, dword [ebp - 0xc4]
add ecx, 2
cmp byte [ecx - 2], 0x64
jne 0x1003ef79
cmp byte [ecx - 1], 0x61
jne 0x1003ef79
cmp byte [ecx], 0x74
jne 0x1003ef79
cmp byte [ecx + 1], 0x61
je 0x1003ef8e
inc esi
inc ecx
cmp esi, eax
jl 0x1003ef62
push 5
push 0
push dword [ebp - 0xc4]
jmp 0x1003f18d
test esi, esi
je 0x1003efe2
mov ecx, dword [ebp - 0xc4]
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 0x1003efe2
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xd8]
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 0x1003efe2
inc edx
cmp edx, esi
jb 0x1003efc0
push 5
push 0
push dword [ebp - 0xc4]
jmp 0x1003f18d
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 - 0xe8]
push eax
call fcn.100496b0
cmp dword [eax + 4], 0
jne 0x1003f0bd
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10048090
mov edi, dword [eax]
mov esi, dword [edi + 0x10]
mov ecx, esi
mov edx, dword [edi + 0xc]
sub ecx, edx
cmp ecx, 0xfcbc
jbe 0x1003f085
lea eax, [edx + 0xfcbc]
mov dword [edi + 0x10], eax
jmp 0x1003f0bd
jae 0x1003f0bd
mov eax, dword [edi + 0x14]
sub eax, edx
cmp eax, 0xfcbc
jae 0x1003f0a3
push ecx
push 0xfcbc
lea ecx, [edi + 0xc]
call fcn.10049b20
jmp 0x1003f0bd
mov eax, 0xfcbc
sub eax, ecx
push eax
push 0
push dword [edi + 0x10]
add esi, eax
call fcn.102372c0
add esp, 0xc
mov dword [edi + 0x10], esi
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10048090
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 0x1003f188
push 0xfcbc
push dword [ebp - 0xbc]
push edi
call fcn.10237420
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 0x1003f12e
cmp byte [eax - 1], 0x61
jne 0x1003f12e
cmp byte [eax], 0x74
jne 0x1003f12e
cmp byte [eax + 1], 0x61
je 0x1003f13a
inc ecx
inc eax
cmp ecx, 0x7e5e
jl 0x1003f117
jmp 0x1003f188
test ecx, ecx
je 0x1003f188
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x1003f188
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 0x1003f182
inc edx
cmp edx, esi
jb 0x1003f160
mov edi, dword [ebp - 0xdc]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp dword [0x103a7cd4], 0
jne 0x1003f1c8
cmp byte [0x103a7ce8], 0
jne 0x1003f1c8
mov ecx, dword [ebp - 0xec]
mov eax, dword [ecx + 0x31c]
cmp eax, dword [ecx + 0x320]
je 0x1003f626
mov dword [ecx + 0x320], eax
jmp 0x1003f626
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 - 0xe4], xmm0
movss xmm0, dword [0x1030bc10]
movss dword [ebp - 0xd4], xmm0
call fcn.1023af68
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
movd xmm2, eax
mov eax, dword [ebp - 0xec]
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 [0x1030b6fc]
imul ecx
movss dword [ebp - 0xc8], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003f626
mov ecx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd0], ecx
movss xmm0, dword [eax + esi + 0x14]
addss xmm0, dword [0x1030b904]
comiss xmm2, xmm0
jbe 0x1003f449
lea ecx, [eax + esi]
lea eax, [ecx + 0x24]
sub edi, eax
push edi
push eax
push ecx
call fcn.10237420
mov eax, dword [ebp - 0xec]
add esp, 0xc
movss xmm1, dword [ebp - 0xd4]
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 - 0xec]
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 0x1003f282
ucomiss xmm1, dword [0x1030bc10]
lahf
test ah, 0x44
jnp 0x1003f626
mov ecx, dword [ebp - 0xec]
lea ecx, [ecx + 0x31c]
call fcn.1003f660
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, 0x10323bf8
call fcn.10043190
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x4c], 0x10
push 0
cmovae eax, dword [ebp - 0x60]
push eax
call esi
lea ecx, [ebp - 0x60]
mov dword [edi], eax
mov byte [ebp - 4], 0xc
call fcn.1002aa60
movss xmm0, dword [ebp - 0xc8]
mov eax, dword [0x103c3c0c]
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 0x1003f615
or eax, 1
mov dword [0x103c3c0c], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x103bf630]
mov dword [ebp - 0xd0], eax
cmp eax, dword [0x103bf634]
je 0x1003f437
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1003f426
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003f3f6
xor edx, edx
test ecx, ecx
je 0x1003f426
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003f403
cmp esi, 0x72e242a1
je 0x1003f521
mov eax, dword [ebp - 0xd0]
add eax, 4
mov dword [ebp - 0xd0], eax
cmp eax, dword [0x103bf634]
jne 0x1003f3e0
mov edi, dword [ebp - 0xd8]
xor eax, eax
mov dword [0x103c3bcc], eax
jmp 0x1003f61a
movss xmm0, dword [ebp - 0xd8]
subss xmm0, dword [eax + esi + 0x1c]
movss xmm1, dword [0x1030b8c0]
call fcn.1002eb90
mov eax, dword [ebp - 0xc4]
movss xmm1, dword [0x1030b8c0]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0xdc]
subss xmm0, dword [eax + esi + 0x18]
call fcn.1002eb90
movss xmm1, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0xe4]
subss xmm0, dword [eax + esi + 0x20]
movss dword [ebp - 0xcc], xmm1
movss xmm1, dword [0x1030b8c0]
call fcn.1002eb90
addss xmm0, dword [ebp - 0xcc]
call fcn.1000e050
movss xmm1, dword [ebp - 0xd4]
comiss xmm1, xmm0
ja 0x1003f4ed
ucomiss xmm1, dword [0x1030bc10]
lahf
test ah, 0x44
jp 0x1003f2c7
mov eax, dword [ebp - 0xc4]
movaps xmm1, xmm0
movss dword [ebp - 0xd4], xmm1
movups xmm0, xmmword [eax + esi]
mov ecx, dword [eax + esi + 0x20]
mov dword [ebp - 0xd0], ecx
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [eax + esi + 0x10]
movups xmmword [ebp - 0x78], xmm0
jmp 0x1003f2cd
mov eax, dword [ebp - 0xbc]
xor edi, edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd0], edi
cmp dword [eax + 4], edi
jle 0x1003f5ea
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0xe4], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1003f583
cmp dword [ecx + 4], 0
jle 0x1003f583
push 0
mov edx, 0x84cdad2
call fcn.1013c990
add esp, 4
test eax, eax
je 0x1003f57d
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 0x1003f590
xor edx, edx
test ecx, ecx
je 0x1003f5bf
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003f5a0
cmp esi, 0x84cdad2
je 0x1003f5f9
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
inc edx
mov edi, dword [ebp - 0xc8]
add ecx, 0x3c
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], ecx
cmp edx, dword [eax + 4]
jl 0x1003f546
mov eax, edi
mov edi, dword [ebp - 0xd8]
mov dword [0x103c3bcc], eax
jmp 0x1003f61a
mov eax, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xd8]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0xc8]
mov dword [0x103c3bcc], eax
jmp 0x1003f61a
mov eax, dword [0x103c3bcc]
mov esi, dword [ebp - 0xf0]
mov eax, dword [eax + esi]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x44]
call fcn.1002aa60
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.1023505f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1000e320
int3