Function at 0x459ef0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x488ac4
push eax
mov eax, 0x3a40
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 0x459fb4
push ebx
lea eax, [esp + 0x3e8]
push str.CSetupFilesInfo::GetChildFileName_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 + 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.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0xe0]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov eax, dword [0x4a6844]
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.00475669
push 0xa
lea ecx, [esp + 0xc8]
mov byte [esp + 0x3a5c], 5
call fcn.00475669
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.00410860
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.0047628c
push eax
lea ecx, [esp + 0x2f60]
call fcn.0041add0
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.0041d1a0
test eax, eax
je 0x45aaa5
mov eax, dword [ebp + 0x50]
cmp eax, 7
je 0x45a109
cmp eax, 8
je 0x45a109
push 0x49df38
lea ecx, [esp + 0x20]
call fcn.00475f16
push eax
lea edx, [esp + 0x28]
push ebp
push edx
mov byte [esp + 0x3a64], 0x11
call fcn.0047608b
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a5c], 0x12
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a58], 0x11
call fcn.00475ea8
mov byte [esp + 0x3a58], 0xa
lea ecx, [esp + 0x1c]
jmp 0x45a20e
call fcn.004603a0
test eax, eax
je 0x45a191
push str.INFOEM.INF
lea ecx, [esp + 0x2c]
call fcn.00475f16
mov esi, eax
lea eax, [esp + 0x2e0]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x3a5c], 0xb
call fcn.00475f16
push esi
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x3a64], 0xc
call fcn.0047608b
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a5c], 0xd
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a58], 0xc
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a58], 0xb
call fcn.00475ea8
mov byte [esp + 0x3a58], 0xa
lea ecx, [esp + 0x28]
jmp 0x45a20e
push str.INFOTHER.INF
lea ecx, [esp + 0x2c]
call fcn.00475f16
mov esi, eax
lea edx, [esp + 0x2e0]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x3a5c], 0xe
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x3a60], 0xf
push eax
call fcn.0047608b
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a5c], 0x10
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a58], 0xf
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a58], 0xe
call fcn.00475ea8
mov byte [esp + 0x3a58], 0xa
lea ecx, [esp + 0x28]
call fcn.00475ea8
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x45aaa5
jmp 0x45a22f
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x3a60]
mov ecx, dword [eax]
add eax, 8
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00475f95
lea ecx, [esp + 0x20]
call fcn.0047635e
push 0x4a5bcc
lea ecx, [esp + 0x58]
call fcn.00475f16
mov esi, eax
push 0x4a5bcc
lea ecx, [esp + 0x60]
mov byte [esp + 0x3a5c], 0x13
call fcn.00475f16
push eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x50]
push edx
push eax
mov byte [esp + 0x3a64], 0x14
call fcn.0047608b
lea ecx, [ebp + 0x10]
mov byte [esp + 0x3a58], 0x15
push ecx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.0047608b
push esi
lea edx, [esp + 0x68]
push eax
push edx
mov byte [esp + 0x3a64], 0x16
call fcn.0047608b
lea ecx, [ebp + 0x14]
mov byte [esp + 0x3a58], 0x17
push ecx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0047608b
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a5c], 0x18
call fcn.00475f95
lea ecx, [esp + 0x44]
mov byte [esp + 0x3a58], 0x17
call fcn.00475ea8
lea ecx, [esp + 0x64]
mov byte [esp + 0x3a58], 0x16
call fcn.00475ea8
lea ecx, [esp + 0x48]
mov byte [esp + 0x3a58], 0x15
call fcn.00475ea8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3a58], 0x14
call fcn.00475ea8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3a58], 0x13
call fcn.00475ea8
lea ecx, [esp + 0x54]
mov byte [esp + 0x3a58], 0xa
call fcn.00475ea8
lea ecx, [esp + 0x38]
call fcn.0047635e
push 0xa
lea ecx, [esp + 0x88]
xor ebp, ebp
call fcn.00475669
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 0x45a70a
cmp ebp, ebx
jne 0x45a70a
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.00475f95
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a58], 0x1a
call fcn.00475ea8
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.0047628c
push eax
lea ecx, [esp + 0x246c]
call fcn.0041add0
lea ecx, [esp + 0x68]
mov byte [esp + 0x3a58], 0x1f
call fcn.004756a8
lea ecx, [esp + 0xfac]
call fcn.00410860
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.0041c1d0
cmp dword [esp + 0xfac], ebx
jne 0x45a49c
mov dword [esp + 0x28], ebx
jmp 0x45a4e3
lea ecx, [esp + 0xfb0]
lea eax, [esp + 0xfb0]
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x45a4e3
lea edx, [esp + 0x28]
lea ecx, [esp + 0xfac]
push edx
call fcn.00404ab0
cmp eax, 0xffffffff
je 0x45a4d1
mov eax, dword [esp + eax*4 + 0x11a4]
jmp 0x45a4d3
xor eax, eax
push eax
lea ecx, [esp + 0x6c]
call fcn.004757a6
cmp dword [esp + 0x28], ebx
jne 0x45a4b2
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0xfac]
mov byte [esp + 0x3a58], 0x1f
call fcn.0040e720
cmp esi, ebx
je 0x45a6ec
mov esi, dword [esp + 0x6c]
cmp esi, ebx
je 0x45a5e1
mov eax, dword [esp + 0x3a60]
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx*8 + 0x20]
cmp ebp, ebx
jne 0x45a5e1
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.00475f95
lea ecx, [esp + 0x10]
call fcn.0047635e
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
call fcn.00474e80
cmp eax, 0xffffffff
je 0x45a5d9
push 0x4a5bcc
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
je 0x45a5d9
lea eax, [esp + 0x14]
lea ecx, [edi - 4]
push eax
call fcn.00475f95
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00475f95
call fcn.00441cf0
test eax, eax
je 0x45a5c4
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.00465850
add esp, 0x14
lea eax, [esp + 0x3e4]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
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 0x45a51e
mov edi, dword [esp + 0x6c]
cmp edi, ebx
je 0x45a6ec
mov ecx, dword [esp + 0x3a60]
mov edx, dword [esp + 0x18]
lea esi, [ecx + edx*8 + 0x20]
cmp ebp, ebx
jne 0x45a6ec
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.00475f95
lea ecx, [esp + 0x10]
call fcn.0047635e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00465e90
add esp, 8
test eax, eax
je 0x45a675
push 0x49b19c
lea ecx, [esp + 0x24]
call fcn.00474e80
cmp eax, 0xffffffff
jne 0x45a6e4
push 0x4a5bcc
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
jne 0x45a6e4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.00474e80
cmp eax, 0xffffffff
je 0x45a6e4
lea eax, [esp + 0x14]
lea ecx, [esi - 4]
push eax
call fcn.00475f95
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00475f95
call fcn.00441cf0
test eax, eax
je 0x45a6cf
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.00465850
add esp, 0x14
lea eax, [esp + 0x1e0]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
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 0x45a5fc
lea ecx, [esp + 0x2468]
mov byte [esp + 0x3a58], 0x1a
call fcn.0041a660
cmp dword [esp + 0x30], ebx
jne 0x45a397
call fcn.004603a0
test eax, eax
jne 0x45aa87
cmp ebp, ebx
jne 0x45aa87
mov ecx, dword [esp + 0x3a60]
mov eax, dword [ecx + 0x50]
cmp eax, 7
je 0x45a737
cmp eax, 8
jne 0x45aa87
push str.INF.INF
lea ecx, [esp + 0x5c]
call fcn.00475f16
mov esi, eax
lea edx, [esp + 0x2e0]
lea ecx, [esp + 0x50]
push edx
mov byte [esp + 0x3a5c], 0x21
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x3a60], 0x22
push eax
call fcn.0047608b
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a5c], 0x23
call fcn.00475f95
lea ecx, [esp + 0x40]
mov byte [esp + 0x3a58], 0x22
call fcn.00475ea8
lea ecx, [esp + 0x50]
mov byte [esp + 0x3a58], 0x21
call fcn.00475ea8
lea ecx, [esp + 0x58]
mov byte [esp + 0x3a58], 0x1a
call fcn.00475ea8
push 0xa
lea ecx, [esp + 0xa8]
call fcn.00475669
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 0x45aa73
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.00475f95
lea ecx, [esp + 0x60]
mov byte [esp + 0x3a58], 0x25
call fcn.00475ea8
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.0047628c
push eax
lea ecx, [esp + 0x1978]
call fcn.0041add0
lea ecx, [esp + 0x68]
mov byte [esp + 0x3a58], 0x2a
call fcn.004756a8
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.0041c1d0
cmp dword [esp + 0x5e4], ebx
jne 0x45a90d
mov dword [esp + 0x1c], ebx
jmp 0x45a954
lea ecx, [esp + 0x5e8]
lea eax, [esp + 0x5e8]
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x45a954
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x5e4]
push edx
call fcn.00404ab0
cmp eax, 0xffffffff
je 0x45a942
mov eax, dword [esp + eax*4 + 0x7dc]
jmp 0x45a944
xor eax, eax
push eax
lea ecx, [esp + 0x6c]
call fcn.004757a6
cmp dword [esp + 0x1c], ebx
jne 0x45a923
mov eax, dword [esp + 0x5e4]
mov ebp, dword [esp + 0x74]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x3a58], 0x2a
jbe 0x45a994
lea esi, [esp + 0x7dc]
mov eax, dword [esi]
cmp eax, ebx
je 0x45a985
push eax
call fcn.00479e65
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0x5e4]
inc edi
add esi, 4
cmp edi, eax
jb 0x45a974
cmp ebp, ebx
je 0x45aa55
mov edi, dword [esp + 0x6c]
cmp edi, ebx
je 0x45aa55
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x3a60]
lea esi, [eax + ebp*8 + 0x20]
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.00475f95
lea ecx, [esp + 0x10]
call fcn.0047635e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00465e90
add esp, 8
test eax, eax
jne 0x45aa49
lea eax, [esp + 0x14]
lea ecx, [esi - 4]
push eax
call fcn.00475f95
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00475f95
call fcn.00441cf0
test eax, eax
je 0x45aa3d
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.00465850
add esp, 0x14
lea edx, [esp + 0xe0]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
inc ebp
add esi, 8
mov dword [esp + 0x34], 1
cmp edi, ebx
jne 0x45a9b7
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x1974]
mov byte [esp + 0x3a58], 0x25
call fcn.0041a660
cmp dword [esp + 0x30], ebx
jne 0x45a802
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3a58], 0x1a
call fcn.004756dd
lea ecx, [esp + 0x84]
mov byte [esp + 0x3a58], 0xa
call fcn.004756dd
cmp dword [esp + 0x24], ebx
jne 0x45a224
call fcn.00441cf0
test eax, eax
je 0x45ab48
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4e4]
push eax
push str.CSetupFilesInfo::GetChildFileName_:_bRetVal___d_n
push ecx
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 + 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.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x2f5c]
mov byte [esp + 0x3a58], 6
call fcn.0041a660
lea ecx, [esp + 0xc4]
mov byte [esp + 0x3a58], 5
call fcn.004756dd
lea ecx, [esp + 0x68]
mov byte [esp + 0x3a58], 4
call fcn.004756dd
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a58], 3
call fcn.00475ea8
lea ecx, [esp + 0x38]
mov byte [esp + 0x3a58], 2
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x3a58], 1
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a58], bl
call fcn.00475ea8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3a58], 0xffffffff
call fcn.00475ea8
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