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

Disassembly:
push 0xffffffffffffffff
push 0x57e4f2
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x62d414]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x390], 0
push 0x80
lea eax, [esp + 0x7c]
push eax
lea ecx, [edi + 0x80]
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
push str.CLSID_
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ebx, 1
mov byte [esp + 0x390], bl
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x44]
call dword [0x598250]
push 0x598d40
lea ecx, [esp + 0x44]
call dword [0x598250]
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.LogIntfLevel
mov ebp, ebx
mov byte [esp + 0x3b], 0
mov dword [esp + 0x44], 0xa00000
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x3b0], 2
sub esp, 0x1c
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x3cc], 3
mov byte [esp + 0x3cc], bl
mov ecx, edi
call fcn.004975b0
mov esi, dword [sym.imp.MSVCR90.dll__wtoi]
test al, al
je 0x4982cd
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x4982c5
lea eax, [esp + 0x28]
push eax
call esi
add esp, 4
mov ebp, eax
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str.CommitIntfWrites
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x3b0], 4
sub esp, 0x1c
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x3cc], 5
mov byte [esp + 0x3cc], bl
mov ecx, edi
call fcn.004975b0
test al, al
je 0x498338
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x49832b
lea eax, [esp + 0x28]
push eax
call esi
add esp, 4
test eax, eax
setne byte [esp + 0x17]
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str.LogIntfSize
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x3b0], 6
sub esp, 0x1c
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x3cc], 7
mov byte [esp + 0x3cc], bl
mov ecx, edi
call fcn.004975b0
test al, al
je 0x4983a0
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x498396
lea eax, [esp + 0x28]
push eax
call esi
add esp, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str.LogIntf
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x3b0], 8
sub esp, 0x1c
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x3cc], 9
mov byte [esp + 0x3cc], bl
mov ecx, edi
call fcn.004975b0
test al, al
je 0x4984e4
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x498402
lea eax, [esp + 0x28]
push eax
call esi
add esp, 4
test eax, eax
je 0x4984e4
lea eax, [esp + 0x17c]
push eax
push 0
push str.PSTi
push 0x5f5738
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [esp + 0x17c]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x38], 0
jbe 0x4984e4
cmp ebp, 8
je 0x4984e4
push 0x10
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x390], 0xa
test eax, eax
je 0x498475
mov ecx, eax
call fcn.00495f80
mov esi, eax
jmp 0x498477
xor esi, esi
mov byte [esp + 0x390], bl
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x390], 0xb
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x4984a4
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x17]
push 0
push ebx
push ecx
push edx
push ebp
push eax
mov ecx, esi
call fcn.00419810
test eax, eax
jne 0x4984cf
test esi, esi
je 0x4984cd
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ebx
mov ecx, esi
call edx
xor esi, esi
mov byte [esp + 0x390], bl
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test esi, esi
jne 0x4984ed
mov ecx, edi
call fcn.00496340
mov esi, eax
mov byte [esp + 0x390], 0
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0x390], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.0051ed00
add esp, 0x380
ret