Function at 0x452830
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4935a7
push eax
mov eax, 0x2420
mov dword fs:[0], esp
call fcn.004724a0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0044bde0
test eax, eax
je 0x4528fd
mov eax, dword [esp + 0x2440]
lea edx, [esp + 0x1a8]
mov ecx, dword [eax]
push ecx
push str.CPrepareUninstall_::_GetUninstallDeviceList_:_csINFID___s_n
push edx
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 + 0x3a8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3a8]
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 + 0x1a8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x3a8]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2438], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], eax
push 0xa
lea ecx, [esp + 0x8c]
mov byte [esp + 0x243c], 2
call fcn.00481a49
mov ecx, dword [0x4b538c]
mov dword [esp + 0x38], ecx
lea edx, [esp + 0xe70]
push 0x104
push edx
mov byte [esp + 0x2440], 4
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.INF_
lea ecx, [esp + 0x20]
call fcn.004822f6
mov esi, eax
lea eax, [esp + 0xe70]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x243c], 5
call fcn.004822f6
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x2444], 6
call fcn.0048246b
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x243c], 7
call fcn.00482375
lea ecx, [esp + 0x18]
mov byte [esp + 0x2438], 6
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x2438], 5
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2438], 4
call fcn.00482288
cmp dword [ebp + 4], ebx
je 0x452a98
cmp dword [ebp + 8], 5
jne 0x452a41
push str..INF
lea ecx, [esp + 0x18]
call fcn.004822f6
push eax
lea edx, [esp + 0x38]
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x2444], 8
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x243c], 9
call fcn.00482375
lea ecx, [esp + 0x18]
mov byte [esp + 0x2438], 8
call fcn.00482288
mov byte [esp + 0x2438], 4
lea ecx, [esp + 0x14]
jmp 0x452aca
push str.OEM.INF
lea ecx, [esp + 0x18]
call fcn.004822f6
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x2444], 0xa
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x243c], 0xb
call fcn.00482375
lea ecx, [esp + 0x18]
mov byte [esp + 0x2438], 0xa
call fcn.00482288
mov byte [esp + 0x2438], 4
lea ecx, [esp + 0x14]
jmp 0x452aca
lea eax, [esp + 0x34]
push str.OTHER.INF
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004824d1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x243c], 0xc
call fcn.00482375
mov byte [esp + 0x2438], 4
lea ecx, [esp + 0x18]
call fcn.00482288
push 0xa
lea ecx, [esp + 0x4c]
call fcn.00481a49
lea edx, [esp + 0x10]
lea ecx, [esp + 0x48]
push edx
mov byte [esp + 0x243c], 0xd
call fcn.00401570
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x2438], 0xe
cmp eax, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], eax
je 0x452e6e
cmp dword [esp + 0x2c], ebx
jne 0x4532e7
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.004014e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x243c], 0xf
call fcn.00482375
lea ecx, [esp + 0x18]
mov byte [esp + 0x2438], 0xe
call fcn.00482288
mov dword [esp + 0xf74], ebx
mov dword [esp + 0xf7c], ebx
mov dword [esp + 0xf80], ebx
mov dword [esp + 0xf88], ebx
lea ecx, [esp + 0x1098]
mov byte [esp + 0x2438], 0x11
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1290]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2438], 0x12
mov eax, dword [edx - 8]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0xf78]
call fcn.0041d6a0
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x4ac]
mov dword [esp + 0x4a8], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x6a0]
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x4a8]
lea ecx, [esp + 0xa4]
push eax
push ecx
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x4acaa8
lea ecx, [esp + 0xf88]
mov byte [esp + 0x244c], 0x15
call fcn.00421700
test eax, eax
je 0x452ddf
cmp dword [esp + 0x4a8], ebx
je 0x452ddf
lea eax, [esp + 0x4ac]
lea edx, [esp + 0x4ac]
test eax, eax
mov dword [esp + 0x14], edx
je 0x452ddf
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x4ac]
call fcn.00404d60
cmp eax, 0xffffffff
je 0x452c65
mov esi, dword [esp + eax*4 + 0x6a0]
jmp 0x452c67
xor esi, esi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x452ca7
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.004052d0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x452cd1
push 1
lea ecx, [esp + 0x24]
call fcn.004052d0
mov edi, 0x4b9200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004759f0
push eax
call fcn.00472ac0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00472550
mov ecx, dword [esp + 0x244c]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
push eax
push edx
call fcn.004724d0
add esp, 0x14
cmp eax, ebx
je 0x452d33
sub eax, dword [esp + 0x20]
cmp eax, 0xffffffff
jne 0x452d42
cmp dword [esp + 0x14], ebx
jne 0x452c46
jmp 0x452ddf
lea ecx, [esp + 0x1a68]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1c60]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1a68]
lea ecx, [esp + 0xf74]
push eax
mov byte [esp + 0x243c], 0x16
call fcn.0041eb70
cmp dword [esp + 0x1a68], ebx
jne 0x452d89
mov dword [esp + 0x1c], ebx
jmp 0x452dc3
lea edx, [esp + 0x1a6c]
lea ecx, [esp + 0x1a6c]
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x452dc3
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x1a68]
push eax
call fcn.0044fab0
push eax
lea ecx, [esp + 0x8c]
call fcn.00481b86
cmp dword [esp + 0x1c], ebx
jne 0x452d9f
lea ecx, [esp + 0x1a68]
mov byte [esp + 0x2438], 0x15
call fcn.0040f800
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
mov byte [esp + 0x2438], 0x14
cmp eax, ebx
je 0x452e0a
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00486245
mov edx, dword [esp + 0x24]
push edx
call fcn.00486245
add esp, 8
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x4a8]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x2438], 0x13
jbe 0x452e46
lea esi, [esp + 0x6a0]
mov eax, dword [esi]
cmp eax, ebx
je 0x452e37
push eax
call fcn.00486245
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0x4a8]
inc edi
add esi, 4
cmp edi, eax
jb 0x452e26
lea ecx, [esp + 0xf74]
mov byte [esp + 0x2438], 0xe
call fcn.0041cf30
cmp dword [esp + 0x40], ebx
jne 0x452b0c
cmp dword [esp + 0x2c], ebx
jne 0x4532e7
cmp dword [ebp + 4], ebx
je 0x452f07
lea eax, [esp + 0xa4]
push ebx
push eax
call fcn.0046c7d0
add esp, 8
lea ecx, [esp + 0x30]
push str..INF
call fcn.004822f6
mov esi, eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2438], 0x17
push ecx
lea ecx, [esp + 0x20]
call fcn.004822f6
push esi
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x2444], 0x18
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x243c], 0x19
call fcn.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x2438], 0x18
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2438], 0x17
call fcn.00482288
mov byte [esp + 0x2438], 0xe
lea ecx, [esp + 0x30]
jmp 0x452f39
lea eax, [esp + 0x34]
push str..INF
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.004824d1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x243c], 0x1a
call fcn.00482375
mov byte [esp + 0x2438], 0xe
lea ecx, [esp + 0x30]
call fcn.00482288
push 0xa
lea ecx, [esp + 0x6c]
call fcn.00481a49
lea edx, [esp + 0x10]
lea ecx, [esp + 0x68]
push edx
mov byte [esp + 0x243c], 0x1b
call fcn.00401570
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x2438], 0x1c
cmp eax, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], eax
je 0x4532d6
cmp dword [esp + 0x2c], ebx
jne 0x4532d6
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.004014e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x243c], 0x1d
call fcn.00482375
lea ecx, [esp + 0x30]
mov byte [esp + 0x2438], 0x1c
call fcn.00482288
mov dword [esp + 0xf74], ebx
mov dword [esp + 0xf7c], ebx
mov dword [esp + 0xf80], ebx
mov dword [esp + 0xf88], ebx
lea ecx, [esp + 0x1098]
mov byte [esp + 0x2438], 0x1f
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1290]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2438], 0x20
mov eax, dword [edx - 8]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0xf78]
call fcn.0041d6a0
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x4ac]
mov dword [esp + 0x4a8], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x6a0]
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x4a8]
lea ecx, [esp + 0xa4]
push eax
push ecx
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x4acaa8
lea ecx, [esp + 0xf88]
mov byte [esp + 0x244c], 0x23
call fcn.00421700
test eax, eax
je 0x453251
cmp dword [esp + 0x4a8], ebx
je 0x453251
lea eax, [esp + 0x4ac]
lea edx, [esp + 0x4ac]
test eax, eax
mov dword [esp + 0x14], edx
je 0x453251
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x4ac]
call fcn.00404d60
cmp eax, 0xffffffff
je 0x4530d7
mov esi, dword [esp + eax*4 + 0x6a0]
jmp 0x4530d9
xor esi, esi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x453119
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.004052d0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x453143
push 1
lea ecx, [esp + 0x24]
call fcn.004052d0
mov edi, 0x4b9200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004759f0
push eax
call fcn.00472ac0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00472550
mov ecx, dword [esp + 0x244c]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
push eax
push edx
call fcn.004724d0
add esp, 0x14
cmp eax, ebx
je 0x4531a5
sub eax, dword [esp + 0x20]
cmp eax, 0xffffffff
jne 0x4531b4
cmp dword [esp + 0x14], ebx
jne 0x4530b8
jmp 0x453251
lea ecx, [esp + 0x1a68]
call fcn.00411ab0
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1c60]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1a68]
lea ecx, [esp + 0xf74]
push eax
mov byte [esp + 0x243c], 0x24
call fcn.0041eb70
cmp dword [esp + 0x1a68], ebx
jne 0x4531fb
mov dword [esp + 0x1c], ebx
jmp 0x453235
lea edx, [esp + 0x1a6c]
lea ecx, [esp + 0x1a6c]
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x453235
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x1a68]
push eax
call fcn.0044fab0
push eax
lea ecx, [esp + 0x8c]
call fcn.00481b86
cmp dword [esp + 0x1c], ebx
jne 0x453211
lea ecx, [esp + 0x1a68]
mov byte [esp + 0x2438], 0x23
call fcn.0040f800
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
mov byte [esp + 0x2438], 0x22
cmp eax, ebx
je 0x45327c
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00486245
mov edx, dword [esp + 0x24]
push edx
call fcn.00486245
add esp, 8
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x4a8]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x2438], 0x21
jbe 0x4532b8
lea esi, [esp + 0x6a0]
mov eax, dword [esi]
cmp eax, ebx
je 0x4532a9
push eax
call fcn.00486245
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0x4a8]
inc edi
add esi, 4
cmp edi, eax
jb 0x453298
lea ecx, [esp + 0xf74]
mov byte [esp + 0x2438], 0x1c
call fcn.0041cf30
cmp dword [esp + 0x18], ebx
jne 0x452f7e
lea ecx, [esp + 0x68]
mov byte [esp + 0x2438], 0xe
call fcn.00481abd
mov esi, dword [esp + 0x8c]
cmp esi, ebx
je 0x453370
mov ebp, dword [esp + 0x2444]
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x38]
push eax
call fcn.00482375
sub esp, 8
lea eax, [esp + 0x40]
mov edi, esp
mov dword [esp + 0x38], esp
push eax
mov ecx, edi
mov dword [esp + 0x48], 1
call fcn.00481ffd
mov ecx, dword [esp + 0x44]
mov dword [edi + 4], ecx
mov ecx, ebp
call fcn.004568a0
call fcn.0044bde0
test eax, eax
je 0x45336c
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1a8]
push edx
push str.csDeviceID___s_n
push eax
call fcn.00471c30
add esp, 0xc
lea ecx, [esp + 0x1a8]
push ecx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
cmp esi, ebx
jne 0x4532f9
call fcn.0044bde0
test eax, eax
je 0x453413
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xa4]
push edx
push str.CPrepareUninstall_::_GetUninstallDeviceList_:_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 + 0x2a8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2a8]
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 + 0xa4]
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 + 0x2a8]
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 + 0x48]
mov byte [esp + 0x2438], 4
call fcn.00481abd
lea ecx, [esp + 0x38]
mov byte [esp + 0x2438], 3
call fcn.00482288
lea ecx, [esp + 0x88]
mov byte [esp + 0x2438], 2
call fcn.00481abd
lea ecx, [esp + 0x44]
mov byte [esp + 0x2438], 1
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x2438], bl
call fcn.00482288
lea ecx, [esp + 0x34]
mov dword [esp + 0x2438], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x2430]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x242c
ret 8