Function at 0x4366a0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x46b688
push eax
mov eax, 0x1b4c
mov dword fs:[0], esp
call fcn.0044d240
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x1c], ebx
call fcn.004318b0
test eax, eax
je 0x436773
mov eax, dword [esp + 0x1b6c]
lea edx, [esp + 0x98]
mov ecx, dword [eax]
push ecx
push str.CPrepareUninstall_::_GetUninstallDeviceList_:_csINFID___s_n
push edx
call fcn.0044cb10
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 + 0x39c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x39c]
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 + 0x98]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x39c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [0x4855a4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1b64], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
push 0xa
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b68], 2
call fcn.0045c599
mov ecx, dword [0x4855a4]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x49c]
push 0x104
push edx
mov byte [esp + 0x1b6c], 4
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.INF_
lea ecx, [esp + 0x1c]
call fcn.0045ce46
mov esi, eax
lea eax, [esp + 0x49c]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x1b68], 5
call fcn.0045ce46
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x1b70], 6
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b68], 7
call fcn.0045cec5
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b64], 6
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b64], 5
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b64], 4
call fcn.0045cdd8
cmp dword [ebp + 4], ebx
je 0x4368ee
cmp dword [ebp + 8], 5
jne 0x43687e
lea edx, [esp + 0x24]
push str..INF
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0045d021
mov dword [esp + 0x1c], 1
mov byte [esp + 0x1b64], 8
jmp 0x4368a5
lea ecx, [esp + 0x24]
push str.OEM.INF
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0045d021
mov dword [esp + 0x1c], 2
mov dword [esp + 0x1b64], 9
push eax
lea ecx, [esp + 0x18]
call fcn.0045cec5
mov al, byte [esp + 0x1c]
mov dword [esp + 0x1b64], 8
test al, 2
je 0x4368d5
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
and al, 0xfd
mov dword [esp + 0x1c], eax
call fcn.0045cdd8
mov al, byte [esp + 0x1c]
mov dword [esp + 0x1b64], 4
test al, 1
je 0x436925
lea ecx, [esp + 0x28]
jmp 0x436920
lea eax, [esp + 0x24]
push str.OTHER.INF
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0045d021
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b68], 0xa
call fcn.0045cec5
mov byte [esp + 0x1b64], 4
lea ecx, [esp + 0x18]
call fcn.0045cdd8
push 0xa
lea ecx, [esp + 0x7c]
call fcn.0045c599
lea edx, [esp + 0x14]
lea ecx, [esp + 0x78]
push edx
mov byte [esp + 0x1b68], 0xb
call fcn.004013a0
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x1b64], 0xc
cmp eax, ebx
mov dword [esp + 0x94], eax
mov dword [esp + 0x34], eax
je 0x436a87
lea eax, [esp + 0x34]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.00401310
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b68], 0xd
call fcn.0045cec5
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b64], 0xc
call fcn.0045cdd8
mov dword [esp + 0x1068], ebx
mov dword [esp + 0x1070], ebx
mov dword [esp + 0x1074], ebx
mov dword [esp + 0x107c], ebx
lea ecx, [esp + 0x118c]
mov byte [esp + 0x1b64], 0xf
call fcn.0040b600
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1384]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b64], 0x10
mov eax, dword [edx - 8]
push eax
call fcn.0045d1bc
push eax
lea ecx, [esp + 0x106c]
call fcn.004129c0
lea eax, [esp + 0x198]
lea ecx, [esp + 0x1068]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x47e7d8
mov byte [esp + 0x1b74], 0x11
call fcn.00415f60
test eax, eax
je 0x436a69
lea ecx, [esp + 0x198]
push ecx
lea ecx, [esp + 0x24]
call fcn.0045cf15
lea ecx, [esp + 0x20]
call fcn.0045d28e
mov edx, dword [esp + 0x1b6c]
lea ecx, [esp + 0x20]
mov eax, dword [edx]
push eax
call fcn.0045bdb0
cmp eax, 0xffffffff
jne 0x436c4e
lea ecx, [esp + 0x1068]
mov byte [esp + 0x1b64], 0xc
call fcn.00412660
cmp dword [esp + 0x34], ebx
jne 0x436965
mov eax, dword [ebp + 8]
cmp eax, 0xb
je 0x436a94
cmp eax, 0xc
jne 0x436aad
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [ebp + 1]
call fcn.0044b330
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x436de0
cmp dword [ebp + 4], ebx
jne 0x436de0
lea edx, [esp + 0x24]
push str..INF
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0045d021
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b68], 0x13
call fcn.0045cec5
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b64], 0xc
call fcn.0045cdd8
push 0xa
lea ecx, [esp + 0x5c]
call fcn.0045c599
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b64], 0x14
push ecx
lea ecx, [esp + 0x5c]
call fcn.004013a0
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x1b64], 0x15
cmp eax, ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x1c], eax
je 0x436dcf
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x60]
call fcn.00401310
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b68], 0x16
call fcn.0045cec5
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b64], 0x15
call fcn.0045cdd8
mov dword [esp + 0x1068], ebx
mov dword [esp + 0x1070], ebx
mov dword [esp + 0x1074], ebx
mov dword [esp + 0x107c], ebx
lea ecx, [esp + 0x118c]
mov byte [esp + 0x1b64], 0x18
call fcn.0040b600
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1384]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1b64], 0x19
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
push eax
call fcn.0045d1bc
push eax
lea ecx, [esp + 0x106c]
call fcn.004129c0
lea edx, [esp + 0x198]
lea ecx, [esp + 0x1068]
push edx
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x47e7d8
mov byte [esp + 0x1b74], 0x1a
call fcn.00415f60
test eax, eax
je 0x436c2b
lea eax, [esp + 0x198]
lea ecx, [esp + 0x20]
push eax
call fcn.0045cf15
lea ecx, [esp + 0x20]
call fcn.0045d28e
mov ecx, dword [esp + 0x1b6c]
mov eax, dword [ecx]
lea ecx, [esp + 0x20]
push eax
call fcn.0045bdb0
cmp eax, 0xffffffff
jne 0x436d11
lea ecx, [esp + 0x1068]
mov byte [esp + 0x1b64], 0x15
call fcn.00412660
cmp dword [esp + 0x1c], ebx
jne 0x436b2a
jmp 0x436dcf
lea ecx, [esp + 0x5a0]
call fcn.0040b600
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x798]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5a0]
lea ecx, [esp + 0x1068]
push eax
mov byte [esp + 0x1b68], 0x12
call fcn.00413ae0
cmp dword [esp + 0x5a0], ebx
jne 0x436c95
mov dword [esp + 0x10], ebx
jmp 0x436cdc
lea edx, [esp + 0x5a4]
lea ecx, [esp + 0x5a4]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x436cdc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x5a0]
push eax
call fcn.00404920
cmp eax, 0xffffffff
je 0x436cca
mov eax, dword [esp + eax*4 + 0x798]
jmp 0x436ccc
xor eax, eax
push eax
lea ecx, [esp + 0x40]
call fcn.0045c6d6
cmp dword [esp + 0x10], ebx
jne 0x436cab
lea ecx, [esp + 0x5a0]
mov byte [esp + 0x1b64], 0x11
call fcn.0040b620
lea ecx, [esp + 0x1068]
mov dword [esp + 0x10], 1
mov byte [esp + 0x1b64], 0xc
call fcn.00412660
jmp 0x436de0
lea ecx, [esp + 0x5a0]
call fcn.0040b600
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x798]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x5a0]
lea ecx, [esp + 0x1068]
push edx
mov byte [esp + 0x1b68], 0x1b
call fcn.00413ae0
cmp dword [esp + 0x5a0], ebx
jne 0x436d58
mov dword [esp + 0x10], ebx
jmp 0x436d9f
lea ecx, [esp + 0x5a4]
lea eax, [esp + 0x5a4]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x436d9f
lea edx, [esp + 0x10]
lea ecx, [esp + 0x5a0]
push edx
call fcn.00404920
cmp eax, 0xffffffff
je 0x436d8d
mov eax, dword [esp + eax*4 + 0x798]
jmp 0x436d8f
xor eax, eax
push eax
lea ecx, [esp + 0x40]
call fcn.0045c6d6
cmp dword [esp + 0x10], ebx
jne 0x436d6e
lea ecx, [esp + 0x5a0]
mov byte [esp + 0x1b64], 0x1a
call fcn.0040b620
lea ecx, [esp + 0x1068]
mov dword [esp + 0x10], 1
mov byte [esp + 0x1b64], 0x15
call fcn.00412660
lea ecx, [esp + 0x58]
mov byte [esp + 0x1b64], 0xc
call fcn.0045c60d
mov esi, dword [esp + 0x40]
cmp esi, ebx
je 0x436e66
mov ebp, dword [esp + 0x1b70]
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x2c]
push eax
call fcn.0045cec5
sub esp, 8
lea eax, [esp + 0x34]
mov edi, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, edi
mov dword [esp + 0x3c], 1
call fcn.0045cb4d
mov ecx, dword [esp + 0x38]
mov dword [edi + 4], ecx
mov ecx, ebp
call fcn.00439570
call fcn.004318b0
test eax, eax
je 0x436e62
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x98]
push edx
push str.csDeviceID___s_n
push eax
call fcn.0044cb10
add esp, 0xc
lea ecx, [esp + 0x98]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
cmp esi, ebx
jne 0x436def
call fcn.004318b0
test eax, eax
je 0x436f09
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xf68]
push edx
push str.CPrepareUninstall_::_GetUninstallDeviceList_:_bRetVal___b_n
push eax
call fcn.0044cb10
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 + 0x29c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x29c]
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 + 0xf68]
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 + 0x29c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0x78]
mov byte [esp + 0x1b64], 4
call fcn.0045c60d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b64], 3
call fcn.0045cdd8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1b64], 2
call fcn.0045c60d
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b64], 1
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b64], bl
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov dword [esp + 0x1b64], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x1b5c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b58
ret 8