Function at 0x453b00
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x493730
push eax
mov dword fs:[0], esp
sub esp, 0x51c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0044bde0
test eax, eax
je 0x453bc9
mov eax, dword [esp + 0x53c]
lea edx, [esp + 0x328]
mov ecx, dword [eax]
push ecx
push str.CPrepareUninstall_::_FindDeviceINFFile_:_csDeviceID___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 + 0x128]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x128]
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 + 0x328]
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 + 0x128]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x534], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x428]
mov ebx, 1
push 0x104
push ecx
mov byte [esp + 0x53c], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.INF_
lea ecx, [esp + 0x14]
call fcn.004822f6
mov esi, eax
lea edx, [esp + 0x428]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x538], 2
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x53c], 3
push eax
call fcn.0048246b
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 4
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 3
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 2
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], bl
call fcn.00482288
mov eax, dword [ebp + 4]
test eax, eax
je 0x453d41
cmp dword [ebp + 8], 5
jne 0x453ceb
push str..INF
lea ecx, [esp + 0x1c]
call fcn.004822f6
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x540], 5
call fcn.0048246b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 6
call fcn.00482375
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 5
call fcn.00482288
mov byte [esp + 0x534], bl
lea ecx, [esp + 0x18]
jmp 0x453d72
push str.OEM.INF
lea ecx, [esp + 0x1c]
call fcn.004822f6
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x540], 7
call fcn.0048246b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 8
call fcn.00482375
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 7
call fcn.00482288
mov byte [esp + 0x534], bl
lea ecx, [esp + 0x18]
jmp 0x453d72
lea edx, [esp + 0x20]
push str.OTHER.INF
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004824d1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 9
call fcn.00482375
mov byte [esp + 0x534], bl
lea ecx, [esp + 0x10]
call fcn.00482288
mov edi, dword [esp + 0x540]
mov esi, dword [esp + 0x53c]
lea ecx, [esp + 0x14]
push edi
push ecx
push esi
mov ecx, ebp
call fcn.004534a0
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x453e88
mov eax, dword [ebp + 4]
test eax, eax
je 0x453e40
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0046c7d0
add esp, 8
lea ecx, [esp + 0x1c]
push str..INF
call fcn.004822f6
mov esi, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x538], 0xa
call fcn.004822f6
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x540], 0xb
call fcn.0048246b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 0xc
call fcn.00482375
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 0xb
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 0xa
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], bl
call fcn.00482288
mov esi, dword [esp + 0x53c]
jmp 0x453e76
lea edx, [esp + 0x20]
push str..INF
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004824d1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 0xd
call fcn.00482375
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], bl
call fcn.00482288
lea ecx, [esp + 0x14]
push edi
push ecx
push esi
mov ecx, ebp
call fcn.004534a0
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 0xc]
test dword [edx + 0xb8c], 0x80000
je 0x453f0d
mov eax, dword [ebp + 4]
test eax, eax
je 0x453f0d
push str..INF
lea ecx, [esp + 0x1c]
call fcn.004822f6
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x540], 0xe
call fcn.0048246b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 0xf
call fcn.00482375
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 0xe
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], bl
call fcn.00482288
lea edx, [esp + 0x14]
push edi
push edx
push esi
mov ecx, ebp
call fcn.004534a0
test eax, eax
je 0x453f0d
mov dword [esp + 0x1c], ebx
call fcn.0044bde0
test eax, eax
je 0x453faa
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push str.CPrepareUninstall_::_FindDeviceINFFile_:_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 + 0x228]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x228]
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 + 0x24]
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
lea eax, [esp + 0x228]
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 + 0x14]
mov byte [esp + 0x534], 0
call fcn.00482288
lea ecx, [esp + 0x20]
mov dword [esp + 0x534], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x52c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x528
ret 8