Function at 0x438f30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1cbc
call fcn.0059fbd0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
lea eax, [ebp - 0x250]
call fcn.0040171e
lea eax, [ebp - 0x250]
push eax
call fcn.0058fe0e
pop ecx
mov ecx, str..wav
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x438faa
push edi
lea eax, [ebp - 4]
push eax
call fcn.00517644
push eax
mov edi, esi
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, esi
call fcn.00405d4e
test al, al
jne 0x439338
and dword [ebx], 0
mov eax, ebx
jmp 0x439f8d
mov ecx, str..mp3
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x438fc9
push edi
lea edi, [ebp - 4]
call fcn.004feddb
jmp 0x438f81
mov ecx, str..aif
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439329
mov ecx, str..aiff
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439329
mov ecx, str..aifc
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439329
mov ecx, 0x5be714
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439033
push edi
lea edi, [ebp - 4]
call fcn.004d9c31
jmp 0x438f81
mov ecx, 0x5be064
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439059
push edi
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
call fcn.004d9e7b
jmp 0x438f81
mov ecx, 0x5be130
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x43907b
push edi
lea eax, [ebp - 4]
call fcn.004faecc
jmp 0x438f81
mov ecx, 0x5bd530
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x43909f
lea eax, [ebp - 4]
push eax
mov eax, edi
call fcn.004f0ba0
jmp 0x438f81
mov ecx, 0x5be728
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x4390fd
lea eax, [ebp - 0x20]
call fcn.0040936f
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
mov cl, byte [eax]
test cl, cl
mov byte [eax], 0
je 0x4390eb
mov edx, dword [edx + 8]
push 0x5bbe40
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.004092ea
test al, al
jne 0x4390eb
mov dword [ebx], 1
jmp 0x438fa3
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
call fcn.00508629
jmp 0x438f81
mov ecx, 0x5c1f00
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x43916e
mov eax, edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x660]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
call fcn.00441117
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
jne 0x43913d
mov dword [ebx], eax
jmp 0x438fa3
cmp dword [ebp - 4], 0
jne 0x439338
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 4]
call fcn.00517c36
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, edi
jmp 0x438f93
mov ecx, 0x5c1f30
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x43920c
push edi
lea eax, [ebp - 4]
push eax
call fcn.00514ebb
push eax
mov edi, esi
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, esi
call fcn.00405d4e
test al, al
je 0x438fa0
mov esi, dword [esi]
test esi, esi
je 0x4391ba
mov al, byte [esi + 0xd]
jmp 0x4391bc
mov al, 1
cmp al, 5
jne 0x439338
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x660]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
call fcn.00441184
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
je 0x439136
cmp dword [ebp - 4], 0
jne 0x439338
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 4]
call fcn.00517c36
jmp 0x439159
mov ecx, 0x5be650
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x4392d4
mov ecx, str..snd
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x4392d4
mov ecx, 0x5c1f6c
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x43925f
push edi
lea eax, [ebp - 4]
push eax
call fcn.004fe79b
jmp 0x438f81
mov ecx, str..mid
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x4392c2
mov ecx, str..midi
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x4392c2
mov ecx, str..smf
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x4392c2
mov ecx, 0x5c1fdc
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439338
push edi
lea eax, [ebp - 4]
push eax
call fcn.004e84b3
jmp 0x438f81
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push edi
push eax
call fcn.0046e6bc
jmp 0x438f81
push 3
push 1
push 0xac44
mov edi, str.RawAudio
lea esi, [ebp - 0x20]
call fcn.00408d72
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov cl, byte [eax]
test cl, cl
mov byte [eax], 0
je 0x439315
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
push 0x5bbe40
push eax
mov eax, esi
push eax
call fcn.00408e9b
test al, al
je 0x4390e0
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
call fcn.00508629
jmp 0x439156
push edi
lea eax, [ebp - 4]
push eax
call fcn.004d7a40
jmp 0x438f81
mov ecx, str..mp1
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439360
mov ecx, str..mp2
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439373
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.00528d54
test al, al
jne 0x438fa0
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xe80]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and word [ebp - 0xc78], 0
lea eax, [ebp - 0xc78]
push eax
lea eax, [ebp - 0xe80]
call fcn.00401016
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x660]
push str.Temp_d.wav
push eax
call fcn.00401000
add esp, 0xc
push 0x5b07d8
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0xc78]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.004a2dab
lea eax, [ebp - 0x458]
push eax
lea esi, [ebp - 8]
call fcn.004a2b6c
test al, al
je 0x43941e
lea eax, [ebp - 0x458]
push eax
call fcn.00401b98
test al, al
je 0x439421
lea eax, [ebp - 0x458]
push eax
call fcn.004a29dc
test al, al
jne 0x43941e
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x439421
inc edi
jmp 0x4393a6
mov ecx, 0x5bd430
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439471
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
call fcn.004ed599
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, edi
call fcn.00405d4e
test al, al
jne 0x439471
and dword [ebx], 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x438fa3
mov ecx, 0x5c1f0c
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x4394d9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
call fcn.004411f1
mov eax, dword [ebp - 4]
test eax, eax
je 0x4394ae
mov dword [ebx], eax
jmp 0x439463
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 4]
call fcn.00517c36
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, edi
call fcn.00405d4e
test al, al
je 0x439460
mov ecx, str..act
lea eax, [ebp - 0x250]
mov byte [ebp - 0x11], 1
call fcn.0040106a
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0x10]
jne 0x43953d
push edi
lea esi, [ebp - 4]
call fcn.00401fa9
cmp dword [ebp - 4], 0xffffffff
je 0x43953d
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
call fcn.00401f65
cmp eax, 4
jne 0x439538
cmp byte [ebp - 0xc], 0x52
jne 0x439538
cmp byte [ebp - 0xb], 0x49
jne 0x439538
cmp byte [ebp - 0xa], 0x46
jne 0x439538
cmp byte [ebp - 9], 0x46
jne 0x439538
mov byte [ebp - 0x11], 0
push dword [ebp - 4]
call ebx
mov ecx, 0x5be708
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, str..aac
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, str..oga
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, str..ogg
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, str..m4a
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, str..m4b
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, 0x5be6e4
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, 0x5bcb90
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, str..rec
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, str..rcd
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, 0x5bd59c
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, str..sd2
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, 0x5bd560
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
cmp byte [ebp - 0x11], 0
je 0x439693
mov ecx, str..act
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, 0x5bd590
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, 0x5be6fc
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
mov ecx, 0x5be6f0
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439d0f
lea eax, [ebp - 0x250]
push eax
mov eax, edi
call fcn.0050f43a
test al, al
je 0x439896
lea eax, [ebp - 0x458]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
mov dword [ebp - 0x28], edi
call fcn.0044125e
mov eax, dword [eax]
test eax, eax
je 0x439727
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x4397ed
mov esi, dword [ebp + 8]
mov dword [esi], ecx
jmp 0x439f86
lea eax, [ebp - 0x458]
push eax
lea esi, [ebp - 0xc]
call fcn.00401f86
mov eax, esi
push eax
call fcn.004019d3
or eax, edx
je 0x4397e2
push 3
push 1
push 0xac44
mov edi, str.RawAudio
lea esi, [ebp - 0x38]
call fcn.00408d72
push 3
push 1
push 0xac44
lea esi, [ebp - 0x20]
call fcn.00408d72
mov dword [ebp - 0x20], 0xac44
mov byte [ebp - 0x1c], 2
mov edi, str.RawAudio
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1b], 3
call fcn.00408e1d
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00508629
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov edi, str.RawAudio
lea esi, [ebp - 0x38]
call fcn.00408e1d
mov eax, dword [ebp + 0xc]
call fcn.00405d4e
test al, al
jne 0x4397e2
mov esi, dword [ebp + 8]
and dword [esi], 0
cmp dword [ebp - 0xc], 0xffffffff
je 0x439f86
push dword [ebp - 0xc]
call ebx
jmp 0x439f86
cmp dword [ebp - 0xc], 0xffffffff
je 0x4397ed
push dword [ebp - 0xc]
call ebx
push dword [ebp + 0x10]
call fcn.004fa846
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x1cb8]
push eax
call fcn.0046cd25
lea eax, [ebp - 0x1cb8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
call fcn.00441559
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
je 0x4398d0
cmp dword [ebp - 4], 0
je 0x439a5f
mov ecx, str..wmv
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439860
mov ecx, 0x5bcb30
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439d62
push dword [ebp + 0x10]
lea eax, [ebp - 0x48]
push eax
call fcn.00473dc9
cmp byte [ebp - 0x30], 0
je 0x439d5a
cmp byte [ebp - 0x2f], 0
je 0x439d5a
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
mov dword [esi], 2
call fcn.00407c55
jmp 0x439f86
mov ecx, 0x5be6d8
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439930
lea eax, [ebp - 0x458]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
mov dword [ebp - 0x28], edi
call fcn.004412cb
mov eax, dword [ebp - 4]
test eax, eax
je 0x4398da
mov esi, dword [ebp + 8]
mov dword [esi], eax
jmp 0x439f86
lea eax, [ebp - 0x458]
push eax
lea esi, [ebp - 0xc]
call fcn.00401f86
mov eax, esi
push eax
call fcn.004019d3
or eax, edx
je 0x4397e2
push 3
push 1
push 0xac44
mov edi, str.RawAudio
lea esi, [ebp - 0x38]
call fcn.00408d72
push 3
push 1
push 0xac44
lea esi, [ebp - 0x20]
call fcn.00408d72
mov dword [ebp - 0x20], 0x1f40
mov byte [ebp - 0x1c], 1
jmp 0x439778
mov ecx, 0x5bed90
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439a04
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x458]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
mov dword [ebp - 0x2c], edi
call fcn.00441338
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
je 0x4398d0
cmp dword [ebp - 4], 0
jne 0x4397ed
push 3
push eax
push 0xac44
mov edi, str.RawAudio
lea esi, [ebp - 0x38]
call fcn.00408d72
push 3
push 1
push 0xac44
lea esi, [ebp - 0x20]
call fcn.00408d72
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 1
mov dword [ebp - 0x1b], 3
call fcn.00408e1d
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00508629
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov edi, str.RawAudio
lea esi, [ebp - 0x38]
call fcn.00408e1d
mov eax, dword [ebp + 0xc]
call fcn.00405d4e
test al, al
jne 0x4397ed
mov esi, dword [ebp + 8]
and dword [esi], 0
jmp 0x439f86
mov ecx, 0x5bef80
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439aa5
lea eax, [ebp - 0xa70]
push eax
mov eax, edi
call fcn.00401016
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x458]
call fcn.00401016
push dword [ebp + 0x14]
lea eax, [ebp - 0xa70]
lea esi, [ebp - 4]
call fcn.00409b53
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
je 0x4398d0
cmp dword [ebp - 4], 0
jne 0x439a93
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 4]
call fcn.00517c36
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, edi
call fcn.00405d4e
test al, al
jne 0x439834
jmp 0x4399f9
call fcn.00470419
test eax, eax
jg 0x439834
jmp 0x439f7d
mov ecx, str..dvs
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439b58
push edi
lea esi, [ebp - 0x44]
call fcn.00434bf7
lea eax, [ebp - 0x458]
push eax
lea esi, [ebp - 0x38]
call fcn.00434bf7
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
call fcn.004413a5
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
jne 0x439b08
mov esi, dword [ebp + 8]
mov dword [esi], eax
push dword [ebp - 0x38]
call fcn.0058f8c9
pop ecx
push dword [ebp - 0x44]
call fcn.0058f8c9
pop ecx
jmp 0x439f86
cmp dword [ebp - 4], 0
jne 0x439b41
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 4]
call fcn.00517c36
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, edi
call fcn.00405d4e
test al, al
jne 0x439b41
mov esi, dword [ebp + 8]
and dword [esi], 0
jmp 0x439af1
push dword [ebp - 0x38]
call fcn.0058f8c9
pop ecx
push dword [ebp - 0x44]
call fcn.0058f8c9
pop ecx
jmp 0x439834
mov ecx, 0x5c1f3c
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439834
mov ecx, str..ram
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439834
mov ecx, 0x5c1f50
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439834
mov ecx, str..rmj
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439834
mov ecx, str..ac3
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439834
mov ecx, str..cda
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439c69
lea eax, [ebp - 0x458]
push eax
push dword [ebp + 0x10]
lea esi, [ebp - 0x870]
call fcn.004091cd
mov eax, esi
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
call fcn.00441412
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
jne 0x439c23
mov esi, dword [ebp + 8]
mov dword [esi], eax
push dword [ebp - 0x664]
jmp 0x4397db
cmp dword [ebp - 4], 0
jne 0x439c5c
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 4]
call fcn.00517c36
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, edi
call fcn.00405d4e
test al, al
jne 0x439c5c
mov esi, dword [ebp + 8]
and dword [esi], 0
jmp 0x439c18
push dword [ebp - 0x664]
call ebx
jmp 0x439834
mov ecx, 0x5c1f64
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
jne 0x439ca0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
call fcn.0044147f
jmp 0x43981e
lea eax, [ebp - 0x250]
push eax
call fcn.0050b07e
test al, al
je 0x4397ed
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
call fcn.004414ec
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
je 0x4398d0
cmp dword [ebp - 4], 0
jne 0x4397ed
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 4]
call fcn.00517c36
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp - 4]
call fcn.0050a40d
mov eax, edi
jmp 0x4399ec
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
call dword [eax]
test al, al
je 0x439d28
mov esi, dword [ebp + 8]
mov dword [esi], 1
jmp 0x439f86
lea eax, [ebp - 0x458]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 0x14]
lea esi, [ebp - 4]
mov dword [ebp - 0x28], edi
call fcn.0044125e
mov eax, dword [eax]
test eax, eax
jne 0x439712
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
call dword [eax]
test al, al
je 0x439ce8
jmp 0x439d1a
lea eax, [ebp - 0x48]
call fcn.00407c55
mov ecx, str..mpdp
lea eax, [ebp - 0x250]
call fcn.0040106a
test eax, eax
je 0x439f7d
lea eax, [ebp - 0x868]
push eax
push dword [ebp + 0x14]
call fcn.005205fc
test al, al
je 0x439f7d
push 0x294
call fcn.004a8f86
test eax, eax
pop ecx
je 0x439dac
call fcn.00407755
mov esi, eax
mov dword [ebp - 0xc], eax
jmp 0x439db1
xor esi, esi
mov dword [ebp - 0xc], esi
push 1
push dword [esi + 4]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test al, al
je 0x439f75
lea edi, [ebp - 0x40]
call fcn.004067b1
mov ecx, dword [ebp + 0x10]
lea esi, [ebp - 0x1088]
call fcn.004a2d7d
push 0xffffffffffffffff
push str.SoundStreamIndex
mov eax, esi
push str.FFMPEGAUDIO
mov dword [ebp - 0x40], eax
call fcn.00402277
mov esi, eax
push 0
lea eax, [ebp - 0x660]
push eax
push esi
push dword [ebp - 0xc]
call fcn.005223bb
test al, al
je 0x439f65
cmp word [ebp - 0x660], 0
je 0x439e41
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x660]
push eax
push dword [ebp + 0x14]
call fcn.00402374
test al, al
je 0x439f65
push 0
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00522460
push eax
lea edi, [ebp - 0x3c]
call fcn.0050a441
lea ecx, [ebp + 0x10]
call fcn.0050a40d
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x439e75
cmp byte [esi + 0xd], 0
setne al
jmp 0x439e77
mov al, 1
test al, al
jne 0x439f65
mov ecx, dword [ebp - 0xc]
call fcn.00407876
test al, al
je 0x439f65
test esi, esi
je 0x439e9b
mov al, byte [esi + 8]
mov byte [ebp + 0x10], al
jmp 0x439e9f
mov byte [ebp + 0x10], 1
test esi, esi
je 0x439ea8
mov esi, dword [esi + 4]
jmp 0x439ead
mov esi, 0xac44
push 0xe9
call fcn.004a8f86
pop ecx
mov ecx, eax
test ecx, ecx
je 0x439ed3
push 1
push dword [ebp + 0x10]
lea eax, [ebp - 0x458]
push eax
mov eax, esi
call fcn.0056fce9
jmp 0x439ed5
xor eax, eax
inc word [eax + 0x16]
lea edi, [ebp + 0x10]
lea esi, [ebp - 0x38]
mov dword [ebp + 0x10], eax
call fcn.0050a26c
mov ecx, edi
call fcn.0040602e
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x14]
push eax
call fcn.005080c0
cmp dword [ebp + 0x14], 0
jne 0x439f56
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp + 0x14]
call fcn.00517c36
mov edi, dword [ebp + 0xc]
push eax
call fcn.0050a441
lea ecx, [ebp + 0x14]
call fcn.0050a40d
mov eax, edi
call fcn.00405d4e
test al, al
jne 0x439f65
mov edi, dword [ebp + 8]
and dword [edi], 0
lea ecx, [ebp - 0x38]
call fcn.0040602e
lea ecx, [ebp - 0x3c]
call fcn.0050a40d
lea esi, [ebp - 4]
call fcn.0043e337
push dword [ebp - 8]
call ebx
mov eax, edi
jmp 0x439f8d
xor eax, eax
inc eax
cmp dword [ebp + 0x14], eax
jne 0x439f65
mov edi, dword [ebp + 8]
mov dword [edi], eax
jmp 0x439f35
lea ecx, [ebp - 0x38]
call fcn.0040602e
lea ecx, [ebp - 0x3c]
call fcn.0050a40d
lea esi, [ebp - 4]
call fcn.0043e337
mov esi, dword [ebp + 8]
mov dword [esi], 2
push dword [ebp - 8]
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10