Function at 0x449540
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x486b30
push eax
mov dword fs:[0], esp
sub esp, 0x51c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00441cf0
test eax, eax
je 0x449609
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.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 + 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.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x128]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov eax, dword [0x4a6844]
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.00475f16
mov esi, eax
lea edx, [esp + 0x428]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x538], 2
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x53c], 3
push eax
call fcn.0047608b
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 4
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 3
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 2
call fcn.00475ea8
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], bl
call fcn.00475ea8
mov eax, dword [ebp + 4]
test eax, eax
je 0x449781
cmp dword [ebp + 8], 5
jne 0x44972b
push str..INF
lea ecx, [esp + 0x1c]
call fcn.00475f16
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x540], 5
call fcn.0047608b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 6
call fcn.00475f95
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 5
call fcn.00475ea8
mov byte [esp + 0x534], bl
lea ecx, [esp + 0x18]
jmp 0x4497b2
push str.OEM.INF
lea ecx, [esp + 0x1c]
call fcn.00475f16
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x540], 7
call fcn.0047608b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 8
call fcn.00475f95
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 7
call fcn.00475ea8
mov byte [esp + 0x534], bl
lea ecx, [esp + 0x18]
jmp 0x4497b2
lea edx, [esp + 0x20]
push str.OTHER.INF
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004760f1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 9
call fcn.00475f95
mov byte [esp + 0x534], bl
lea ecx, [esp + 0x10]
call fcn.00475ea8
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.00448ee0
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4498c8
mov eax, dword [ebp + 4]
test eax, eax
je 0x449880
lea edx, [esp + 0x24]
push 0
push edx
call fcn.004605c0
add esp, 8
lea ecx, [esp + 0x1c]
push str..INF
call fcn.00475f16
mov esi, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x538], 0xa
call fcn.00475f16
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x540], 0xb
call fcn.0047608b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 0xc
call fcn.00475f95
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 0xb
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 0xa
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], bl
call fcn.00475ea8
mov esi, dword [esp + 0x53c]
jmp 0x4498b6
lea edx, [esp + 0x20]
push str..INF
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004760f1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 0xd
call fcn.00475f95
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], bl
call fcn.00475ea8
lea ecx, [esp + 0x14]
push edi
push ecx
push esi
mov ecx, ebp
call fcn.00448ee0
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 0xc]
test dword [edx + 0x58], 0x80000
je 0x44994a
mov eax, dword [ebp + 4]
test eax, eax
je 0x44994a
push str..INF
lea ecx, [esp + 0x1c]
call fcn.00475f16
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x540], 0xe
call fcn.0047608b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 0xf
call fcn.00475f95
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 0xe
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], bl
call fcn.00475ea8
lea edx, [esp + 0x14]
push edi
push edx
push esi
mov ecx, ebp
call fcn.00448ee0
test eax, eax
je 0x44994a
mov dword [esp + 0x1c], ebx
call fcn.00441cf0
test eax, eax
je 0x4499e7
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push str.CPrepareUninstall_::_FindDeviceINFFile_:_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 + 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.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x14]
mov byte [esp + 0x534], 0
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov dword [esp + 0x534], 0xffffffff
call fcn.00475ea8
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