Function at 0x41a220
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48f498
push eax
mov dword fs:[0], esp
sub esp, 0x540
push ebx
push ebp
push esi
push edi
call fcn.0044bde0
test eax, eax
je 0x41a2dc
mov eax, dword [esp + 0x560]
lea ecx, [esp + 0x24c]
push eax
push str.CDIFxUninstall_::_DeleteMatchingOEMInf_:_pszEnumFileName___s_n
push ecx
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 + 0x4c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x4c]
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 + 0x24c]
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 + 0x4c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x558], ebp
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x44c]
push 0x104
push ecx
mov byte [esp + 0x560], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.INFOEM.INF
lea ecx, [esp + 0x18]
call fcn.004822f6
mov esi, eax
lea edx, [esp + 0x44c]
mov bl, 2
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x55c], bl
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x560], 3
push eax
call fcn.0048246b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x55c], 4
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x558], 3
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x558], bl
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x558], 1
call fcn.00482288
push 0xa
lea ecx, [esp + 0x30]
call fcn.00481a49
lea ecx, [esp + 0x18]
mov byte [esp + 0x558], 5
push ecx
lea ecx, [esp + 0x30]
call fcn.00401570
mov eax, dword [esp + 0x30]
mov bl, 6
cmp eax, ebp
mov byte [esp + 0x558], bl
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], eax
je 0x41a45a
lea edx, [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.004014e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x55c], 7
call fcn.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x558], bl
call fcn.00482288
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x560]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0041be30
test eax, eax
jne 0x41a424
cmp dword [esp + 0x20], ebp
jne 0x41a3cd
jmp 0x41a45a
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x24]
call fcn.0041b2f0
push str..PNF
push 0x4a91b0
lea ecx, [esp + 0x18]
call fcn.00480f00
mov ecx, dword [esp + 0x10]
push ebp
push ecx
lea ecx, [esp + 0x24]
call fcn.0041b2f0
mov ebp, 1
call fcn.0044bde0
test eax, eax
je 0x41a4f9
push ebp
lea edx, [esp + 0x350]
push str.CDIFxUninstall_::_DeleteMatchingOEMIn_:_bRetVal___d_n
push edx
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 + 0x14c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14c]
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 + 0x34c]
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 + 0x14c]
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 + 0x2c]
mov byte [esp + 0x558], 1
call fcn.00481abd
lea ecx, [esp + 0x10]
mov byte [esp + 0x558], 0
call fcn.00482288
lea ecx, [esp + 0x18]
mov dword [esp + 0x558], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x550]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54c
ret 4