Function at 0x4190e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42fbe7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov eax, dword [0x4414d8]
push ebx
push ebp
mov dword [esp + 0x32c], eax
xor ebp, ebp
lea eax, [esp + 0x120]
push eax
push ebp
push ebp
push 0x1c
mov dword [esp + 0x18], ebp
push ebp
xor bl, bl
mov word [esp + 0x33c], bp
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
test eax, eax
jl 0x41930a
push esi
lea ecx, [esp + 0x24]
push edi
lea edx, [esp + 0x128]
mov dword [esp + 0x24], ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00412de0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x348]
push eax
mov ecx, esi
mov dword [esp + 0x344], ebp
call dword [0x43224c]
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.MSVCR71.dll_free]
or ebx, 0xffffffff
lea ecx, [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x340], ebx
je 0x41918c
push eax
call edi
add esp, 4
lea edx, [esp + 0x28]
mov dword [esp + 0x24], edx
call dword [0x43d040]
push eax
push str.Ahead
lea ecx, [esp + 0x2c]
call fcn.00401cf0
mov eax, dword [esp + 0x24]
push eax
push 0x43490c
mov ecx, esi
mov dword [esp + 0x348], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const__]
mov ecx, eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const__]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x340], ebx
je 0x4191e7
push eax
call edi
add esp, 4
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
lea edx, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], edx
call fcn.00412de0
mov eax, dword [esp + 0x24]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x419222
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x419222
xor bl, bl
jmp 0x419224
mov bl, 1
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x419236
push eax
call edi
add esp, 4
test bl, bl
je 0x419241
mov al, 1
jmp 0x4192e5
push str.NMIndexingService
lea ecx, [esp + 0x20]
call fcn.004122f0
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x340], 2
je 0x4192c3
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x18], ebp
mov edx, dword [eax]
push eax
call dword [edx + 0x1c]
cmp word [esp + 0x10], bp
setne al
test al, al
je 0x4192c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x14]
push str.OpenOrCreateLocalAppFolder:_CreateDirectory_failed_with_error__x0x
push edx
call fcn.00418f80
add esp, 0xc
mov eax, dword [eax]
push 0x2b
push str.s:_nerohomeoctane_neromediamanager_octane4_release_neromediamanagermedialibrary_srccommon.._.._.._Common_include_helpers.h
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x34c], 3
call fcn.00411f30
mov eax, dword [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x344], 0xffffffff
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4192e3
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x330]
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x328]
pop ebx
call fcn.0042db2b
add esp, 0x334
ret
push str.NMIndexingService
lea ecx, [esp + 0x10]
call fcn.004122f0
mov eax, dword [esp + 0xc]
cmp eax, ebp
mov dword [esp + 0x338], 4
je 0x419360
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x10], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp word [esp + 8], bp
setne al
test al, al
je 0x419360
push 0x2e
push str.s:_nerohomeoctane_neromediamanager_octane4_release_neromediamanagermedialibrary_srccommon.._.._.._Common_include_helpers.h
push str.SHGetFolderPath___for_CSIDL_LOCAL_APPDATA_failed
lea ecx, [esp + 0x18]
call fcn.00411f30
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x33c], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x419384
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
jmp 0x4192e7