Function at 0x45ac00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x488c67
push eax
mov eax, 0x2538
mov dword fs:[0], esp
call fcn.004660e0
push ebx
push ebp
push esi
push edi
call fcn.00441cf0
xor ebx, ebx
test eax, eax
je 0x45acc4
push ebx
lea eax, [esp + 0x198]
push str.CSetupFilesInfo::GetWaveFileName_n
push eax
call fcn.00465850
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.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x398]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov eax, dword [0x4a6844]
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.00475669
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.00410860
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.0047628c
push eax
lea ecx, [esp + 0x1a58]
call fcn.0041add0
mov edi, dword [esp + 0x2558]
mov byte [esp + 0x2550], 8
mov ecx, dword [edi + 0x1c]
lea esi, [edi + 0x1c]
mov eax, dword [ecx - 8]
lea ecx, [edi + 0xc]
cmp eax, ebx
je 0x45af12
mov edx, dword [ecx]
mov eax, dword [edx - 8]
lea edx, [esp + 0x90]
push edx
push eax
call fcn.0047628c
push eax
lea ecx, [esp + 0x1a5c]
call fcn.0041cf30
test eax, eax
je 0x45b58c
lea eax, [esp + 0x90]
lea ecx, [esp + 0x2c]
push eax
call fcn.00475fe5
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.00410860
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.0047628c
push eax
lea ecx, [esp + 0x59c]
call fcn.0041add0
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.0047628c
push eax
lea ecx, [esp + 0x5a0]
call fcn.0041c0d0
test eax, eax
je 0x45ae6e
lea edx, [esp + 0x90]
lea ecx, [esp + 0x20]
push edx
call fcn.00475fe5
mov ebp, 1
lea ecx, [esp + 0x598]
mov byte [esp + 0x2550], 8
call fcn.0041a660
cmp ebp, ebx
je 0x45b58c
mov edi, dword [esp + 0x2558]
push 0x5f
push 0x20
lea ecx, [esp + 0x28]
call fcn.00474ae3
lea ecx, [esp + 0x20]
call fcn.0047635e
mov eax, dword [edi + 0x50]
cmp eax, 7
je 0x45af50
cmp eax, 8
je 0x45af50
push 0x49df38
lea ecx, [esp + 0x18]
call fcn.00475f16
push eax
lea ecx, [esp + 0x2c]
push edi
push ecx
mov byte [esp + 0x255c], 0x10
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2554], 0x11
call fcn.00475f95
lea ecx, [esp + 0x28]
mov byte [esp + 0x2550], 0x10
call fcn.00475ea8
mov byte [esp + 0x2550], 8
lea ecx, [esp + 0x14]
jmp 0x45afcd
mov eax, dword [ecx]
lea edx, [esp + 0x90]
push edx
mov eax, dword [eax - 8]
push eax
call fcn.0047628c
push eax
lea ecx, [esp + 0x1a5c]
call fcn.0041c0d0
test eax, eax
je 0x45b58c
lea eax, [esp + 0x90]
lea ecx, [esp + 0x20]
push eax
call fcn.00475fe5
jmp 0x45ae91
push str.INFOTHER.INF
lea ecx, [esp + 0x28]
call fcn.00475f16
mov esi, eax
lea edx, [esp + 0x294]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0x2554], 0xd
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x2558], 0xe
push eax
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2554], 0xf
call fcn.00475f95
lea ecx, [esp + 0x28]
mov byte [esp + 0x2550], 0xe
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x2550], 0xd
call fcn.00475ea8
mov byte [esp + 0x2550], 8
lea ecx, [esp + 0x24]
call fcn.00475ea8
push 0xa
lea ecx, [esp + 0x54]
call fcn.00475669
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 0x45b428
jmp 0x45b018
mov edi, dword [esp + 0x2558]
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
jne 0x45b23e
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.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x2550], 0x13
call fcn.00475ea8
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.00410860
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.0047628c
push eax
lea ecx, [esp + 0x59c]
call fcn.0041add0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2550], 0x18
call fcn.004756a8
lea ecx, [esp + 0x108c]
call fcn.00410860
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.0041c1d0
cmp dword [esp + 0x108c], ebx
jne 0x45b110
mov dword [esp + 0x14], ebx
jmp 0x45b147
lea ecx, [esp + 0x1090]
lea eax, [esp + 0x1090]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x45b147
lea edx, [esp + 0x14]
lea ecx, [esp + 0x108c]
push edx
call fcn.00445900
push eax
lea ecx, [esp + 0x38]
call fcn.004757a6
cmp dword [esp + 0x14], ebx
jne 0x45b126
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x108c]
mov byte [esp + 0x2550], 0x18
call fcn.0040e720
cmp esi, ebx
je 0x45b219
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x45b219
cmp ebp, ebx
jne 0x45b219
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x18]
push eax
call fcn.00475f95
lea ecx, [esp + 0x18]
call fcn.0047635e
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
call fcn.00474e80
cmp eax, 0xffffffff
je 0x45b211
mov edi, dword [esp + 0x2558]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0x44]
call fcn.00475f95
lea edx, [esp + 0x18]
lea ecx, [edi + 0x48]
push edx
call fcn.00475f95
call fcn.00441cf0
test eax, eax
je 0x45b205
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.00465850
add esp, 0x10
lea eax, [esp + 0x194]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x1c]
cmp esi, ebx
jne 0x45b173
lea ecx, [esp + 0x598]
mov byte [esp + 0x2550], 0x13
call fcn.0041a660
cmp dword [esp + 0x30], ebx
jne 0x45b011
mov edi, dword [esp + 0x2558]
call fcn.004603a0
test eax, eax
jne 0x45b579
cmp ebp, ebx
jne 0x45b579
mov edi, dword [edi + 0x50]
cmp edi, 7
je 0x45b264
cmp edi, 8
jne 0x45b579
push str.INF.INF
lea ecx, [esp + 0x20]
call fcn.00475f16
mov esi, eax
lea ecx, [esp + 0x294]
mov byte [esp + 0x2550], 0x1a
push ecx
lea ecx, [esp + 0x18]
call fcn.00475f16
push esi
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x255c], 0x1b
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2554], 0x1c
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x2550], 0x1b
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x2550], 0x1a
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2550], 0x13
call fcn.00475ea8
push 0xa
lea ecx, [esp + 0x74]
call fcn.00475669
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 0x45b568
cmp ebp, ebx
jne 0x45b568
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.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x2550], 0x1e
call fcn.00475ea8
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.0047628c
push eax
lea ecx, [esp + 0x59c]
call fcn.0041add0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2550], 0x23
call fcn.004756a8
lea ecx, [esp + 0x108c]
call fcn.00410860
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.0041c1d0
cmp dword [esp + 0x108c], ebx
jne 0x45b431
mov dword [esp + 0x14], ebx
jmp 0x45b478
mov ebp, dword [esp + 0x1c]
jmp 0x45b23e
lea eax, [esp + 0x1090]
lea edx, [esp + 0x1090]
test eax, eax
mov dword [esp + 0x14], edx
je 0x45b478
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1090]
call fcn.00404ab0
cmp eax, 0xffffffff
je 0x45b466
mov eax, dword [esp + eax*4 + 0x1284]
jmp 0x45b468
xor eax, eax
push eax
lea ecx, [esp + 0x38]
call fcn.004757a6
cmp dword [esp + 0x14], ebx
jne 0x45b447
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x108c]
mov byte [esp + 0x2550], 0x23
call fcn.0040e720
cmp esi, ebx
je 0x45b54a
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x45b54a
cmp ebp, ebx
jne 0x45b54a
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x18]
push eax
call fcn.00475f95
lea ecx, [esp + 0x18]
call fcn.0047635e
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
call fcn.00474e80
cmp eax, 0xffffffff
je 0x45b542
mov edi, dword [esp + 0x2558]
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x44]
call fcn.00475f95
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 0x48]
call fcn.00475f95
call fcn.00441cf0
test eax, eax
je 0x45b536
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.00465850
add esp, 0x10
lea edx, [esp + 0x194]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x1c]
cmp esi, ebx
jne 0x45b4a4
lea ecx, [esp + 0x598]
mov byte [esp + 0x2550], 0x1e
call fcn.0041a660
cmp dword [esp + 0x28], ebx
jne 0x45b326
lea ecx, [esp + 0x70]
mov byte [esp + 0x2550], 0x13
call fcn.004756dd
lea ecx, [esp + 0x50]
mov byte [esp + 0x2550], 8
call fcn.004756dd
jmp 0x45b590
mov ebp, dword [esp + 0x1c]
call fcn.00441cf0
test eax, eax
je 0x45b62f
push ebp
lea eax, [esp + 0x94]
push str.CSetupFilesInfo::GetWaveFileName_:_bRetVal___d_n
push eax
call fcn.00465850
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.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x1a54]
mov byte [esp + 0x2550], 4
call fcn.0041a660
lea ecx, [esp + 0x34]
mov byte [esp + 0x2550], 3
call fcn.004756dd
lea ecx, [esp + 0x20]
mov byte [esp + 0x2550], 2
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x2550], 1
call fcn.00475ea8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2550], bl
call fcn.00475ea8
lea ecx, [esp + 0x10]
mov dword [esp + 0x2550], 0xffffffff
call fcn.00475ea8
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