Function at 0x41e300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42b102
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], 0
push 0x200
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x64]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x41e3ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x94]
push eax
push str.CXSyncExeDlg::GetRegAsmFilePath__GetWindowsDirectory___Fail__ErrCode___d
push 4
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
mov ecx, dword [ebp + 0x94]
add esp, 0x10
lea eax, [esp + 0x10]
mov ecx, dword [ecx + 0xd0]
push eax
call fcn.00407370
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x270]
push 0x440b68
mov ecx, esi
call fcn.004284f2
jmp 0x41e659
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x60]
lea eax, [esp + 0x14]
push edx
mov edi, 1
push 0x435020
push eax
mov dword [esp + 0x274], edi
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41e41b
mov edx, dword [ebp + 0x94]
push str.CXSyncExeDlg::GetRegAsmFilePath__Windows_directory_is_empty.
push 4
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
mov esi, dword [esp + 0x27c]
add esp, 0xc
mov ecx, esi
push 0x440b68
call fcn.004284f2
mov dword [esp + 0x20], edi
jmp 0x41e648
lea ecx, [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x435084
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41e45b
push 0x435084
lea ecx, [esp + 0x18]
call fcn.0042851c
lea edx, [esp + 0x14]
push str.Microsoft.NETFramework_
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x268], 2
call fcn.0042855e
lea ecx, [esp + 0x1c]
push 0x435080
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x274], 3
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x270], 4
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x268], 3
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x41e5ea
mov bl, 8
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::FindNextFileA
push 0x106
lea ecx, [esp + 0x2c]
mov esi, eax
call sub.MFC42.DLL_CFileFind::MatchesMask
test eax, eax
jne 0x41e5e2
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x41e5e2
mov eax, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
call dword [eax + 0x40]
test eax, eax
je 0x41e5e2
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::GetFileName
push str.v2.0.
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 5
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x41e5d1
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator
push str.RegAsm.exe
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x274], 6
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
call fcn.0042855e
mov eax, dword [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x270], 9
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x44]
jne 0x41e676
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x44]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x268], 3
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x41e4cf
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::Close
mov edx, dword [ebp + 0x94]
push str.CXSyncExeDlg::GetRegAsmFilePath__RegAsm.exe_file_directory_is_empty.
push 4
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
mov esi, dword [esp + 0x27c]
add esp, 0xc
mov ecx, esi
push 0x440b68
call fcn.004284f2
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x268], 2
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x1c]
mov byte [esp + 0x268], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x260]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x25c
ret 4
call sub.MFC42.DLL_CFileFind::Close
mov esi, dword [esp + 0x270]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], edi
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x268], 3
call sub.MFC42.DLL_CString::CString
jmp 0x41e626