Function at 0x4330f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [eax], ebx
mov eax, dword [esi + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
jne 0x433143
mov ecx, dword [0x45dbb8]
push 0x10
push ebx
push 0xfbc
call fcn.0041ed30
xor eax, eax
jmp 0x433146
mov eax, dword [ebp + 8]
mov ecx, 0x64
dec eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
je 0x43363a
sub eax, 2
je 0x433380
dec eax
jne 0x43384a
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x433189
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], 1
mov dword [ecx], eax
jmp 0x43385f
push 0xa0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp + 8], eax
cmp eax, ebx
mov dword [ebp - 4], 0xd
je 0x4331b3
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, eax
call fcn.0043aa30
mov edi, eax
jmp 0x4331b5
xor edi, edi
cmp edi, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], edi
je 0x433377
push 8
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
test ebx, ebx
mov dword [ebp - 4], 0xe
je 0x4331ea
mov ecx, ebx
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver
jmp 0x4331ec
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], ebx
je 0x433377
push 0x1c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
mov dword [ebp - 4], 0xf
je 0x43321f
mov ecx, eax
call fcn.0043a450
jmp 0x433221
xor eax, eax
test eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x433377
push eax
push ebx
push str.Imaging.ScanCtrl.1
push 4
mov ecx, edi
call fcn.0043ab50
mov eax, dword [ebp - 0x48]
push 0
push 0
push 0
mov ecx, dword [ebp - 0x44]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, edi
call fcn.0043abc0
test eax, eax
je 0x43330b
push 1
mov ecx, esi
mov dword [esi + 0x10], edi
call fcn.00433950
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00443248
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x10
test eax, eax
je 0x4332cb
lea edx, [ebp - 0x24]
mov ecx, edi
push edx
call fcn.00430280
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [eax + 0x7c]
call fcn.0043c540
push 0
mov ecx, esi
mov dword [ebp - 0x14], 1
call fcn.00434350
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x7c]
call fcn.0043c700
mov ecx, dword [esi + 0x14]
push eax
call fcn.0041c740
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x43385f
mov ecx, dword [0x45dbb8]
call fcn.00420370
mov esi, dword [ebp + 8]
test esi, esi
je 0x43385f
push 1
mov ecx, esi
call fcn.0043ab90
test eax, eax
jne 0x433345
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x433345
mov ecx, edi
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
push 2
mov ecx, esi
call fcn.0043ab90
test eax, eax
jne 0x433369
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x433369
mov ecx, edi
call fcn.004384e0
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
jmp 0x43385f
push 0x10
push 0
jmp 0x433625
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x43339b
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], 1
mov dword [ecx], eax
jmp 0x43385f
push 0xa0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp + 8], eax
cmp eax, ebx
mov dword [ebp - 4], 6
je 0x4333c5
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, eax
call fcn.0043aa30
mov edi, eax
jmp 0x4333c7
xor edi, edi
cmp edi, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], edi
je 0x433622
push 8
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
test ebx, ebx
mov dword [ebp - 4], 7
je 0x4333fc
mov ecx, ebx
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver
jmp 0x4333fe
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], ebx
je 0x433620
push 0x1c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
mov dword [ebp - 4], 8
je 0x433431
mov ecx, eax
call fcn.0043a790
jmp 0x433433
xor eax, eax
test eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x433620
push eax
push ebx
push str.Imaging.AdminCtrl.1
push 3
mov ecx, edi
call fcn.0043ab50
mov eax, dword [ebp - 0x48]
push 0
push 0
push 0
mov ecx, dword [ebp - 0x44]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, edi
call fcn.0043abc0
test eax, eax
je 0x433610
lea ecx, [ebp - 0x18]
call fcn.00443248
push 0
push str.DefaultDirectory
lea edx, [ebp - 0x28]
push 0x44ecfc
push edx
mov ecx, 0x45dbc0
mov dword [ebp - 4], 9
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x433521
push 4
push 0x1000
push 0x100
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [ebp - 0x1c]
mov ebx, eax
push ecx
push 5
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43350a
mov edx, dword [ebp - 0x1c]
push ebx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push ebx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 0xc], edi
call fcn.00410af0
lea ecx, [ebp - 0x20]
call fcn.00443248
push 0
push str.FileStgLoc1x
lea ecx, [ebp - 0x2c]
push 0x44ecfc
mov bl, 0xb
push ecx
mov ecx, 0x45dbc0
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax - 8]
mov esi, dword [edx + 0x7c]
test ecx, ecx
je 0x433587
push eax
mov ecx, esi
call fcn.00437f10
push 0
push str.ForceLowerCase1x
push 0x44ecfc
mov ecx, 0x45dbc0
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push eax
mov ecx, esi
call fcn.00437f50
push 0
push str.ForceFileLinking1x
push 0x44ecfc
mov ecx, 0x45dbc0
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push eax
mov ecx, esi
call fcn.00437f90
push 1
push str.ForceFileDeletion1x
push 0x44ecfc
mov ecx, 0x45dbc0
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push eax
mov ecx, esi
call fcn.00437fd0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x43385f
mov ecx, dword [0x45dbb8]
call fcn.00420320
jmp 0x433316
xor ebx, ebx
push 0x10
push ebx
mov ecx, dword [0x45dbb8]
push 0xfce
call fcn.0041ed30
jmp 0x433316
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x68]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x433663
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ecx]
call dword [edx + 0x6c]
mov edx, dword [eax + 0x20]
lea ecx, [ebp - 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43367e
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], 1
mov dword [ecx], eax
jmp 0x43385f
push 0xa0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp + 8], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x4336a4
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, eax
call fcn.0043aa30
mov edi, eax
jmp 0x4336a6
xor edi, edi
cmp edi, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], edi
je 0x433776
push 8
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
mov dword [ebp - 4], 1
je 0x4336db
mov ecx, ebx
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver
jmp 0x4336dd
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], ebx
je 0x433776
push 0x44
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x433710
mov ecx, eax
call fcn.00438830
jmp 0x433712
xor eax, eax
test eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x433776
push eax
push ebx
push str.Imaging.EditCtrl.1
push 1
mov ecx, edi
call fcn.0043ab50
mov eax, dword [ebp - 0x48]
push 0
push 0
push 1
mov ecx, dword [ebp - 0x44]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, edi
call fcn.0043abc0
test eax, eax
je 0x433769
mov dword [esi + 4], edi
mov dword [ebp - 0x14], 1
jmp 0x43378a
mov ecx, dword [0x45dbb8]
call fcn.004202d0
jmp 0x43378a
mov ecx, dword [0x45dbb8]
push 0x10
push 0
push 0xfce
call fcn.0041ed30
mov eax, dword [esi + 4]
test eax, eax
je 0x433829
mov edi, dword [eax + 0x7c]
push 1
push 1
push str.ScrollBars
push 0x44ecfc
mov ecx, 0x45dbc0
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov ecx, dword [esi + 0x14]
push eax
call fcn.00428ef0
push 1
mov ecx, edi
call fcn.00437e50
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
call sub.imgcmn.dll_int___stdcall_IsICMEnabled_void_
test eax, eax
je 0x4337f7
push 1
push str.ICMSetting
push 0x44ecfc
mov ecx, 0x45dbc0
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push eax
jmp 0x4337f9
push 0
mov ecx, edi
call fcn.00431360
mov ecx, dword [esi + 0x14]
push 0
call fcn.0040bc20
push 0
mov ecx, edi
call fcn.00430660
mov ecx, dword [esi + 0x14]
push 1
call fcn.0040bc20
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_AfxTryCleanup
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x433316
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x43385f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8