Function at 0x40daf0
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41fb77
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
mov eax, dword [0x432ed8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::corestring_wchar_t____cdecl_CORE::corestring_wchar_t_::getModuleName_struct_HINSTANCE____]
add esp, 8
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MessageFrameWork.dll_public:_wchar_t_const____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::corestring_wchar_t____cdecl_CORE::corestring_wchar_t_::lastPath_wchar_t_const__]
add esp, 8
mov byte [esp + 0x44], 1
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_wchar_t_const____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__void_const]
push eax
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::corestring_wchar_t____cdecl_CORE::corestring_wchar_t_::dropSuffix_wchar_t_const__]
add esp, 8
mov bl, 3
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x20]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
push 0x424c6c
lea eax, [esp + 0x1c]
push eax
push 0x424c68
lea ecx, [esp + 0x2c]
push ecx
push str.mvdi
lea edx, [esp + 0x38]
push edx
push 0x424c68
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MessageFrameWork.dll_public:_wchar_t_const____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x50]
push ecx
push str.Plugins_
lea edx, [esp + 0x5c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0xffffffffffffffff
push str.HKLM
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::constructor_wchar_t_const___unsigned_int_]
mov byte [esp + 0x78], 4
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x7c], bl
call fcn.0040d9b0
add esp, 8
mov byte [esp + 0x74], 5
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__]
mov byte [esp + 0x6c], 6
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__]
mov byte [esp + 0x64], 7
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__]
mov byte [esp + 0x5c], 8
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__]
mov byte [esp + 0x54], 9
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__]
mov byte [esp + 0x4c], 0xa
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__]
mov byte [esp + 0x44], 0xc
lea ecx, [esp + 0x20]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0xd
lea ecx, [esp + 0x24]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0xe
lea ecx, [esp + 0x28]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0xf
lea ecx, [esp + 0x2c]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0x10
lea ecx, [esp + 0x30]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0x11
lea ecx, [esp + 0x34]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
push 0x422c74
lea ecx, [esp + 0x1c]
call dword [sym.imp.MessageFrameWork.dll_public:_wchar_t_const____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::corestring_wchar_t____cdecl_CORE::corestring_wchar_t_::readRegistry_wchar_t_const___wchar_t_const__]
add esp, 0xc
mov byte [esp + 0x44], 0x12
lea ecx, [esp + 0x10]
call dword [sym.imp.MessageFrameWork.dll_public:_wchar_t_const____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__void_const]
push eax
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.MessageFrameWork.dll_public:_static_class_CORE::corestring_wchar_t____cdecl_CORE::corestring_wchar_t_::dropLastPath_wchar_t_const__]
add esp, 8
mov byte [esp + 0x44], 0x13
push 0x424c68
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__]
mov esi, eax
mov byte [esp + 0x44], 0x14
lea ecx, [esp + 0xc]
call dword [sym.imp.MessageFrameWork.dll_public:_wchar_t_const____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__void_const]
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call dword [sym.imp.MessageFrameWork.dll_public:_class_CORE::corestring_wchar_t____thiscall_CORE::corestring_wchar_t_::operator_wchar_t_const__]
mov byte [esp + 0x44], 0x16
lea ecx, [esp + 0x34]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0x17
lea ecx, [esp + 0x30]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
lea ecx, [esp + 0xc]
call dword [sym.imp.MessageFrameWork.dll_public:_bool___thiscall_CORE::corestring_wchar_t_::empty_void_const]
test al, al
jne 0x40dd9b
lea ecx, [esp + 0x14]
call dword [sym.imp.MessageFrameWork.dll_public:_wchar_t_const____thiscall_CORE::corestring_wchar_t_::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40dd9b
mov byte [esp + 0x44], 0x12
lea ecx, [esp + 0x14]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0x11
lea ecx, [esp + 0xc]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret
mov byte [esp + 0x44], 0x12
lea ecx, [esp + 0x14]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0x11
lea ecx, [esp + 0xc]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov byte [esp + 0x44], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.MessageFrameWork.dll_public:_void___thiscall_CORE::corestring_wchar_t_::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret