Function at 0x466ca0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x495c97
push eax
mov eax, 0x2538
mov dword fs:[0], esp
call fcn.004724a0
push ebx
push ebp
push esi
push edi
call fcn.0044bde0
xor ebx, ebx
test eax, eax
je 0x466d64
push ebx
lea eax, [esp + 0x198]
push str.CSetupFilesInfo::GetWaveFileName_n
push eax
call fcn.00471c30
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x398]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x398]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x194]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x398]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2550], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
push 0xa
lea ecx, [esp + 0x38]
mov byte [esp + 0x2554], 3
call fcn.00481a49
lea ecx, [esp + 0x294]
push 0x104
push ecx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, dword [esp + 0x2558]
mov dword [esp + 0x1a54], ebx
mov dword [esp + 0x1a5c], ebx
lea esi, [edx + 8]
mov dword [esp + 0x1a60], ebx
mov dword [esp + 0x1a68], ebx
lea ecx, [esp + 0x1b78]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1d70]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x2550], 7
mov eax, dword [eax - 8]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x1a58]
call fcn.0041d6a0
mov edi, dword [esp + 0x2558]
mov byte [esp + 0x2550], 8
mov ecx, dword [edi + 0x2c]
lea esi, [edi + 0x2c]
mov eax, dword [ecx - 8]
lea ecx, [edi + 0xc]
cmp eax, ebx
je 0x466fb2
mov edx, dword [ecx]
mov eax, dword [edx - 8]
lea edx, [esp + 0x90]
push edx
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x1a5c]
call fcn.0041f8d0
test eax, eax
je 0x46762c
lea eax, [esp + 0x90]
lea ecx, [esp + 0x2c]
push eax
call fcn.004823c5
mov dword [esp + 0x598], ebx
mov dword [esp + 0x5a0], ebx
mov dword [esp + 0x5a4], ebx
mov dword [esp + 0x5ac], ebx
lea ecx, [esp + 0x6bc]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x8b4]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
mov byte [esp + 0x2550], 0xb
mov eax, dword [ecx - 8]
mov ecx, esi
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x59c]
call fcn.0041d6a0
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x30]
mov eax, dword [edx - 8]
mov byte [esp + 0x2554], 0xc
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x5a0]
call fcn.0041ea70
test eax, eax
je 0x466f0e
lea edx, [esp + 0x90]
lea ecx, [esp + 0x20]
push edx
call fcn.004823c5
mov ebp, 1
lea ecx, [esp + 0x598]
mov byte [esp + 0x2550], 8
call fcn.0041cf30
cmp ebp, ebx
je 0x46762c
mov edi, dword [esp + 0x2558]
push 0x5f
push 0x20
lea ecx, [esp + 0x28]
call fcn.00480ec3
lea ecx, [esp + 0x20]
call fcn.0048273e
mov eax, dword [edi + 0x60]
cmp eax, 7
je 0x466ff0
cmp eax, 8
je 0x466ff0
push 0x4ac194
lea ecx, [esp + 0x18]
call fcn.004822f6
push eax
lea ecx, [esp + 0x2c]
push edi
push ecx
mov byte [esp + 0x255c], 0x10
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2554], 0x11
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x2550], 0x10
call fcn.00482288
mov byte [esp + 0x2550], 8
lea ecx, [esp + 0x14]
jmp 0x46706d
mov eax, dword [ecx]
lea edx, [esp + 0x90]
push edx
mov eax, dword [eax - 8]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x1a5c]
call fcn.0041ea70
test eax, eax
je 0x46762c
lea eax, [esp + 0x90]
lea ecx, [esp + 0x20]
push eax
call fcn.004823c5
jmp 0x466f31
push str.INFOTHER.INF
lea ecx, [esp + 0x28]
call fcn.004822f6
mov esi, eax
lea edx, [esp + 0x294]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0x2554], 0xd
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x2558], 0xe
push eax
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2554], 0xf
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x2550], 0xe
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x2550], 0xd
call fcn.00482288
mov byte [esp + 0x2550], 8
lea ecx, [esp + 0x24]
call fcn.00482288
push 0xa
lea ecx, [esp + 0x54]
call fcn.00481a49
lea ecx, [esp + 0x10]
mov byte [esp + 0x2550], 0x12
push ecx
lea ecx, [esp + 0x54]
call fcn.00401570
mov eax, dword [esp + 0x54]
mov byte [esp + 0x2550], 0x13
cmp eax, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x30], eax
je 0x4674c8
jmp 0x4670b8
mov edi, dword [esp + 0x2558]
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
jne 0x4672de
lea edx, [esp + 0x30]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x58]
call fcn.004014e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2554], 0x14
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x2550], 0x13
call fcn.00482288
mov dword [esp + 0x598], ebx
mov dword [esp + 0x5a0], ebx
mov dword [esp + 0x5a4], ebx
mov dword [esp + 0x5ac], ebx
lea ecx, [esp + 0x6bc]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x8b4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x2550], 0x17
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x59c]
call fcn.0041d6a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2550], 0x18
call fcn.00481a88
lea ecx, [esp + 0x108c]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1284]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x108c]
lea ecx, [esp + 0x598]
push edx
mov byte [esp + 0x2554], 0x19
call fcn.0041eb70
cmp dword [esp + 0x108c], ebx
jne 0x4671b0
mov dword [esp + 0x14], ebx
jmp 0x4671e7
lea ecx, [esp + 0x1090]
lea eax, [esp + 0x1090]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x4671e7
lea edx, [esp + 0x14]
lea ecx, [esp + 0x108c]
push edx
call fcn.0044fab0
push eax
lea ecx, [esp + 0x38]
call fcn.00481b86
cmp dword [esp + 0x14], ebx
jne 0x4671c6
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x108c]
mov byte [esp + 0x2550], 0x18
call fcn.0040f800
cmp esi, ebx
je 0x4672b9
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x4672b9
cmp ebp, ebx
jne 0x4672b9
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x18]
push eax
call fcn.00482375
lea ecx, [esp + 0x18]
call fcn.0048273e
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
call fcn.00481260
cmp eax, 0xffffffff
je 0x4672b1
mov edi, dword [esp + 0x2558]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0x54]
call fcn.00482375
lea edx, [esp + 0x18]
lea ecx, [edi + 0x58]
push edx
call fcn.00482375
call fcn.0044bde0
test eax, eax
je 0x4672a5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x19c]
push str.csWaveFileName___s__csWaveBusTypeAndDeviceID___s_n
push edx
call fcn.00471c30
add esp, 0x10
lea eax, [esp + 0x194]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x1c]
cmp esi, ebx
jne 0x467213
lea ecx, [esp + 0x598]
mov byte [esp + 0x2550], 0x13
call fcn.0041cf30
cmp dword [esp + 0x30], ebx
jne 0x4670b1
mov edi, dword [esp + 0x2558]
call fcn.0046c5b0
test eax, eax
jne 0x467619
cmp ebp, ebx
jne 0x467619
mov edi, dword [edi + 0x60]
cmp edi, 7
je 0x467304
cmp edi, 8
jne 0x467619
push str.INF.INF
lea ecx, [esp + 0x20]
call fcn.004822f6
mov esi, eax
lea ecx, [esp + 0x294]
mov byte [esp + 0x2550], 0x1a
push ecx
lea ecx, [esp + 0x18]
call fcn.004822f6
push esi
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x255c], 0x1b
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2554], 0x1c
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x2550], 0x1b
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x2550], 0x1a
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2550], 0x13
call fcn.00482288
push 0xa
lea ecx, [esp + 0x74]
call fcn.00481a49
lea eax, [esp + 0x10]
lea ecx, [esp + 0x70]
push eax
mov byte [esp + 0x2554], 0x1d
call fcn.00401570
mov eax, dword [esp + 0x74]
mov byte [esp + 0x2550], 0x1e
cmp eax, ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x28], eax
je 0x467608
cmp ebp, ebx
jne 0x467608
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.004014e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2554], 0x1f
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x2550], 0x1e
call fcn.00482288
mov dword [esp + 0x598], ebx
mov dword [esp + 0x5a0], ebx
mov dword [esp + 0x5a4], ebx
mov dword [esp + 0x5ac], ebx
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x6c0]
mov dword [esp + 0x6bc], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x8b4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2550], 0x22
mov eax, dword [eax - 8]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x59c]
call fcn.0041d6a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2550], 0x23
call fcn.00481a88
lea ecx, [esp + 0x108c]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1284]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x108c]
mov byte [esp + 0x2550], 0x24
push ecx
lea ecx, [esp + 0x59c]
call fcn.0041eb70
cmp dword [esp + 0x108c], ebx
jne 0x4674d1
mov dword [esp + 0x14], ebx
jmp 0x467518
mov ebp, dword [esp + 0x1c]
jmp 0x4672de
lea eax, [esp + 0x1090]
lea edx, [esp + 0x1090]
test eax, eax
mov dword [esp + 0x14], edx
je 0x467518
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1090]
call fcn.00404d60
cmp eax, 0xffffffff
je 0x467506
mov eax, dword [esp + eax*4 + 0x1284]
jmp 0x467508
xor eax, eax
push eax
lea ecx, [esp + 0x38]
call fcn.00481b86
cmp dword [esp + 0x14], ebx
jne 0x4674e7
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x108c]
mov byte [esp + 0x2550], 0x23
call fcn.0040f800
cmp esi, ebx
je 0x4675ea
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x4675ea
cmp ebp, ebx
jne 0x4675ea
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x18]
push eax
call fcn.00482375
lea ecx, [esp + 0x18]
call fcn.0048273e
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
call fcn.00481260
cmp eax, 0xffffffff
je 0x4675e2
mov edi, dword [esp + 0x2558]
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x54]
call fcn.00482375
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 0x58]
call fcn.00482375
call fcn.0044bde0
test eax, eax
je 0x4675d6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x19c]
push str.csWaveFileName___s__csWaveBusTypeAndDeviceID___s_n
push ecx
call fcn.00471c30
add esp, 0x10
lea edx, [esp + 0x194]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x1c]
cmp esi, ebx
jne 0x467544
lea ecx, [esp + 0x598]
mov byte [esp + 0x2550], 0x1e
call fcn.0041cf30
cmp dword [esp + 0x28], ebx
jne 0x4673c6
lea ecx, [esp + 0x70]
mov byte [esp + 0x2550], 0x13
call fcn.00481abd
lea ecx, [esp + 0x50]
mov byte [esp + 0x2550], 8
call fcn.00481abd
jmp 0x467630
mov ebp, dword [esp + 0x1c]
call fcn.0044bde0
test eax, eax
je 0x4676cf
push ebp
lea eax, [esp + 0x94]
push str.CSetupFilesInfo::GetWaveFileName_:_bRetVal___d_n
push eax
call fcn.00471c30
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x498]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x498]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x90]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x498]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x1a54]
mov byte [esp + 0x2550], 4
call fcn.0041cf30
lea ecx, [esp + 0x34]
mov byte [esp + 0x2550], 3
call fcn.00481abd
lea ecx, [esp + 0x20]
mov byte [esp + 0x2550], 2
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x2550], 1
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2550], bl
call fcn.00482288
lea ecx, [esp + 0x10]
mov dword [esp + 0x2550], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x2548]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2544
ret 4