Function at 0x454fc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], esi
mov dword [esi], eax
mov dword [esi + 0x294], 0
mov dword [esi + 0x298], 0
mov dword [esi + 0x29c], 0
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x2a4], 0xfa0
mov dword [esi + 0x2b0], 0
mov dword [esi + 0x2b4], 0
mov dword [esi + 0x2b8], 0xfa0
call fcn.004917a0
mov ecx, dword [esi]
lea eax, [ebp + 8]
push 0x10000603
push eax
add ecx, 0x34
mov dword [ebp - 4], 0
call fcn.0041a900
mov eax, dword [eax]
mov byte [ebp - 4], 1
test eax, eax
je 0x455069
mov eax, dword [eax]
jmp 0x45506b
xor eax, eax
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
movdqu xmmword [ebp - 0x48], xmm0
call fcn.0041d070
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 3
test edi, edi
je 0x4550e1
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x4550da
test edi, edi
je 0x4550da
mov eax, dword [edi]
test eax, eax
je 0x4550ba
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4550d1
push eax
call fcn.004a6088
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.004a46e7
add esp, 4
mov dword [ebp + 8], 0
xor ecx, ecx
movzx eax, word [ecx + str.SoftwareSynapticsSynTPEnhOSD]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x252], ax
test ax, ax
jne 0x4550e3
push dword [ebp - 0x44]
lea ecx, [ebp - 0x250]
call fcn.00405510
push 0
push 0
push 0
lea eax, [ebp - 0x250]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x30]
call fcn.004948e0
test eax, eax
je 0x4552ed
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4e2990
lea ecx, [ebp - 0x2c]
call fcn.004a1050
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov dword [esi + 4], eax
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push str.OSDTestWndFlags
call fcn.004a1050
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push str.OSDTPOnOffNotificationSupported
call fcn.004a1050
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x294], eax
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push str.OSDTPOnOffNotificationEnabled
call fcn.004a1050
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x298], eax
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push str.OSDTPOnOffNoNotificationForExtDevice
call fcn.004a1050
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x2a0], eax
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push str.OSDTPOnOffNotificationTimeInterval
call fcn.004a1050
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x2a4], eax
test eax, eax
jne 0x45521c
mov dword [esi + 0x2a4], 0xfa0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x14]
push eax
push str.OSDTPOnOffAudioNotificationEnabled
lea ecx, [ebp - 0x2c]
call fcn.004a1050
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x29c], eax
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push str.OSDModeSwitchNotificationSupported
call fcn.004a1050
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x2b0], eax
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push str.OSDModeSwitchNotificationEnabled
call fcn.004a1050
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x2b4], eax
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push str.OSDModeSwitchNotificationTimeInterval
call fcn.004a1050
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x2b8], eax
test eax, eax
jne 0x4552c6
mov dword [esi + 0x2b8], 0xfa0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
lea eax, [ebp - 0x14]
push eax
push str.DisableTouchInjectionForDesktop
lea ecx, [ebp - 0x2c]
call fcn.004a1050
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x6e8], eax
cmp dword [esi + 0x294], 0
je 0x455400
push ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x24e]
push eax
call fcn.004a4860
add esp, 0xc
lea eax, [ebp - 0x250]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x250]
lea ebx, [esi + 0x2d4]
mov eax, ecx
mov edx, ebx
sub edx, eax
lea ecx, [ecx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x455340
lea ecx, [ebp - 0x250]
lea edi, [esi + 0x4dc]
mov eax, ecx
mov edx, edi
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x455362
push 0
call fcn.0049e2e0
add esp, 4
add edi, 0xfffffffe
cmp eax, 7
jne 0x4553c0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x455384
mov ecx, 0x13
mov esi, str.MediaWindows_XP_Hardware_Remove.wav
rep movsd dword es:[edi], dword [esi]
add ebx, 0xfffffffe
nop
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x4553a0
mov edi, ebx
mov ecx, 0x13
mov esi, str.MediaWindows_XP_Hardware_Insert.wav
rep movsd dword es:[edi], dword [esi]
jmp 0x4553fc
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4553c0
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 0x4553e0
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 esi, dword [ebp - 0x18]
pop ebx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00454680
push 5
push 5
mov ecx, esi
call fcn.00458590
push 0
call fcn.0049e2e0
add esp, 4
pop edi
cmp eax, 0xb
jl 0x45546d
mov eax, dword [esi]
mov dword [ebp + 0xc], 0
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x45546d
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push 0x10000102
push ecx
call dword [eax + 0xc]
cmp dword [ebp + 0xc], 2
jne 0x45546d
cmp dword [0x51651c], 0
je 0x455463
call fcn.0047faf0
test eax, eax
je 0x455463
mov eax, 1
jmp 0x455465
xor eax, eax
push eax
mov ecx, esi
call fcn.004576e0
mov ecx, dword [esi]
call fcn.0041e170
test eax, eax
je 0x45548f
push fcn.00456ca0
push 0x3e8
push esi
push dword [0x516658]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x48]
call fcn.00416960
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00491a30
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8