Function at 0x427b00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446fa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
mov eax, dword [0x45dd90]
push ebx
push esi
push edi
mov edi, 2
mov ebx, ecx
xor esi, esi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x14], esi
jne 0x427b59
cmp dword [0x45dd9c], esi
je 0x427b59
cmp dword [0x45dda4], esi
jne 0x427b59
mov dword [0x45dda4], 1
mov dword [ebx + 0x8c4], esi
mov dword [ebx + 0x7f0], esi
cmp dword [ebx + 0x834], edi
jne 0x427b7b
push edi
mov ecx, ebx
call fcn.0040a950
mov dword [ebx + 0x834], esi
cmp dword [0x45dd70], edi
jne 0x427b8d
mov dword [ebx + 0x734], 1
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x8ac]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
push 1
mov dword [ebx + 0x8bc], eax
mov dword [ebx + 0x908], eax
mov ecx, dword [0x45dbbc]
call fcn.00433950
mov esi, eax
mov eax, dword [ebp + 0x24]
test eax, eax
mov dword [ebp - 0x18], esi
je 0x427bea
push 1
push 0x44c744
push 0x44c730
mov ecx, 0x45dbc0
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push eax
mov ecx, esi
call fcn.00431360
mov ecx, esi
call fcn.00431110
test byte [ebx + 0x558], 4
jne 0x427c46
mov ecx, dword [0x45dbbc]
push 1
call fcn.004339a0
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00438010
cmp eax, 1
mov dword [ebx + 0x92c], eax
jne 0x427c49
lea ecx, [ebp + 0x24]
push ecx
mov ecx, esi
call fcn.00438030
push eax
lea ecx, [ebx + 0x8b0]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x427c49
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov dword [ebx + 0x7f8], 1
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov ecx, dword [ebx + 0x734]
mov eax, 1
mov dword [ebp - 4], eax
cmp ecx, eax
mov byte [ebp - 4], 2
jne 0x427c8a
mov eax, dword [0x45dd70]
cmp eax, 1
je 0x427c8a
cmp eax, 2
je 0x427c8a
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x427ca1
test byte [ebx + 0x558], 4
jne 0x427ea9
mov eax, dword [edi]
mov ecx, esi
push eax
call fcn.004378d0
test byte [ebx + 0x558], 4
jne 0x427ea9
mov ecx, esi
call fcn.00437970
mov esi, eax
test si, si
mov dword [ebp + 0x24], esi
jne 0x427e37
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00438260
cmp eax, 2
jne 0x427e37
mov ecx, edi
call fcn.004379b0
mov edx, dword [ebp + 0x10]
mov edi, 1
cmp eax, edi
mov dword [ebp - 0x48], eax
lea ecx, [edx + 1]
mov dword [ebp - 0x28], ecx
jle 0x427e3c
movsx ecx, cx
cmp ecx, eax
jg 0x427e3c
movsx edi, word [ebp - 0x28]
cmp edi, dword [ebp - 0x48]
jg 0x427e0f
test si, si
jne 0x427e37
mov esi, dword [ebp - 0x14]
push edi
mov ecx, esi
call fcn.004379d0
mov ecx, esi
call fcn.00437970
mov esi, eax
test si, si
mov dword [ebp + 0x24], esi
je 0x427e07
cmp dword [ebp + 0xc], 1
je 0x427dfb
lea ecx, [ebp - 0x20]
call fcn.00443248
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00443248
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00443248
mov eax, dword [ebp + 0x10]
lea esi, [edi - 1]
mov edx, eax
cmp eax, esi
push edx
lea eax, [ebp - 0x20]
push 0x45cfbc
mov byte [ebp - 4], 5
push eax
je 0x427dad
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea ecx, [ebp - 0x2c]
push esi
push 0x45cfbc
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [ebp - 0x24]
push edx
push eax
push 0x44db
push ecx
call sub.MFC42.DLL_AfxFormatString2
jmp 0x427dc7
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [ebp - 0x20]
add esp, 0xc
lea edx, [ebp - 0x24]
push ecx
push 0x44da
push edx
call sub.MFC42.DLL_AfxFormatString1
mov eax, dword [ebp - 0x24]
push 0
push 0x10
push eax
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp + 0x24]
mov ecx, dword [ebp - 0x18]
push edi
call fcn.0043c5c0
mov dword [ebp + 0x10], edi
inc dword [ebp - 0x28]
jmp 0x427d01
test si, si
jne 0x427e37
mov ecx, dword [0x45dbb8]
push 0x104d
push 4
call fcn.0041e9d0
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_AfxTryCleanup
jmp 0x428143
mov edi, 1
mov eax, dword [0x45dd84]
test eax, eax
je 0x427e4f
mov eax, dword [ebx + 0xd4]
test eax, eax
jne 0x427ece
mov eax, dword [ebx + 0x92c]
test eax, eax
je 0x427e95
mov eax, dword [ebx + 0x8b0]
mov ecx, 0x45dbc0
push eax
call fcn.004248c0
push 0
mov ecx, 0x45dbc0
mov dword [ebx + 0x8c0], eax
call fcn.004248c0
cmp eax, edi
mov dword [ebx + 0x8c4], eax
jne 0x427e8c
mov dword [ebx + 0x8c0], edi
mov dword [ebp + 0x1c], 0
jmp 0x427ece
push 0
mov ecx, 0x45dbc0
call fcn.004248c0
mov dword [ebx + 0x8c0], eax
jmp 0x427ece
cmp dword [0x45dda8], 2
je 0x427ec6
mov esi, 2
mov dword [ebx + 0x8c0], 3
mov dword [ebp + 0x24], esi
jmp 0x427ec9
mov esi, dword [ebp + 0x24]
mov edi, 1
mov eax, dword [ebx + 0x734]
cmp eax, edi
mov eax, dword [ebx + 0x92c]
jne 0x427f93
test eax, eax
je 0x427ef2
cmp dword [ebx + 0x8c4], edi
je 0x427f18
test eax, eax
jne 0x427efa
cmp dword [ebx + 0x8c0], edi
je 0x427f18
cmp si, di
je 0x427f11
cmp si, 2
je 0x427f11
cmp si, 3
je 0x427f11
cmp si, 6
jne 0x427f18
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x427f60
mov ecx, dword [ebp - 0x14]
call fcn.00438260
cmp eax, 2
je 0x427f60
mov ecx, 0x45dbc0
call fcn.00424ab0
test eax, eax
je 0x427f60
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x427f40
mov dword [ebx + 0x8c0], edi
cmp dword [0x45dd70], edi
jne 0x427f54
push 0
mov ecx, 0x45dbc0
call fcn.004246e0
mov ecx, 0x45dbc0
call fcn.00424ac0
jmp 0x427fc7
mov ecx, 0x45dbc0
call fcn.00424ab0
test eax, eax
je 0x427fc7
mov eax, dword [0x45dd70]
cmp eax, 2
je 0x427fc7
cmp eax, edi
jne 0x427f87
push edi
mov ecx, 0x45dbc0
call fcn.004246e0
mov ecx, 0x45dbc0
call fcn.00424d00
jmp 0x427fc7
test eax, eax
jne 0x427fa3
cmp dword [ebx + 0x8c0], edi
je 0x427fab
test eax, eax
je 0x427fc7
cmp dword [ebx + 0x8c4], edi
jne 0x427fc7
mov ecx, ebx
call fcn.0040cea0
push 1
mov ecx, 0x45dbc0
mov edi, eax
call fcn.004246e0
mov ecx, edi
call fcn.0043fd80
test byte [ebx + 0x558], 4
jne 0x42800a
mov ecx, dword [ebp - 0x14]
call fcn.004379b0
mov dword [ebx + 0x82c], eax
jmp 0x428014
mov edx, dword [ebp + 0x10]
inc edx
mov dword [ebx + 0x82c], edx
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_AfxTryCleanup
mov eax, dword [ebx + 0x8b4]
lea esi, [ebx + 0x8b4]
xor edi, edi
cmp dword [eax - 8], edi
je 0x42804e
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
mov eax, dword [ebx + 0x8b8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42804c
push eax
call edi
xor edi, edi
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
lea ecx, [ebx + 0x8b8]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [0x45dbe0]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call sub.MFC42.DLL_CMenu::FromHandle
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00443248
mov eax, dword [ebx + 0x858]
mov dword [ebp - 4], 7
cmp eax, edi
je 0x4280bd
push 0xea
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 4]
push ecx
push 0x8021
push 8
push 0x8021
push edx
call dword [sym.imp.USER32.dll_ModifyMenuA]
mov dword [ebx + 0x858], edi
mov ecx, ebx
mov dword [ebx + 0x840], edi
call fcn.00428f50
test eax, eax
mov eax, dword [ebp + 0x20]
je 0x4280d8
cmp eax, 2
jne 0x4280f2
jmp 0x4280eb
cmp eax, edi
jne 0x4280e6
cmp dword [ebx + 0x814], edi
jne 0x4280eb
jmp 0x4280f2
cmp eax, 1
jne 0x4280f2
mov ecx, ebx
call fcn.00428fb0
lea ecx, [ebp - 0x4c]
mov dword [ebx + 0x814], edi
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov eax, dword [ebx + 0x82c]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x428158
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jg 0x428119
cmp ecx, edi
jg 0x428158
mov ecx, dword [0x45dbb8]
push 0x103e
push 4
call fcn.0041e9d0
mov byte [ebp - 4], 7
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 0x24]
cmp ax, 1
je 0x42817c
cmp ax, 2
je 0x42817c
mov ecx, dword [ebp - 0x14]
call fcn.00438260
cmp eax, 2
je 0x42817c
mov dword [ebx + 0x844], edi
jmp 0x428186
mov dword [ebx + 0x844], 1
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00430380
cmp eax, edi
je 0x4281b7
mov ecx, dword [ebp - 0x18]
call fcn.00430840
jmp 0x4281b7
mov dword [ebp - 4], 9
call sub.MFC42.DLL_AfxTryCleanup
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x8ac]
mov edi, dword [ebp - 0x18]
lea esi, [ebx + 0x8ac]
mov dword [ebx + 0x800], ecx
push eax
mov ecx, edi
call fcn.00430260
mov edx, dword [ebx + 0x800]
mov ecx, edi
push edx
call fcn.0043c5c0
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x428228
inc eax
mov ecx, esi
push eax
lea eax, [ebp + 0x10]
push eax
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xd
call fcn.00431250
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
jmp 0x428232
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.00431250
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.00431060
mov ecx, ebx
call fcn.0042b770
test eax, eax
je 0x428252
test byte [ebx + 0x558], 4
je 0x428259
jmp 0x428274
cmp word [ebp + 0x24], 2
je 0x428274
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push 0
push 0
push ecx
push edx
mov ecx, ebx
call fcn.0041e120
test eax, eax
je 0x42812b
mov dword [ebp - 4], 7
call sub.MFC42.DLL_AfxTryCleanup
test byte [ebx + 0x558], 4
jne 0x428312
mov ecx, dword [0x45dbbc]
push 1
call fcn.00433990
lea ecx, [ebp - 0x34]
mov edi, eax
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
test edi, edi
mov byte [ebp - 4], 0x10
je 0x4282e7
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.00432770
mov eax, dword [ebx + 0x844]
test eax, eax
je 0x4282f5
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4282f5
mov ecx, 0x45dbc0
call fcn.00424ab0
test eax, eax
je 0x4282f5
cmp dword [ebx + 0x8c0], 1
je 0x4282f5
push 0xd
mov ecx, edi
call fcn.00432790
mov dword [ebp - 4], 7
call sub.MFC42.DLL_AfxTryCleanup
jmp 0x428315
push 1
jmp 0x4282e0
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x428327
push 1
mov ecx, ebx
call fcn.0041cd30
jmp 0x428361
cmp eax, 1
jne 0x428336
push eax
mov ecx, ebx
call fcn.0041d1e0
jmp 0x428361
cmp eax, 2
jne 0x42835e
test edi, edi
mov esi, 1
je 0x428350
mov ecx, ebx
call fcn.0040fb70
cmp eax, 3
jne 0x428352
xor esi, esi
push esi
push 1
mov ecx, ebx
call fcn.0041d560
jmp 0x428361
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x428134
test byte [ebx + 0x558], 4
jne 0x4283ac
test edi, edi
je 0x4283a3
mov ecx, dword [0x45dbbc]
push 1
call fcn.00433990
mov ecx, dword [ebx + 0x800]
mov word [ebp - 0x3c], 3
test eax, eax
mov dword [ebp - 0x34], ecx
je 0x4283a3
lea edx, [ebp - 0x3c]
mov ecx, eax
push edx
push 0
call fcn.004328f0
test byte [ebx + 0x558], 4
je 0x4283ba
mov ecx, dword [ebp - 0x18]
call fcn.004304a0
mov dword [ebx + 0x82c], eax
mov ecx, ebx
call fcn.0040cea0
cmp word [ebp + 0x24], 2
mov esi, eax
mov dword [ebp + 0x14], esi
je 0x4283e2
mov eax, dword [ebx + 0x7d4]
mov ecx, dword [ebx + 0x824]
push eax
push ecx
mov ecx, esi
call fcn.0043fd20
mov eax, dword [ebx + 0x82c]
mov edi, 1
cmp eax, edi
jle 0x4283f4
push edi
jmp 0x4283f6
push 0
mov ecx, esi
call fcn.0043fd40
cmp dword [ebx + 0x734], edi
jne 0x428926
lea ecx, [ebp + 0x10]
call fcn.00443248
push 0x100
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov dword [ebp + 0xc], esi
call sub.imgcmn.dll_Ordinal_1
test eax, eax
je 0x42857c
mov eax, dword [ebx + 0x92c]
test eax, eax
jne 0x42857c
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00438260
cmp eax, 2
je 0x42846d
mov ecx, edi
call fcn.00438260
cmp eax, 3
je 0x42846d
mov ecx, edi
call fcn.00438260
cmp eax, 4
jne 0x42857c
mov esi, 8
mov edi, 0x12
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x428489
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x42848b
xor eax, eax
mov edx, dword [eax + 0x20]
lea ecx, [ebp - 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x45dbe0]
test eax, eax
je 0x4284a5
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [ebp - 0x1a4]
push 0
push edx
push 0
push 0x29
mov dword [ebp - 0x1a4], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4284f2
mov eax, dword [ebp - 0x18c]
test eax, eax
jle 0x4284df
mov esi, eax
jmp 0x4284e6
mov esi, 0xfffffffd
sub esi, eax
mov eax, dword [ebp - 0x194]
test eax, eax
jle 0x4284f2
mov edi, eax
lea eax, [edi + edi*2]
mov edi, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x34]
sub eax, ecx
sub eax, edi
mov edi, dword [ebx + 0x8ac]
sub eax, 0x16
cdq
idiv esi
cmp dword [edi - 8], eax
jle 0x42855c
lea edx, [ebp - 0x2a8]
push eax
push edx
push ecx
lea eax, [ebx + 0x8ac]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x45dbc0
call fcn.00425450
lea edi, [ebp - 0x2a8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4285b3
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4285b3
mov eax, dword [ebx + 0x8cc]
test eax, eax
je 0x4285a1
push 0x100
push esi
lea eax, [ebx + 0x8c8]
push 4
push eax
mov ecx, 0x45de14
call sub.imgcmn.dll_public:_int___thiscall_CDMConn::GetDocInfo_class_CString___unsigned_short_int__char___unsigned_short_int_
jmp 0x4285b3
mov eax, dword [ebx + 0x8ac]
push 0x100
push esi
push eax
call sub.comdlg32.dll_GetFileTitleA
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp + 0x10]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x58]
push 0
lea ecx, [ebp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x13
call fcn.00443248
mov ecx, 0x45dbc0
mov byte [ebp - 4], 0x14
call fcn.00423f60
test eax, eax
jne 0x42861a
cmp dword [ebx + 0x8c0], 1
je 0x42861a
push str.Image:__
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x42861a
push 0x44d3
lea ecx, [ebp + 0x1c]
call sub.MFC42.DLL_CString::LoadStringA
jmp 0x42864a
mov ecx, 0x45dbc0
call fcn.00423f60
neg eax
sbb eax, eax
lea ecx, [ebp + 0x20]
and eax, 2
add eax, 0x80
push eax
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [ebp + 0x20]
push 0xa
push 0
lea edx, [ebp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_AfxExtractSubString
push 0x45c204
lea ecx, [ebp + 0x10]
call fcn.0044327e
lea eax, [ebp + 0x1c]
lea ecx, [ebp + 0x10]
push eax
call fcn.00443278
push str.Image:__
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x428691
mov ecx, dword [ebp + 0x10]
lea esi, [ecx + 8]
mov ecx, dword [0x45dbe0]
push esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x58]
jmp 0x4286cb
push str.Imagex:__
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
mov eax, dword [ebp + 0x10]
je 0x4286bf
mov ecx, dword [0x45dbe0]
lea esi, [eax + 9]
push esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x58]
jmp 0x4286cb
mov ecx, dword [0x45dbe0]
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [0x45dd70]
mov edi, 1
cmp eax, edi
je 0x4286f0
cmp eax, 2
je 0x4286f0
cmp dword [0x45ddc8], edi
je 0x4286f0
mov ecx, dword [ebx + 0x8cc]
test ecx, ecx
je 0x4286f2
xor edi, edi
cmp eax, 3
je 0x428701
cmp eax, 2
je 0x428701
cmp eax, 1
jne 0x42870d
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::operator_1
call sub.imgcmn.dll_Ordinal_1
test eax, eax
je 0x4287f6
mov eax, dword [ebx + 0x8cc]
test eax, eax
jne 0x4287f6
cmp edi, 1
jne 0x4287ce
lea esi, [ebx + 0x8ac]
lea ecx, [ebp + 0x10]
push esi
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x14]
call fcn.00438260
cmp eax, 2
jne 0x428759
mov ecx, dword [ebx + 0x92c]
test ecx, ecx
je 0x428779
jmp 0x4287ce
cmp eax, 3
jne 0x42876a
mov ecx, dword [ebx + 0x92c]
test ecx, ecx
je 0x428779
jmp 0x4287ce
cmp eax, 4
jne 0x4287ce
mov ecx, dword [ebx + 0x92c]
test ecx, ecx
jne 0x4287ce
mov esi, dword [esi]
cmp eax, 2
je 0x42879c
cmp eax, 4
je 0x42879c
cmp eax, 3
jne 0x4287b5
push 0x45ca58
lea ecx, [ebp + 0x10]
add esi, 9
call sub.MFC42.DLL_CString::operator
jmp 0x4287ac
push 0x45ca4c
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::operator
add esi, 8
push esi
lea ecx, [ebp + 0x10]
call fcn.0044327e
push ecx
lea edx, [ebp + 0x10]
mov ecx, esp
mov dword [ebp + 0xc], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x45dbc0
call fcn.004255b0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x428805
push 0x2f
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x4287ee
mov ecx, dword [ebp + 0x10]
push edi
push ecx
jmp 0x4287fe
mov edx, dword [ebp + 0x10]
push 0
push edx
jmp 0x4287fe
mov eax, dword [ebx + 0x8ac]
push edi
push eax
mov ecx, ebx
call sub.MFC42.DLL_COleDocument::SetPathName
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x64]
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov edi, dword [ebp - 0x18]
mov edx, dword [ebx + 0x800]
mov esi, dword [ebp + 0x14]
push edx
mov ecx, esi
call fcn.0043fd60
mov ecx, edi
call fcn.00430300
fstp dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp word [ebp + 0x24], 2
mov dword [ebx + 0x824], eax
jne 0x42887e
mov ecx, eax
mov edx, eax
mov dword [ebx + 0x828], ecx
push 0
push edx
mov ecx, esi
mov dword [ebx + 0x7d4], 0
call fcn.0043fd20
mov eax, dword [ebx + 0x760]
xor esi, esi
cmp eax, esi
mov dword [ebx + 0x804], esi
jne 0x4288a5
mov eax, dword [0x45dd70]
cmp eax, 1
je 0x42889f
cmp eax, 3
jne 0x4288a5
mov dword [0x45dd70], esi
push esi
lea ecx, [ebx + 0x8d0]
call fcn.00440e60
mov ecx, ebx
call fcn.0042b770
test eax, eax
je 0x4288e9
lea eax, [ebx + 0x20]
lea ecx, [ebp + 0x10]
push eax
push 0x45cfb8
push ecx
call sub.MFC42.DLL_operator_2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push edx
mov byte [ebp - 4], 0x15
call fcn.00431060
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
push esi
push 1
mov ecx, ebx
call fcn.0040cc40
lea ecx, [ebp - 0x1c]
mov dword [ebx + 0x838], esi
mov dword [ebx + 0x83c], esi
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebx + 0x528]
lea esi, [ebx + 0x528]
mov eax, dword [ecx - 8]
test eax, eax
je 0x428952
push 0x104a
push 0x1049
push esi
mov ecx, ebx
call fcn.0042c3b0
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [ebx + 0x56c]
mov eax, dword [ebx + 0x760]
or ecx, 1
test eax, eax
mov dword [ebx + 0x56c], ecx
je 0x428832
mov eax, dword [ebx + 0x554]
test eax, eax
je 0x428832
mov eax, dword [ebx + 0xd4]
test eax, eax
jne 0x428832
mov edi, dword [ebp - 0x18]
mov dword [ebx + 0x554], 0
mov ecx, edi
call fcn.00430300
fmul dword [ebx + 0x798]
fst dword [ebp + 0x10]
fcomp dword [0x44e230]
fnstsw ax
test ah, 1
je 0x4289be
mov dword [ebp + 0x10], 0x40a00000
jmp 0x4289d5
fld dword [ebp + 0x10]
fcomp dword [0x44a468]
fnstsw ax
test ah, 0x41
jne 0x4289d5
mov dword [ebp + 0x10], 0x45cb2000
mov edx, dword [ebp + 0x10]
push 1
push 1
push edx
push 0
mov ecx, ebx
call fcn.0041e120
fild dword [ebx + 0x580]
fmul dword [ebx + 0x798]
call sub.MSVCRT.dll__ftol
fild dword [ebx + 0x584]
mov esi, eax
mov dword [ebx + 0x530], esi
fmul dword [ebx + 0x798]
call sub.MSVCRT.dll__ftol
push esi
mov ecx, edi
mov dword [ebx + 0x534], eax
call fcn.00430500
mov eax, dword [ebx + 0x534]
mov ecx, edi
push eax
call fcn.00430540
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x828], ecx
jmp 0x428835