Function at 0x471460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509e86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ac
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
lea ecx, [ebp - 0xa8]
push 0
mov dword [ebp - 0x10], edi
mov dword [edi], eax
mov dword [edi + 0x298], 0
mov dword [edi + 0x29c], 0
mov dword [edi + 0x2a0], 0
mov dword [edi + 0x2a4], 0
mov dword [edi + 0x2a8], 0xfa0
mov dword [edi + 0x2b4], 0
mov dword [edi + 0x2b8], 0
mov dword [edi + 0x2bc], 0xfa0
call fcn.004b90e0
mov ecx, dword [edi]
xor eax, eax
mov word [ebp - 0x2b0], ax
add ecx, 0x34
push 0x10000603
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
call fcn.00422080
mov eax, dword [eax]
mov byte [ebp - 4], 1
test eax, eax
je 0x471517
mov eax, dword [eax]
jmp 0x471519
xor eax, eax
push ebx
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movdqu xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x70], 0
call fcn.00425ca0
mov esi, dword [ebp + 8]
test esi, esi
je 0x471599
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x471592
test esi, esi
je 0x471592
mov eax, dword [esi]
test eax, eax
je 0x471572
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x471589
push eax
call fcn.004d0e0a
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.004cf489
add esp, 4
mov dword [ebp + 8], 0
lea ecx, [ebp - 0x6c]
call fcn.00402b50
mov dword [ebp - 0x6c], vtable.CMultiLevelRegistryKey.0
mov byte [ebp - 4], 4
xor ecx, ecx
mov edi, edi
movzx eax, word [ecx + str.SoftwareSynapticsSynTPEnhOSD]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x2b2], ax
test ax, ax
jne 0x4715b0
mov ebx, dword [ebp - 0x84]
lea ecx, [ebp - 0x2b0]
push ebx
call fcn.0040a510
push 0
push 1
push 0
lea eax, [ebp - 0x2b0]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.004bd990
push 0
call fcn.004c7a40
add esp, 4
cmp eax, 0xd
jl 0x4716e8
push 0xb
call fcn.004c7de0
mov edx, eax
mov dword [ebp - 0x14], 0xf
add esp, 4
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x47162d
xor ecx, ecx
jmp 0x47163b
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471632
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00410dc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004304c0
mov edx, eax
add esp, 8
cmp dword [edx + 0x14], 8
jb 0x471663
mov edx, dword [edx]
xor ecx, ecx
movzx eax, word [ecx + str.SoftwareSynapticsSynTPEnhOSD]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x2b2], ax
test ax, ax
jne 0x471665
push edx
lea ecx, [ebp - 0x2b0]
call fcn.0040a510
push ebx
lea ecx, [ebp - 0x2b0]
call fcn.0040a510
cmp dword [ebp - 0x2c], 8
jb 0x4716a5
push dword [ebp - 0x40]
call fcn.004cf489
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
jb 0x4716ce
push dword [ebp - 0x28]
call fcn.004cf489
add esp, 4
push 0
push 1
push 0
lea eax, [ebp - 0x2b0]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.004bd990
push 0
call fcn.004c7de0
mov edx, eax
mov dword [ebp - 0x14], 0xf
add esp, 4
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x47170f
xor ecx, ecx
jmp 0x47171d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471714
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00410dc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004304c0
mov edx, eax
add esp, 8
cmp dword [edx + 0x14], 8
jb 0x471745
mov edx, dword [edx]
xor ecx, ecx
jmp 0x471750
movzx eax, word [ecx + str.SoftwareSynapticsSynTPEnhOSD]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x2b2], ax
test ax, ax
jne 0x471750
push edx
lea ecx, [ebp - 0x2b0]
call fcn.0040a510
push ebx
lea ecx, [ebp - 0x2b0]
call fcn.0040a510
cmp dword [ebp - 0x2c], 8
jb 0x471790
push dword [ebp - 0x40]
call fcn.004cf489
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
jb 0x4717b9
push dword [ebp - 0x28]
call fcn.004cf489
add esp, 4
push 0
push 1
push 0
lea eax, [ebp - 0x2b0]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.004bd990
push 0
lea eax, [edi + 4]
push eax
push eax
push str.OSDSupported
lea ecx, [ebp - 0x6c]
call fcn.004baa70
push 0
lea eax, [edi + 8]
push eax
push eax
push str.OSDTestWndFlags
lea ecx, [ebp - 0x6c]
call fcn.004baa70
push 0
lea esi, [edi + 0x298]
push esi
push esi
push str.OSDTPOnOffNotificationSupported
lea ecx, [ebp - 0x6c]
call fcn.004baa70
push 0
lea eax, [edi + 0x29c]
push eax
push eax
push str.OSDTPOnOffNotificationEnabled
lea ecx, [ebp - 0x6c]
call fcn.004baa70
push 0
lea eax, [edi + 0x2a4]
push eax
push eax
push str.OSDTPOnOffNoNotificationForExtDevice
lea ecx, [ebp - 0x6c]
call fcn.004baa70
push 0
lea ebx, [edi + 0x2a8]
push ebx
push ebx
push str.OSDTPOnOffNotificationTimeInterval
lea ecx, [ebp - 0x6c]
call fcn.004baa70
cmp dword [ebx], 0
jne 0x471862
mov dword [ebx], 0xfa0
push 0
lea eax, [edi + 0x2a0]
push eax
push eax
push str.OSDTPOnOffAudioNotificationEnabled
lea ecx, [ebp - 0x6c]
call fcn.004baa70
push 0
lea eax, [edi + 0x2b4]
push eax
push eax
push str.OSDModeSwitchNotificationSupported
lea ecx, [ebp - 0x6c]
call fcn.004baa70
push 0
lea eax, [edi + 0x2b8]
push eax
push eax
push str.OSDModeSwitchNotificationEnabled
lea ecx, [ebp - 0x6c]
call fcn.004baa70
push 0
lea ebx, [edi + 0x2bc]
push ebx
push ebx
push str.OSDModeSwitchNotificationTimeInterval
lea ecx, [ebp - 0x6c]
call fcn.004baa70
cmp dword [ebx], 0
jne 0x4718c9
mov dword [ebx], 0xfa0
lea eax, [edi + 0x6ec]
lea ecx, [ebp - 0x6c]
mov dword [eax], 1
push 0
push eax
push eax
push str.DisableTouchInjectionForDesktop
call fcn.004baa70
cmp dword [esi], 0
je 0x4719ef
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x4b8], ax
lea eax, [ebp - 0x4b6]
push eax
call fcn.004cf600
add esp, 0xc
lea eax, [ebp - 0x4b8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x4b8]
lea ebx, [edi + 0x2d8]
mov eax, ecx
mov edx, ebx
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x471931
lea ecx, [ebp - 0x4b8]
lea edx, [edi + 0x4e0]
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x471951
push 0
call fcn.004c7a40
add esp, 4
add edi, 0x4de
cmp eax, 7
jne 0x4719b0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x471976
mov ecx, 0x13
mov esi, str.MediaWindows_XP_Hardware_Remove.wav
rep movsd dword es:[edi], dword [esi]
add ebx, 0xfffffffe
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x471991
mov edi, ebx
mov ecx, 0x13
mov esi, str.MediaWindows_XP_Hardware_Insert.wav
rep movsd dword es:[edi], dword [esi]
jmp 0x4719ec
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4719b0
mov ecx, 0x11
mov esi, str.MediaWindows_Hardware_Remove.wav
rep movsd dword es:[edi], dword [esi]
add ebx, 0xfffffffe
movsw word es:[edi], word [esi]
lea ecx, [ecx]
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x4719d0
mov edi, ebx
mov ecx, 0x11
mov esi, str.MediaWindows_Hardware_Insert.wav
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00470a60
push 5
push 5
mov ecx, edi
call fcn.00475420
push 0
call fcn.004c7a40
add esp, 4
pop esi
pop ebx
cmp eax, 0xb
jl 0x471a5d
mov eax, dword [edi]
mov dword [ebp + 0xc], 0
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x471a5d
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push 0x10000102
push ecx
call dword [eax + 0xc]
cmp dword [ebp + 0xc], 2
jne 0x471a5d
cmp dword [0x657864], 0
je 0x471a53
call fcn.004a56d0
test eax, eax
je 0x471a53
mov eax, 1
jmp 0x471a55
xor eax, eax
push eax
mov ecx, edi
call fcn.004740b0
mov ecx, dword [edi]
call fcn.00427430
test eax, eax
jne 0x471a8d
mov eax, dword [edi]
mov dword [ebp + 0xc], 0
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x471ab2
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push 0x10000102
push ecx
call dword [eax + 0xc]
cmp dword [ebp + 0xc], 0x10
jne 0x471ab2
mov ecx, 0x6570a8
call fcn.004872f0
test eax, eax
je 0x471ab2
push fcn.00473410
push 0x3e8
push edi
push dword [0x6579b8]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], vtable.CMultiLevelRegistryKey.0
call fcn.00402cb0
lea ecx, [ebp - 0x88]
call fcn.0041d740
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.004b93f0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8