Function at 0x433d00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x547834
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, ecx
call sub.mfc90u.dll_CDialog::OnInitDialog
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea esi, [ebp + 0x4d4]
push esi
xor ecx, ecx
mov dword [ebp + 0x5c4], eax
call fcn.0040b1a0
push 0x7f5
xor edi, edi
mov ebx, 0xfde9
call fcn.0040baf0
push 0x8e8
lea ebx, [edi + 1]
call fcn.0040baf0
push 0x852
xor ebx, ebx
call fcn.0040baf0
push 0x87b
lea ebx, [edi + 1]
call fcn.0040baf0
push 0x808
mov edi, 0x5613c0
mov ebx, 0x20
call fcn.0040baf0
xor edi, edi
push 0xfa1
lea ebx, [edi + 1]
call fcn.0040baf0
push 0x433
mov ecx, ebp
call sub.mfc90u.dll_CWnd::GetDlgItem
push 0x803
mov edi, 0xff
mov ebx, 3
mov dword [esp + 0x24], eax
call fcn.0040baf0
push 0x803
mov edi, 0xff0000
mov ebx, 4
call fcn.0040baf0
push 0x803
mov edi, 0x666666
mov ebx, 5
call fcn.0040baf0
push 0x803
mov ebx, 6
call fcn.0040baf0
lea ecx, [esp + 0x1c]
call dword [0x55a6c4]
xor ebx, ebx
mov dword [esp + 0x60], ebx
lea eax, [esp + 0x1c]
push str.Log__WTW_Compiled_On:
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 8
push str.Apr_25_2013
lea ecx, [esp + 0x20]
call dword [0x55a194]
push 0x56140c
lea ecx, [esp + 0x20]
call dword [0x55a294]
push str.15:55:11
lea ecx, [esp + 0x20]
call dword [0x55a194]
push 0x561420
lea ecx, [esp + 0x20]
call dword [0x55a294]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call sub.mfc90u.dll_CWnd::SetWindowTextW
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x433e90
cmp dword [0x5c6fb0], ebx
je 0x433e90
mov edx, dword [eax + 0x20]
push ebx
push 1
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
mov edx, dword [ebp + 0x94]
lea ecx, [ebp + 0x94]
push eax
mov eax, dword [edx + 0x144]
push 0x40f
call eax
test eax, eax
jne 0x433ecd
push 0x10
push 0x55eac0
push 0x561428
mov ecx, ebp
call sub.mfc90u.dll_CWnd::MessageBoxW
lea ecx, [ebp + 0x480]
call sub.mfc90u.dll_CWnd::SetFocus
push str.debug
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0x60], 1
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0x5c733c
call fcn.0051bb70
mov esi, eax
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp esi, ebx
je 0x434034
lea ecx, [esp + 0x18]
call dword [0x55a6c4]
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x20]
call dword [0x55a6c4]
mov byte [esp + 0x60], 3
push 0x400
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push str.wtw_log_
lea ecx, [esp + 0x1c]
call dword [0x55a294]
push ebx
call dword [sym.imp.MSVCR90.dll__time64]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x28]
add esp, 4
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.MSVCR90.dll__localtime64]
add esp, 4
mov esi, eax
lea eax, [esp + 0x30]
push eax
push str._Y_m_d__H_M_S
mov ecx, 9
lea edi, [esp + 0x38]
push 0x400
rep movsd dword es:[edi], dword [esi]
push 0x400
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.MSVCR90.dll_wcsftime]
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call dword [0x55a4e8]
push str..txt
lea ecx, [esp + 0x1c]
call dword [0x55a294]
push 0x56152c
push 0x561530
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
mov edx, dword [ebp + 0x5b4]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x28]
push ebx
lea ecx, [ebp + 0x5b4]
push 0x1021
push eax
call edx
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret