Function at 0x4020d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [0x4ad108]
cmp ecx, ebx
je 0x402151
mov edi, ecx
mov dword [ebp - 0x224], edi
mov byte [ebp - 4], 2
call sym.Smart_Dll_not_found_Fixer_Pro.exe_protected:_long_int___thiscall_nsSystemFixer::CRBDictionary::ResetContent_void_
lea esi, [edi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CMap_unsigned_long_int__unsigned_long_int__struct_nsSystemFixer::CRBDictionary::DICITEMINFO___struct_nsSystemFixer::CRBDictionary::DICITEMINFO__.0
call fcn.00402d00
mov ecx, edi
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push edi
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [0x4ad108], ebx
push ebx
push 0x3a
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 1
je 0x40219a
push 2
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [ebp - 4], 3
push 0x47a244
mov ecx, eax
mov dword [ebp - 0x228], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
mov byte [ebp - 0x21d], 1
test eax, eax
jne 0x4021a0
mov byte [ebp - 0x21d], bl
mov dword [ebp - 4], ebx
test byte [ebp - 0x228], 1
je 0x4021b8
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [ebp - 0x21d], bl
je 0x402252
push 0x208
lea ecx, [ebp - 0x21c]
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x21a]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edi, [ebp + 8]
call fcn.004026a0
add esp, 8
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call dword [0x479d44]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0x21c]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.004026a0
add esp, 8
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call dword [0x479d44]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push 0x20
call dword [sym.imp.mfc100u.dll_new]
mov esi, eax
add esp, 4
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 6
cmp esi, ebx
je 0x40228a
push ebx
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x228], esp
push edx
call dword [0x479d48]
mov ecx, esi
call sym.Smart_Dll_not_found_Fixer_Pro.exe_public:_void___thiscall_nsSystemFixer::CRBDictionary::constructor_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____int_
jmp 0x40228c
xor eax, eax
mov byte [ebp - 4], bl
mov ecx, eax
mov dword [0x4ad108], eax
call sym.Smart_Dll_not_found_Fixer_Pro.exe_public:_long_int___thiscall_nsSystemFixer::CRBDictionary::VerifyDictionary_void_
lea ecx, [ebp + 8]
mov esi, eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret