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

Disassembly:
mov r11, rsp
sub rsp, 0xf38
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r12
mov rax, qword [0x00522be8]
xor rax, rsp
mov qword [rsp + 0xf00], rax
mov ebp, r8d
mov rbx, rcx
mov qword [rcx], rdx
xor r12d, r12d
mov dword [rcx + 0x294], r12d
mov dword [rcx + 0x298], r12d
mov dword [rcx + 0x29c], r12d
mov dword [rcx + 0x2a4], 0xfa0
lea rcx, [r11 - 0xe88]
call fcn.004926d0
nop
mov rcx, qword [rbx]
add rcx, 0x58
mov r8d, 0x10000603
lea rdx, [rsp + 0xa8]
call fcn.004174d0
mov rdx, qword [rax]
test rdx, rdx
je 0x45589b
mov rdx, qword [rdx]
jmp 0x45589e
mov rdx, r12
lea rcx, [rsp + 0x2f0]
call fcn.0040b6f0
mov rdi, qword [rsp + 0xa8]
test rdi, rdi
je 0x4558f0
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
jne 0x4558f0
test rdi, rdi
je 0x4558f0
mov rcx, qword [rdi]
test rcx, rcx
je 0x4558da
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x4558e8
call fcn.004a8850
mov rcx, rdi
call fcn.004a6f90
mov rcx, r12
lea rdx, str.SoftwareSynapticsSynTPEnhOSD
nop
nop
movzx eax, word [rcx + rdx]
mov word [rsp + rcx + 0xe0], ax
add rcx, 2
test ax, ax
jne 0x455900
cmp word [rsp + 0x4f0], ax
je 0x455982
cmp word [rsp + 0xe0], ax
je 0x455946
lea rdi, [rsp + 0xe0]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x004e8098]
mov dword [rdi - 2], eax
lea rdi, [rsp + 0xe0]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x4f0]
xor ecx, ecx
nop
nop
nop
movzx eax, word [rdx + rcx]
mov word [rdi + rcx - 2], ax
add rcx, 2
test ax, ax
jne 0x455970
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rsp + 0xe0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xb8]
call fcn.0049da30
test eax, eax
je 0x455af9
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x4c]
lea rdx, str.OSDSupported
lea rcx, [rsp + 0xb8]
call fcn.0049d2a0
mov edx, dword [rsp + 0x4c]
mov dword [rbx + 8], edx
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x80]
lea rdx, str.OSDTestWndFlags
lea rcx, [rsp + 0xb8]
call fcn.0049d2a0
mov edx, dword [rsp + 0x80]
mov dword [rbx + 0xc], edx
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x90]
lea rdx, str.OSDTPOnOffNotificationSupported
lea rcx, [rsp + 0xb8]
call fcn.0049d2a0
mov edx, dword [rsp + 0x90]
mov dword [rbx + 0x294], edx
mov dword [rsp + 0x78], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x70]
lea rdx, str.OSDTPOnOffNotificationEnabled
lea rcx, [rsp + 0xb8]
call fcn.0049d2a0
mov edx, dword [rsp + 0x70]
mov dword [rbx + 0x298], edx
mov dword [rsp + 0x88], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x48]
lea rdx, str.OSDTPOnOffNotificationTimeInterval
lea rcx, [rsp + 0xb8]
call fcn.0049d2a0
mov edx, dword [rsp + 0x48]
mov dword [rbx + 0x2a4], edx
test edx, edx
jne 0x455ac7
mov dword [rbx + 0x2a4], 0xfa0
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rdx, str.OSDTPOnOffAudioNotificationEnabled
lea rcx, [rsp + 0xb8]
call fcn.0049d2a0
mov edx, dword [rsp + 0x58]
mov dword [rbx + 0x29c], edx
cmp dword [rbx + 0x294], 0
je 0x455da1
mov word [rsp + 0xcf0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xcf2]
call fcn.004a8900
mov edx, 0x104
lea rcx, [rsp + 0xcf0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rsp + 0xcf0]
lea rax, [rsp + 0xcf0]
lea rcx, [rbx + 0x2bc]
sub rcx, rax
nop
nop
nop
nop
movzx eax, word [rdx]
mov word [rdx + rcx], ax
add rdx, 2
test ax, ax
jne 0x455b60
lea rcx, [rsp + 0xcf0]
lea rdi, [rbx + 0x4c4]
lea rax, [rsp + 0xcf0]
mov rdx, rdi
sub rdx, rax
nop
movzx eax, word [rcx]
mov word [rcx + rdx], ax
add rcx, 2
test ax, ax
jne 0x455b90
call fcn.0049de50
cmp eax, 7
jne 0x455caa
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.MediaWindows_XP_Hardware_Remove.wav]
mov qword [rdi - 2], rax
mov rax, qword [0x004ee668]
mov qword [rdi + 6], rax
mov rax, qword [0x004ee670]
mov qword [rdi + 0xe], rax
mov rax, qword [0x004ee678]
mov qword [rdi + 0x16], rax
mov rax, qword [0x004ee680]
mov qword [rdi + 0x1e], rax
mov rax, qword [0x004ee688]
mov qword [rdi + 0x26], rax
mov rax, qword [0x004ee690]
mov qword [rdi + 0x2e], rax
mov rax, qword [0x004ee698]
mov qword [rdi + 0x36], rax
mov rax, qword [0x004ee6a0]
mov qword [rdi + 0x3e], rax
mov eax, dword [0x004ee6a8]
mov dword [rdi + 0x46], eax
lea rdi, [rbx + 0x2bc]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.MediaWindows_XP_Hardware_Insert.wav]
mov qword [rdi - 2], rax
mov rax, qword [0x004ee618]
mov qword [rdi + 6], rax
mov rax, qword [0x004ee620]
mov qword [rdi + 0xe], rax
mov rax, qword [0x004ee628]
mov qword [rdi + 0x16], rax
mov rax, qword [0x004ee630]
mov qword [rdi + 0x1e], rax
mov rax, qword [0x004ee638]
mov qword [rdi + 0x26], rax
mov rax, qword [0x004ee640]
mov qword [rdi + 0x2e], rax
mov rax, qword [0x004ee648]
mov qword [rdi + 0x36], rax
mov rax, qword [0x004ee650]
mov qword [rdi + 0x3e], rax
mov eax, dword [0x004ee658]
mov dword [rdi + 0x46], eax
jmp 0x455da1
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.MediaWindows_Hardware_Remove.wav]
mov qword [rdi - 2], rax
mov rax, qword [0x004ee5c8]
mov qword [rdi + 6], rax
mov rax, qword [0x004ee5d0]
mov qword [rdi + 0xe], rax
mov rax, qword [0x004ee5d8]
mov qword [rdi + 0x16], rax
mov rax, qword [0x004ee5e0]
mov qword [rdi + 0x1e], rax
mov rax, qword [0x004ee5e8]
mov qword [rdi + 0x26], rax
mov rax, qword [0x004ee5f0]
mov qword [rdi + 0x2e], rax
mov rax, qword [0x004ee5f8]
mov qword [rdi + 0x36], rax
mov eax, dword [0x004ee600]
mov dword [rdi + 0x3e], eax
movzx eax, word [0x004ee604]
mov word [rdi + 0x42], ax
lea rdi, [rbx + 0x2bc]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.MediaWindows_Hardware_Insert.wav]
mov qword [rdi - 2], rax
mov rax, qword [0x004ee578]
mov qword [rdi + 6], rax
mov rax, qword [0x004ee580]
mov qword [rdi + 0xe], rax
mov rax, qword [0x004ee588]
mov qword [rdi + 0x16], rax
mov rax, qword [0x004ee590]
mov qword [rdi + 0x1e], rax
mov rax, qword [0x004ee598]
mov qword [rdi + 0x26], rax
mov rax, qword [0x004ee5a0]
mov qword [rdi + 0x2e], rax
mov rax, qword [0x004ee5a8]
mov qword [rdi + 0x36], rax
mov eax, dword [0x004ee5b0]
mov dword [rdi + 0x3e], eax
movzx eax, word [0x004ee5b4]
mov word [rdi + 0x42], ax
mov edx, ebp
mov rcx, rbx
call fcn.00454b60
cmp dword [rbx + 0x1c], 0
je 0x456047
cmp dword [rbx + 0x68], 5
jne 0x455dc1
cmp dword [rbx + 0x6c], 5
je 0x455e3d
xor edx, edx
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdi, qword [0x00526530]
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
movsxd r8, eax
btr r8, 0x13
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov r9d, 0x85
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov edx, 0xffffffec
mov r8d, 0x800a8
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edx, 5
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
lea r8, [rsp + 0x98]
xor edx, edx
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.DISPLAY
call qword [sym.imp.GDI32.dll_CreateDCW]
mov rsi, rax
mov edx, 8
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rbx + 0x68], eax
mov edx, 0xa
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rbx + 0x6c], eax
cmp dword [rbx + 0x294], 0
je 0x455ea6
mov dword [rbx + 0x74], 0x3f800000
mov dword [rbx + 0x78], 0x3f800000
jmp 0x455ed3
cvtsi2sd xmm1, dword [rbx + 0x68]
cvtsi2sd xmm0, dword [rbx + 0x60]
divsd xmm1, xmm0
cvtsd2ss xmm1, xmm1
movss dword [rbx + 0x74], xmm1
cvtsi2sd xmm2, eax
cvtsi2sd xmm0, dword [rbx + 0x64]
divsd xmm2, xmm0
cvtsd2ss xmm1, xmm2
movss dword [rbx + 0x78], xmm1
mov eax, dword [rbx + 0x38]
sub eax, dword [rbx + 0x30]
cvtsi2ss xmm2, eax
mulss xmm2, dword [rbx + 0x74]
mov ecx, dword [rsp + 0xa0]
mov eax, ecx
mov edx, dword [rsp + 0x98]
sub eax, edx
cvtsi2ss xmm1, eax
mulss xmm1, dword [rbx + 0x7c]
movaps xmm0, xmm2
movss xmm3, dword [0x004eec70]
mulss xmm0, xmm3
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rbx + 0x20], eax
cmp eax, edx
jge 0x455f1e
mov dword [rbx + 0x20], edx
cvttss2si eax, xmm2
sub ecx, eax
cmp dword [rbx + 0x20], ecx
jle 0x455f2c
mov dword [rbx + 0x20], ecx
mov r8d, dword [rbx + 0x20]
lea edx, [rax + r8]
mov dword [rbx + 0x28], edx
mov eax, dword [rbx + 0x3c]
sub eax, dword [rbx + 0x34]
cvtsi2ss xmm2, eax
mulss xmm2, dword [rbx + 0x78]
mov ecx, dword [rsp + 0xa4]
mov eax, ecx
mov edi, dword [rsp + 0x9c]
sub eax, edi
cvtsi2ss xmm1, eax
mulss xmm1, dword [rbx + 0x80]
movaps xmm0, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rbx + 0x24], eax
cmp eax, edi
jge 0x455f7d
mov dword [rbx + 0x24], edi
cvttss2si eax, xmm2
sub ecx, eax
cmp dword [rbx + 0x24], ecx
jle 0x455f8b
mov dword [rbx + 0x24], ecx
mov r9d, dword [rbx + 0x24]
add eax, r9d
mov dword [rbx + 0x2c], eax
sub eax, r9d
sub edx, r8d
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [rbx + 0x294], 0
je 0x456008
mov r9d, dword [rbx + 0x2c]
sub r9d, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x28]
sub r8d, dword [rbx + 0x20]
mov dword [rsp + 0x28], 0x12
mov dword [rsp + 0x20], 0x12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov r8d, 1
mov rdx, rax
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.0044ded0
mov rdx, rdi
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r9, [0x00450470]
mov r8d, 0x3e8
mov rdx, rbx
mov rcx, qword [0x00526530]
call qword [sym.imp.USER32.dll_SetTimer]
nop
lea rcx, [rsp + 0xb0]
call fcn.00490620
mov rcx, qword [rsp + 0xf00]
xor rcx, rsp
call fcn.004a7100
mov rbx, qword [rsp + 0xf58]
mov rbp, qword [rsp + 0xf30]
mov rsi, qword [rsp + 0xf28]
mov rdi, qword [rsp + 0xf20]
mov r12, qword [rsp + 0xf18]
add rsp, 0xf38
ret