Function at 0x465f90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x495af4
push eax
mov eax, 0x3a40
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 0x466054
push ebx
lea eax, [esp + 0x3e8]
push str.CSetupFilesInfo::GetChildFileName_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 + 0xe0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xe0]
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 + 0x3e4]
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 + 0xe0]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3a58], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], eax
push 0xa
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3a5c], 4
call fcn.00481a49
push 0xa
lea ecx, [esp + 0xc8]
mov byte [esp + 0x3a5c], 5
call fcn.00481a49
lea ecx, [esp + 0x2e0]
push 0x104
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebp, dword [esp + 0x3a60]
mov dword [esp + 0x2f5c], ebx
mov dword [esp + 0x2f64], ebx
lea esi, [ebp + 8]
mov dword [esp + 0x2f68], ebx
mov dword [esp + 0x2f70], ebx
lea ecx, [esp + 0x3080]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x3278]
rep stosd dword es:[edi], eax
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x3a58], 9
mov eax, dword [edx - 8]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x2f60]
call fcn.0041d6a0
lea eax, [esp + 0xc4]
lea ecx, [ebp + 0xc]
push eax
push 5
push ecx
lea ecx, [esp + 0x2f68]
mov byte [esp + 0x3a64], 0xa
call fcn.0041fb40
test eax, eax
je 0x466b45
mov eax, dword [ebp + 0x60]
cmp eax, 7
je 0x4661a9
cmp eax, 8
je 0x4661a9
push 0x4ac194
lea ecx, [esp + 0x20]
call fcn.004822f6
push eax
lea edx, [esp + 0x28]
push ebp
push edx
mov byte [esp + 0x3a64], 0x11
call fcn.0048246b
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a5c], 0x12
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a58], 0x11
call fcn.00482288
mov byte [esp + 0x3a58], 0xa
lea ecx, [esp + 0x1c]
jmp 0x4662ae
call fcn.0046c5b0
test eax, eax
je 0x466231
push str.INFOEM.INF
lea ecx, [esp + 0x2c]
call fcn.004822f6
mov esi, eax
lea eax, [esp + 0x2e0]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x3a5c], 0xb
call fcn.004822f6
push esi
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x3a64], 0xc
call fcn.0048246b
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a5c], 0xd
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a58], 0xc
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a58], 0xb
call fcn.00482288
mov byte [esp + 0x3a58], 0xa
lea ecx, [esp + 0x28]
jmp 0x4662ae
push str.INFOTHER.INF
lea ecx, [esp + 0x2c]
call fcn.004822f6
mov esi, eax
lea edx, [esp + 0x2e0]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x3a5c], 0xe
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x3a60], 0xf
push eax
call fcn.0048246b
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a5c], 0x10
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a58], 0xf
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a58], 0xe
call fcn.00482288
mov byte [esp + 0x3a58], 0xa
lea ecx, [esp + 0x28]
call fcn.00482288
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x466b45
jmp 0x4662cf
mov ebp, dword [esp + 0x3a60]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add eax, 8
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00482375
lea ecx, [esp + 0x20]
call fcn.0048273e
push 0x4b46e8
lea ecx, [esp + 0x58]
call fcn.004822f6
mov esi, eax
push 0x4b46e8
lea ecx, [esp + 0x60]
mov byte [esp + 0x3a5c], 0x13
call fcn.004822f6
push eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x50]
push edx
push eax
mov byte [esp + 0x3a64], 0x14
call fcn.0048246b
lea ecx, [ebp + 0x10]
mov byte [esp + 0x3a58], 0x15
push ecx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.0048246b
push esi
lea edx, [esp + 0x68]
push eax
push edx
mov byte [esp + 0x3a64], 0x16
call fcn.0048246b
lea ecx, [ebp + 0x14]
mov byte [esp + 0x3a58], 0x17
push ecx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0048246b
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a5c], 0x18
call fcn.00482375
lea ecx, [esp + 0x44]
mov byte [esp + 0x3a58], 0x17
call fcn.00482288
lea ecx, [esp + 0x64]
mov byte [esp + 0x3a58], 0x16
call fcn.00482288
lea ecx, [esp + 0x48]
mov byte [esp + 0x3a58], 0x15
call fcn.00482288
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3a58], 0x14
call fcn.00482288
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3a58], 0x13
call fcn.00482288
lea ecx, [esp + 0x54]
mov byte [esp + 0x3a58], 0xa
call fcn.00482288
lea ecx, [esp + 0x38]
call fcn.0048273e
push 0xa
lea ecx, [esp + 0x88]
xor ebp, ebp
call fcn.00481a49
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a58], 0x19
push ecx
lea ecx, [esp + 0x88]
call fcn.00401570
mov eax, dword [esp + 0x88]
mov byte [esp + 0x3a58], 0x1a
cmp eax, ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x30], eax
je 0x4667aa
cmp ebp, ebx
jne 0x4667aa
lea edx, [esp + 0x30]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004014e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a5c], 0x1b
call fcn.00482375
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a58], 0x1a
call fcn.00482288
mov dword [esp + 0x2468], ebx
mov dword [esp + 0x2470], ebx
mov dword [esp + 0x2474], ebx
mov dword [esp + 0x247c], ebx
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x2590]
mov dword [esp + 0x258c], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x2784]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x3a58], 0x1e
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x246c]
call fcn.0041d6a0
lea ecx, [esp + 0x68]
mov byte [esp + 0x3a58], 0x1f
call fcn.00481a88
lea ecx, [esp + 0xfac]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x11a4]
rep stosd dword es:[edi], eax
lea edx, [esp + 0xfac]
lea ecx, [esp + 0x2468]
push edx
mov byte [esp + 0x3a5c], 0x20
call fcn.0041eb70
cmp dword [esp + 0xfac], ebx
jne 0x46653c
mov dword [esp + 0x28], ebx
jmp 0x466583
lea ecx, [esp + 0xfb0]
lea eax, [esp + 0xfb0]
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x466583
lea edx, [esp + 0x28]
lea ecx, [esp + 0xfac]
push edx
call fcn.00404d60
cmp eax, 0xffffffff
je 0x466571
mov eax, dword [esp + eax*4 + 0x11a4]
jmp 0x466573
xor eax, eax
push eax
lea ecx, [esp + 0x6c]
call fcn.00481b86
cmp dword [esp + 0x28], ebx
jne 0x466552
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0xfac]
mov byte [esp + 0x3a58], 0x1f
call fcn.0040f800
cmp esi, ebx
je 0x46678c
mov esi, dword [esp + 0x6c]
cmp esi, ebx
je 0x466681
mov eax, dword [esp + 0x3a60]
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx*8 + 0x30]
cmp ebp, ebx
jne 0x466681
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.00482375
lea ecx, [esp + 0x10]
call fcn.0048273e
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
call fcn.00481260
cmp eax, 0xffffffff
je 0x466679
push 0x4b46e8
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
je 0x466679
lea eax, [esp + 0x14]
lea ecx, [edi - 4]
push eax
call fcn.00482375
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00482375
call fcn.0044bde0
test eax, eax
je 0x466664
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x3f0]
push str.nChildIndex___d__csChildFileName___s__csChildBusTypeAndDeviceID___s_n
push edx
call fcn.00471c30
add esp, 0x14
lea eax, [esp + 0x3e4]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov ecx, dword [esp + 0x18]
mov ebp, 1
inc ecx
add edi, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], ebp
cmp esi, ebx
jne 0x4665be
mov edi, dword [esp + 0x6c]
cmp edi, ebx
je 0x46678c
mov ecx, dword [esp + 0x3a60]
mov edx, dword [esp + 0x18]
lea esi, [ecx + edx*8 + 0x30]
cmp ebp, ebx
jne 0x46678c
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.00482375
lea ecx, [esp + 0x10]
call fcn.0048273e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00472250
add esp, 8
test eax, eax
je 0x466715
push 0x4a919c
lea ecx, [esp + 0x24]
call fcn.00481260
cmp eax, 0xffffffff
jne 0x466784
push 0x4b46e8
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
jne 0x466784
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.00481260
cmp eax, 0xffffffff
je 0x466784
lea eax, [esp + 0x14]
lea ecx, [esi - 4]
push eax
call fcn.00482375
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00482375
call fcn.0044bde0
test eax, eax
je 0x46676f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x1ec]
push str.nChildIndex___d__csChildFileName___s__csChildBusTypeAndDeviceID___s_n
push edx
call fcn.00471c30
add esp, 0x14
lea eax, [esp + 0x1e0]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov ecx, dword [esp + 0x18]
mov ebp, 1
inc ecx
add esi, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], ebp
cmp edi, ebx
jne 0x46669c
lea ecx, [esp + 0x2468]
mov byte [esp + 0x3a58], 0x1a
call fcn.0041cf30
cmp dword [esp + 0x30], ebx
jne 0x466437
call fcn.0046c5b0
test eax, eax
jne 0x466b27
cmp ebp, ebx
jne 0x466b27
mov ecx, dword [esp + 0x3a60]
mov eax, dword [ecx + 0x60]
cmp eax, 7
je 0x4667d7
cmp eax, 8
jne 0x466b27
push str.INF.INF
lea ecx, [esp + 0x5c]
call fcn.004822f6
mov esi, eax
lea edx, [esp + 0x2e0]
lea ecx, [esp + 0x50]
push edx
mov byte [esp + 0x3a5c], 0x21
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x3a60], 0x22
push eax
call fcn.0048246b
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a5c], 0x23
call fcn.00482375
lea ecx, [esp + 0x40]
mov byte [esp + 0x3a58], 0x22
call fcn.00482288
lea ecx, [esp + 0x50]
mov byte [esp + 0x3a58], 0x21
call fcn.00482288
lea ecx, [esp + 0x58]
mov byte [esp + 0x3a58], 0x1a
call fcn.00482288
push 0xa
lea ecx, [esp + 0xa8]
call fcn.00481a49
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a58], 0x24
push ecx
lea ecx, [esp + 0xa8]
call fcn.00401570
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x3a58], 0x25
cmp eax, ebx
mov dword [esp + 0xc0], eax
mov dword [esp + 0x30], eax
je 0x466b13
lea edx, [esp + 0x30]
lea eax, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0xac]
call fcn.004014e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a5c], 0x26
call fcn.00482375
lea ecx, [esp + 0x60]
mov byte [esp + 0x3a58], 0x25
call fcn.00482288
mov dword [esp + 0x1974], ebx
mov dword [esp + 0x197c], ebx
mov dword [esp + 0x1980], ebx
mov dword [esp + 0x1988], ebx
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x1a9c]
mov dword [esp + 0x1a98], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1c90]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x3a58], 0x29
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x1978]
call fcn.0041d6a0
lea ecx, [esp + 0x68]
mov byte [esp + 0x3a58], 0x2a
call fcn.00481a88
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x5e8]
mov dword [esp + 0x5e4], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x7dc]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x5e4]
lea ecx, [esp + 0x1974]
push edx
mov byte [esp + 0x3a5c], 0x2b
call fcn.0041eb70
cmp dword [esp + 0x5e4], ebx
jne 0x4669ad
mov dword [esp + 0x1c], ebx
jmp 0x4669f4
lea ecx, [esp + 0x5e8]
lea eax, [esp + 0x5e8]
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x4669f4
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x5e4]
push edx
call fcn.00404d60
cmp eax, 0xffffffff
je 0x4669e2
mov eax, dword [esp + eax*4 + 0x7dc]
jmp 0x4669e4
xor eax, eax
push eax
lea ecx, [esp + 0x6c]
call fcn.00481b86
cmp dword [esp + 0x1c], ebx
jne 0x4669c3
mov eax, dword [esp + 0x5e4]
mov ebp, dword [esp + 0x74]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x3a58], 0x2a
jbe 0x466a34
lea esi, [esp + 0x7dc]
mov eax, dword [esi]
cmp eax, ebx
je 0x466a25
push eax
call fcn.00486245
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0x5e4]
inc edi
add esi, 4
cmp edi, eax
jb 0x466a14
cmp ebp, ebx
je 0x466af5
mov edi, dword [esp + 0x6c]
cmp edi, ebx
je 0x466af5
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x3a60]
lea esi, [eax + ebp*8 + 0x30]
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.00482375
lea ecx, [esp + 0x10]
call fcn.0048273e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00472250
add esp, 8
test eax, eax
jne 0x466ae9
lea eax, [esp + 0x14]
lea ecx, [esi - 4]
push eax
call fcn.00482375
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00482375
call fcn.0044bde0
test eax, eax
je 0x466add
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebp
lea ecx, [esp + 0xec]
push str.nChildIndex___d__csChildFileName___s__csChildBusTypeAndDeviceID___s_n
push ecx
call fcn.00471c30
add esp, 0x14
lea edx, [esp + 0xe0]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
inc ebp
add esi, 8
mov dword [esp + 0x34], 1
cmp edi, ebx
jne 0x466a57
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x1974]
mov byte [esp + 0x3a58], 0x25
call fcn.0041cf30
cmp dword [esp + 0x30], ebx
jne 0x4668a2
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3a58], 0x1a
call fcn.00481abd
lea ecx, [esp + 0x84]
mov byte [esp + 0x3a58], 0xa
call fcn.00481abd
cmp dword [esp + 0x24], ebx
jne 0x4662c4
call fcn.0044bde0
test eax, eax
je 0x466be8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4e4]
push eax
push str.CSetupFilesInfo::GetChildFileName_:_bRetVal___d_n
push ecx
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 + 0x1e0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1e0]
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 + 0x4e4]
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
lea eax, [esp + 0x1e0]
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 + 0x2f5c]
mov byte [esp + 0x3a58], 6
call fcn.0041cf30
lea ecx, [esp + 0xc4]
mov byte [esp + 0x3a58], 5
call fcn.00481abd
lea ecx, [esp + 0x68]
mov byte [esp + 0x3a58], 4
call fcn.00481abd
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a58], 3
call fcn.00482288
lea ecx, [esp + 0x38]
mov byte [esp + 0x3a58], 2
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x3a58], 1
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a58], bl
call fcn.00482288
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3a58], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x3a50]
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a4c
ret 4