Function at 0x4032d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f261
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x300
mov eax, dword [0x5c58d0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc4]
push eax
push 0xf003f
xor edi, edi
push edi
push str.Software_aheadCover_DesignerProperties
mov ebx, ecx
push SysReAllocString
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403377
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x60]
push ecx
push edi
lea edx, [ebp - 0x74]
push edx
push edi
push 0x57e724
push eax
mov dword [ebp - 0x74], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40336a
mov ecx, dword [ebp - 0xc4]
push 0x54f
push 0x57c320
push 3
push edi
push 0x57e724
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea esi, [ebp - 0x120]
call fcn.0040c450
lea eax, [ebp - 0x120]
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call sub.MFC71.DLL_CWinApp::ParseCommandLine
mov al, byte [ebp - 0xfc]
test al, 0x16
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], edi
je 0x4033bd
mov byte [ebx + 0xc1], 1
test al, 0x20
je 0x4033e6
lea esi, [ebp - 0x74]
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.00401c20
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00457340
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov dword [ebp - 4], 0
call fcn.00401a70
push str.AheadCover_Designer
lea ecx, [ebp - 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0xac]
mov edx, dword [eax + 4]
mov edi, dword [edx + ebx + 0xd0]
lea ecx, [ebp - 0x68]
call fcn.0045ef10
mov eax, dword [ebx + 0x54]
mov esi, dword [sym.imp.MSVCR71.dll_free]
push eax
call esi
mov ecx, dword [ebp - 0x68]
mov edi, dword [sym.imp.MSVCR71.dll__strdup]
push ecx
call edi
mov edx, dword [ebx + 0x68]
push edx
mov dword [ebx + 0x54], eax
call esi
push 0x57e144
call edi
add esp, 0x10
push str.covered_
mov ecx, ebx
mov dword [ebx + 0x68], eax
call fcn.0051e8aa
push 0
mov ecx, ebx
call fcn.0051f076
push 0
push 0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x124]
push ecx
push 0x237
mov ecx, ebx
call fcn.0051f1c0
test eax, eax
je 0x40451e
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
call fcn.00555f20
call fcn.00557e80
mov esi, eax
call fcn.00556c10
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
mov edx, dword [eax + ebx + 0xac]
lea ecx, [eax + ebx + 0xac]
call dword [edx + 0x10]
test al, al
je 0x4034cc
mov al, byte [ebp - 0xc8]
mov byte [ebx + 0xc2], al
lea esi, [ebp - 0x74]
lea eax, [ebp - 0x120]
call fcn.00401c00
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 0xac]
mov edx, dword [ecx + 4]
push eax
lea ecx, [edx + ebx + 0xe8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov ecx, esi
mov byte [ebp - 4], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [ebx + 0xac]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebx + 0xe8]
mov eax, dword [edx - 0xc]
test eax, eax
jne 0x4035c9
lea ecx, [ebp - 0x54]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
push 0x208
push 0x208
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x54]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer_1]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.00451490
add esp, 8
push str.def.dat
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
lea ebx, [ebp - 0x7c]
lea ecx, [ebp - 0x74]
lea edi, [ebp - 0x60]
mov byte [ebp - 4], 8
call fcn.00451820
push eax
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 9
mov edx, dword [eax + 0xac]
mov ecx, dword [edx + 4]
lea ecx, [ecx + eax + 0xe8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, ebx
jmp 0x4036c7
lea esi, [ebp - 0x74]
lea eax, [ebp - 0x120]
call fcn.00401c00
push 4
lea edx, [ebp - 0x60]
push edx
mov ecx, eax
mov byte [ebp - 4], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push 0x57e6f8
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
lea ecx, [ebp - 0x60]
setne byte [ebp - 0x55]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
mov byte [ebp - 4], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov al, byte [ebp - 0x55]
test al, al
je 0x4036e2
lea esi, [ebp - 0x54]
lea eax, [ebp - 0x120]
call fcn.00401c00
push 1
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push 0x57e6f4
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x60]
inc bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
test bl, bl
je 0x403687
mov ecx, esi
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.00451490
add esp, 8
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push str.def.dat
lea ecx, [ebp - 0x74]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
lea ebx, [ebp - 0x74]
lea ecx, [ebp - 0x54]
lea edi, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.00451820
push eax
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xe
mov ecx, dword [eax + 0xac]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 0xe8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ebx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xf
mov eax, dword [ebx + 0xac]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 0xe8]
lea esi, [ebp - 0x84]
call fcn.00401990
mov byte [ebp - 4], 0x10
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebx + 0xe0]
mov edi, dword [eax + ebx + 0xb0]
add eax, ebx
push ecx
lea esi, [ebp - 0x84]
call fcn.00460260
mov eax, dword [ebp - 0x7c]
test eax, eax
mov dword [ebp - 0x84], vtable.CFileInputStream.0
je 0x403745
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov dword [ebp - 4], 4
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x4c]
lea eax, [eax + ebx + 0xac]
push ecx
mov byte [eax + 0x58], 1
call fcn.00447ba0
mov byte [ebp - 4], 0x14
mov edx, dword [ebx + 0xac]
push 0
push eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebx + 0xbc]
call fcn.004492c0
lea ecx, [ebp - 0x4c]
push ecx
mov byte [ebp - 4], 4
call fcn.00401dc0
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
lea ecx, [eax + ebx + 0xe8]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.00451490
add esp, 8
push str.stocks.dat
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x15
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
lea ebx, [ebp - 0x74]
lea ecx, [ebp - 0x70]
lea edi, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.00451820
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x6c]
lea esi, [ebp - 0x178]
call fcn.00401990
mov byte [ebp - 4], 0x1a
call fcn.0044a260
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x134], 1
mov dword [ebp - method.CPredefPaperStockList.virtual_0], vtable.CPredefPaperStockList.0
lea ecx, [ebp - 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
push eax
push 1
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00401cf0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
mov edi, dword [eax + ebx + 0xb0]
lea ecx, [ebp - 0x144]
push ecx
lea esi, [ebp - 0x178]
call fcn.00460260
mov ecx, dword [ebp - 0x13c]
mov esi, dword [ecx]
lea ebx, [ebx]
cmp esi, dword [ebp - 0x13c]
je 0x4038a4
mov edx, dword [esi + 8]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.00447cf0
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
push 0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [eax + ebx + 0xbc]
call fcn.004492c0
mov esi, dword [esi]
jmp 0x403870
lea ecx, [ebp - 0x4c]
push ecx
mov byte [ebp - 4], 0x1b
call fcn.00401dc0
lea edx, [ebp - 0x144]
push edx
mov byte [ebp - 4], 0x1a
call fcn.00448ed0
mov eax, dword [ebp - 0x170]
test eax, eax
mov dword [ebp - fcn.00441a70], vtable.CFileInputStream.0
je 0x403916
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
jmp 0x403916
mov dword [ebp - 4], 0x18
mov eax, dword [ebx + 0xac]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebx + 0xbc]
push edx
call fcn.00449a20
push str.RICHED20.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x68c948], eax
call sub.MFC71.DLL_AfxInitRichEdit
mov eax, dword [ebx + 0xac]
mov ecx, dword [eax + 4]
lea ebx, [ecx + ebx + 0xac]
call fcn.0043d530
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
mov esi, dword [eax + ebx + 0xdc]
xor ecx, ecx
cmp esi, 1
setg cl
push 4
add ecx, 0x90
mov dword [0x5c6410], ecx
mov ecx, ebx
call sub.MFC71.DLL_CWinApp::LoadStdProfileSettings
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebx + 0xb8]
push ecx
call fcn.00464600
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
mov esi, dword [eax + ebx + 0xcc]
call fcn.00468280
mov esi, 0x68cef0
call fcn.0044b040
mov ecx, dword [ebx + 0xac]
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 0xac]
push eax
call fcn.0043d7b0
push 0x90
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
xor edi, edi
cmp esi, edi
mov byte [ebp - 4], 0x21
je 0x403a14
push 0x57f290
push 0x57c208
push 0x57e9c0
push 0x61
mov ecx, esi
call sub.MFC71.DLL_CMultiDocTemplate::CMultiDocTemplate
mov dword [esi], vtable.CCoverEdDocTemplate.0
jmp 0x403a16
xor esi, esi
mov byte [ebp - 4], 0x18
push esi
mov ecx, ebx
mov dword [ebx + 0xb4], esi
call sub.MFC71.DLL_CWinApp::AddDocTemplate
push 0x90
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
cmp esi, edi
mov byte [ebp - 4], 0x22
je 0x403a62
push 0x57f290
push 0x57c208
push 0x57e9c0
push 0x62
mov ecx, esi
call sub.MFC71.DLL_CMultiDocTemplate::CMultiDocTemplate
mov dword [esi], vtable.CCoverEdDocTemplate.0
jmp 0x403a64
xor esi, esi
mov byte [ebp - 4], 0x18
push esi
mov ecx, ebx
mov dword [ebx + 0xb8], esi
call sub.MFC71.DLL_CWinApp::AddDocTemplate
push 0x90
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
cmp esi, edi
mov byte [ebp - 4], 0x23
je 0x403ab0
push 0x57f290
push 0x57c208
push 0x57e9c0
push 0x63
mov ecx, esi
call sub.MFC71.DLL_CMultiDocTemplate::CMultiDocTemplate
mov dword [esi], vtable.CCoverEdDocTemplate.0
jmp 0x403ab2
xor esi, esi
mov byte [ebp - 4], 0x18
push esi
mov ecx, ebx
mov dword [ebx + 0xbc], esi
call sub.MFC71.DLL_CWinApp::AddDocTemplate
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], ecx
call sub.MFC71.DLL_long
push 0x7f00
push edi
mov dword [ebp - 0x168], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0xf
mov dword [ebp - 0x154], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x16c]
push edx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], str.CovEdTab
call sub.MFC71.DLL_AfxRegisterClass
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], edi
mov byte [ebp - 4], 0x25
mov edx, 5
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xac], vtable.CPropertyList.0
call fcn.00407d10
mov byte [ebp - 4], 0x26
call fcn.00558d20
mov byte [ebp - 4], 0x27
mov ecx, dword [ebx + 0xac]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0xac]
push eax
mov eax, dword [edx + ebx + 0xd0]
push str.DefaultGraphicNew
push str.Properties
push eax
call fcn.0045e970
test al, al
je 0x403c40
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
jmp 0x403bc0
cmp eax, dword [ebp - 0xa0]
je 0x403c40
mov ecx, dword [eax]
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
mov eax, dword [eax + ebx + 0xc0]
mov esi, dword [eax + 8]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x60], eax
cmp esi, dword [eax + 0xc]
je 0x403c20
mov ecx, dword [esi]
push ecx
call sub.MSVCR71.dll___RTtypeid
mov edx, dword [ebp - 0x7c]
add esp, 4
push edx
mov edi, eax
call sub.MSVCR71.dll___RTtypeid
add esp, 4
push edi
mov ecx, eax
call dword [sym.imp.MSVCR71.dll_public:_int___thiscall_type_info::operator_class_type_info_const__const]
test eax, eax
je 0x403c2d
mov esi, dword [esi]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
nop
mov eax, dword [ebp - 0x54]
add eax, 4
mov dword [ebp - 0x54], eax
xor edi, edi
jmp 0x403bc0
mov eax, dword [ebp - 0x60]
add esi, 4
jmp 0x403be7
mov dword [ebp - 4], 0x26
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], edi
mov byte [ebp - 4], 0x2a
mov edx, 5
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x98], vtable.CPropertyList.0
call fcn.00407d10
mov byte [ebp - 4], 0x2c
mov eax, dword [ebx + 0xac]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x98]
push edx
mov edx, dword [ecx + ebx + 0xd0]
push str.DefaultTextNew2
push str.Properties
push edx
call fcn.0045e970
test al, al
je 0x403d2f
mov eax, dword [ebp - 0x90]
mov ecx, eax
mov dword [ebp - 0x54], eax
cmp ecx, dword [ebp - 0x8c]
je 0x403d2f
mov edx, ecx
mov eax, dword [edx]
mov ecx, dword [ebx + 0xac]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [edx + ebx + 0xc4]
mov esi, dword [eax + 8]
mov dword [ebp - 0x60], eax
lea ebx, [ebx]
cmp esi, dword [eax + 0xc]
je 0x403d16
mov eax, dword [esi]
push eax
call sub.MSVCR71.dll___RTtypeid
mov ecx, dword [ebp - 0x7c]
add esp, 4
push ecx
mov edi, eax
call sub.MSVCR71.dll___RTtypeid
add esp, 4
push edi
mov ecx, eax
call dword [sym.imp.MSVCR71.dll_public:_int___thiscall_type_info::operator_class_type_info_const__const]
test eax, eax
je 0x403d1e
mov ecx, dword [esi]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov eax, dword [ebp - 0x54]
add eax, 4
jmp 0x403cb0
mov eax, dword [ebp - 0x60]
add esi, 4
jmp 0x403ce0
xor eax, eax
mov dword [ebp - 4], 0x2b
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0x2f
mov edx, 5
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xc0], vtable.CPropertyList.0
call fcn.00407d10
mov byte [ebp - 4], 0x31
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [eax + ebx + 0xd0]
push str.DefaultTextBoxNew
push str.Properties
push ecx
call fcn.0045e970
test al, al
je 0x403e26
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0xb4]
je 0x403e26
mov ecx, eax
mov eax, dword [ebx + 0xac]
mov edx, dword [ecx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 0xc8]
mov esi, dword [eax + 8]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x60], eax
lea esp, [esp]
cmp esi, dword [eax + 0xc]
je 0x403e06
mov edx, dword [esi]
push edx
call sub.MSVCR71.dll___RTtypeid
mov edi, eax
mov eax, dword [ebp - 0x7c]
add esp, 4
push eax
call sub.MSVCR71.dll___RTtypeid
add esp, 4
push edi
mov ecx, eax
call dword [sym.imp.MSVCR71.dll_public:_int___thiscall_type_info::operator_class_type_info_const__const]
test eax, eax
je 0x403e0c
mov ecx, dword [esi]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
add dword [ebp - 0x54], 4
jmp 0x403da4
mov eax, dword [ebp - 0x60]
add esi, 4
jmp 0x403dd0
mov dword [ebp - 4], 0x30
mov ecx, dword [ebx + 0xac]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebx + 0xb8]
lea esi, [ebp - 0x60]
call fcn.00401ca0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
xor edi, edi
cmp ecx, edi
mov ecx, esi
setne byte [ebp - 0x55]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov al, byte [ebp - 0x55]
test al, al
je 0x403ec2
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x50]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [ebx + 0xac]
mov eax, dword [edx + 4]
mov eax, dword [eax + ebx + 0xb8]
lea esi, [ebp - 0x60]
call fcn.00401ca0
mov byte [ebp - 4], 0x33
mov eax, dword [eax]
push eax
push edi
mov ecx, dword [ebp - 0x50]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push ecx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, 0x68cfe4
call sub.MFC71.DLL_CGdiObject::Attach
mov ecx, esi
mov byte [ebp - 4], 0x30
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x8e8
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [ebp - 0x60], eax
cmp eax, edi
mov byte [ebp - 4], 0x34
je 0x403ee6
push 1
push eax
call fcn.00410c60
mov esi, eax
jmp 0x403ee8
xor esi, esi
cmp esi, edi
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 0x30
jne 0x403ef7
xor eax, eax
jmp 0x403f07
mov edx, dword [esi + 0xe0]
mov eax, dword [edx + 4]
lea eax, [eax + esi + 0xe0]
mov ecx, dword [ebx + 0xac]
mov edx, dword [ecx + 4]
push edi
push edi
push 0xcf8000
mov dword [edx + ebx + 0xec], eax
mov eax, dword [esi]
push 0x60
mov ecx, esi
call dword [eax + 0x13c]
test eax, eax
jne 0x404014
mov dword [ebx + 0xc4], 5
mov dword [ebp - 0xc0], vtable.CPropertyList.0
lea edi, [ebp - 0xc0]
mov byte [ebp - 4], 0x36
call fcn.00447870
mov eax, dword [ebp - 0xb8]
xor ebx, ebx
cmp eax, ebx
mov esi, vtable.CSerializable.0
mov dword [ebp - 0xc0], esi
je 0x403f75
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x98], vtable.CPropertyList.0
lea edi, [ebp - 0x98]
mov byte [ebp - 4], 0x38
call fcn.00447870
mov eax, dword [ebp - 0x90]
cmp eax, ebx
mov dword [ebp - 0x98], esi
je 0x403fb9
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0xac], vtable.CPropertyList.0
lea edi, [ebp - 0xac]
mov byte [ebp - 4], 0x3a
call fcn.00447870
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
mov dword [ebp - 0xac], esi
je 0x403ffd
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
jmp 0x4043f1
push edi
mov ecx, esi
call sub.MFC71.DLL_CWnd::ShowWindow
push 0x60
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esi + 0x20]
push eax
push edi
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebx
mov dword [ebx + 0x20], esi
call sub.MFC71.DLL_CWinApp::EnableShellOpen
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0xc4]
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0x24]
test al, 0x10
jne 0x40406c
test al, 2
jne 0x40406c
test al, 4
je 0x40415d
lea edi, [ebp - 0x130]
call fcn.00409330
mov ecx, dword [ebp - 0x54]
mov dword [ebx + 0xc4], eax
mov edx, dword [ecx]
call dword [edx + 0x68]
mov dword [ebp - 0xc0], vtable.CPropertyList.0
lea edi, [ebp - 0xc0]
mov byte [ebp - 4], 0x3c
call fcn.00447870
mov eax, dword [ebp - 0xb8]
xor ebx, ebx
cmp eax, ebx
mov esi, vtable.CSerializable.0
mov dword [ebp - 0xc0], esi
je 0x4040be
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x98], vtable.CPropertyList.0
lea edi, [ebp - 0x98]
mov byte [ebp - 4], 0x3e
call fcn.00447870
mov eax, dword [ebp - 0x90]
cmp eax, ebx
mov dword [ebp - 0x98], esi
je 0x404102
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0xac], vtable.CPropertyList.0
lea edi, [ebp - 0xac]
mov byte [ebp - 4], 0x40
call fcn.00447870
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
mov dword [ebp - 0xac], esi
je 0x404146
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
jmp 0x40458b
mov eax, dword [0x68d07c]
cmp dword [eax], edi
jne 0x4041b5
mov dword [eax], 0x42
mov eax, dword [0x68d07c]
or dword [eax + 0x14], 0x400
mov eax, dword [0x68d07c]
push eax
call dword [sym.imp.comdlg32.dll_PrintDlgA]
mov ecx, dword [0x68d07c]
mov dword [ecx + 0x14], edi
mov eax, dword [0x68d07c]
cmp dword [eax + 0xc], edi
jne 0x4041b5
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4041aa
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x68d07c]
mov dword [eax + 8], edi
mov edx, dword [0x68d07c]
mov dword [edx], edi
call fcn.00557e80
mov ecx, eax
call fcn.00557070
test eax, eax
je 0x404399
mov edi, dword [ebp - 0x54]
mov eax, ebx
call fcn.00404780
cmp dword [ebp - 0xf8], 0x40
je 0x4042fd
push 0
lea eax, [ebp - 0x2ec]
push eax
call fcn.00556230
mov byte [ebp - 4], 0x41
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x148]
lea ecx, [ebp - 0x2ec]
mov esi, eax
mov byte [ebp - 4], 0x30
call fcn.005560d0
cmp esi, 0x64
jne 0x4042f8
push 1
call fcn.00557e80
mov ecx, eax
call fcn.00556d90
mov eax, dword [ebx]
lea ecx, [ebp - 0x120]
push ecx
mov ecx, ebx
call dword [eax + 0xc0]
lea ecx, [ebp - 0xc0]
mov esi, eax
mov byte [ebp - 4], 0x2b
call fcn.00447010
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x26
call fcn.00447010
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x18
call fcn.00447010
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xec]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x120]
call sub.MFC71.DLL_CCommandLineInfo::CCommandLineInfo
mov eax, esi
jmp 0x40453b
cmp esi, 0x65
jne 0x404310
push 1
call fcn.00557e80
mov ecx, eax
call fcn.00556d90
jmp 0x40455e
cmp esi, 0x66
jne 0x40455e
call fcn.00557e80
mov ecx, eax
call fcn.00556c80
mov edx, dword [ebx]
lea eax, [ebp - 0x120]
push eax
mov ecx, ebx
call dword [edx + 0xc0]
lea ecx, [ebp - 0xc0]
mov edi, eax
mov byte [ebp - 4], 0x2b
call fcn.00447010
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x26
call fcn.00447010
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x18
call fcn.00447010
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea esi, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
call fcn.004046c0
mov eax, edi
jmp 0x40453b
cmp dword [ebp - 0x110], edi
jne 0x4043ab
mov edi, dword [ebp - 0x54]
mov eax, ebx
call fcn.00404780
mov edx, dword [ebx]
lea eax, [ebp - 0x120]
push eax
mov ecx, ebx
call dword [edx + 0xc0]
test eax, eax
jne 0x404483
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x2b
call fcn.00447010
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x26
call fcn.00447010
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x18
call fcn.00447010
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xec]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x120]
call sub.MFC71.DLL_CCommandLineInfo::CCommandLineInfo
jmp 0x404539
mov eax, dword [0x68c950]
test eax, eax
jle 0x404554
mov ecx, dword [ebx + 0x20]
push 0
push 0x5c5f8c
push 0x5c59c0
push 0
push ecx
call sub.MSVCR71.dll___RTDynamicCast
add esp, 0x14
mov edi, eax
call fcn.00557e80
mov esi, eax
call fcn.005565e0
test eax, eax
jne 0x4044df
mov edx, dword [edi]
push eax
push 0x5c598c
push 0x5c59a8
push eax
mov ecx, edi
call dword [edx + 0x144]
push eax
call sub.MSVCR71.dll___RTDynamicCast
add esp, 0x14
test eax, eax
jne 0x404554
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x2b
call fcn.00447010
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x26
call fcn.00447010
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x18
call fcn.00447010
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea esi, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
call fcn.004046c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0054939e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x54]
mov eax, ebx
call fcn.00404780
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x2b
call fcn.00447010
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x26
call fcn.00447010
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x18
call fcn.00447010
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xec]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x120]
call sub.MFC71.DLL_CCommandLineInfo::CCommandLineInfo
mov eax, 1
jmp 0x40453b