Function at 0x404990
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x41b7a2
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x42a094]
xor eax, ebp
mov dword [ebp + 0x68], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x74]
push 0x30
call fcn.00406f40
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4049ed
push esi
mov ecx, eax
call fcn.00401610
mov ebx, eax
mov dword [ebp + 0x48], eax
jmp 0x4049f2
xor ebx, ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x404a06
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov dword [ebp - 4], 1
mov dword [ebp + 0x54], 0
push str.RegisterApplicationRestart
push 0x41c740
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x404a3e
push 0
push str._Recover
call eax
mov dword [ebp - 0x80], 0x41c784
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov esi, dword [0x42a938]
lea eax, [ebp - 0x80]
add esi, 0x10
mov dword [ebp + 0x1c], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x42a9a0]
mov dword [ebp + 0x34], eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00401ab0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call fcn.00407920
lea eax, [ebp - 0x18]
push 0x5c
push eax
call fcn.00407730
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
test eax, eax
jne 0x404af9
mov eax, 0x41c78c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push eax
call fcn.004056f0
push 0xffffffffffffffff
push str.PDFXEditCore.x86.dll
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402180
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x404b24
mov eax, 0x41c78c
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x42a968], eax
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x18], 0
mov byte [ebp - 4], 9
test eax, eax
jne 0x404b86
push str.PDFXEditCore.x86.dll
lea eax, [ebp + 8]
push str.Unable_to_load_the___ls__module._nPlease_re_install_the_application.
push eax
call fcn.00402e50
add esp, 0xc
mov esi, 0x83ff0002
jmp 0x404bb3
push str.PXV_GetInstance
push eax
call edi
mov esi, eax
test esi, esi
jne 0x404dbe
push str.PDFXEditCore.x86.dll
lea eax, [ebp + 8]
push str.Main_routine_was_not_found_in_the___ls__module._The_module_is_invalid._nPlease_re_install_the_application.
push eax
call fcn.00402e50
add esp, 0xc
mov esi, 0x83ff0001
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp dword [ebp + 0xc], 0
jne 0x404c2c
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x404c0e
mov dword [ebp + 0x1c], 0
push 0
push esi
mov byte [ebp - 4], 0x1a
call eax
add esp, 8
lea ecx, [ebp + 0x1c]
push eax
call fcn.00401970
mov esi, dword [ebp + 0x1c]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x404c01
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00402180
push esi
mov byte [ebp - 4], 9
call edi
cmp dword [ebp + 0xc], 0
jne 0x404c1d
push 0xffffffffffffffff
push str.Fatal_error.
lea ecx, [ebp + 8]
call fcn.004056f0
push 0xffffffffffffffff
push str._nPlease_re_install_the_application.
lea ecx, [ebp + 8]
call fcn.00402180
mov esi, dword [ebp + 8]
mov eax, 0x41c78c
test esi, esi
je 0x404c3a
mov eax, esi
push 0x10
push 0x41cfb0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or edi, 0xffffffff
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x404c61
mov dword [ebp + 0x24], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x404c75
mov dword [ebp + 0x20], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x404c89
mov dword [ebp + 0x18], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, 0x42a96c
call fcn.00404730
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x404cb6
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x404cb6
mov dword [ebp + 0x54], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x1c], 0
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 8
test eax, eax
je 0x404cd4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 7
test eax, eax
je 0x404ce5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 6
test eax, eax
je 0x404cf6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1e
test esi, esi
je 0x404d07
push esi
call fcn.00406f50
add esp, 4
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x404d1b
push eax
call fcn.00406f50
add esp, 4
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x404d2f
push eax
call fcn.00406f50
add esp, 4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
test eax, eax
je 0x404d5b
push eax
call fcn.0040c5e0
add esp, 4
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
test eax, eax
je 0x404d80
push eax
call fcn.0040c5e0
add esp, 4
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 1
test ecx, ecx
je 0x404d9f
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.0040874b
lea esp, [ebp + 0x6c]
pop ebp
ret
push str.PXV_GetTextFromHRESULT
push dword [0x42a968]
call edi
mov dword [ebp + 0x1c], eax
test eax, eax
jne 0x404de6
push 0xffffffffffffffff
push str.The_main_module_is_invalid._nPlease_re_install_the_application.
lea ecx, [ebp + 8]
call fcn.004056f0
jmp 0x404bae
lea eax, [ebp + 0x54]
push eax
call esi
mov esi, eax
add esp, 4
test esi, esi
js 0x404bb3
push 0
push 0
push 0
xor eax, eax
mov dword [ebp + 0x58], 0
push 0
push 0
mov dword [ebp + 0x5c], eax
lea edx, [ebp + 0x58]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x54]
push 0
push edx
push 0xffffffffffffffff
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 4]
mov dword [ebp + 4], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp + 4]
call dword [eax + 0x14]
mov ecx, ebx
call fcn.00402700
cmp word [ebp + 4], 0
mov eax, str.PXE:C0D10193_D66F_468C_855B_91E108694526
je 0x404e5f
mov eax, str.PXE:20777EE5_5B7B_42FD_8DA5_AAD22FAAE2AB
push eax
lea ecx, [ebp - 0x8c]
call fcn.004075e0
cmp dword [ebx + 0xc], 0
jne 0x404eac
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebx + 0x28], 0
mov eax, str.PXE:0B2E2C93_0225_4E48_ACCF_40AF84EB4139
je 0x404e89
mov eax, str.PXE:941E9242_D9E9_4706_B04B_B66DEC5EE835
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov dword [ebx + 0x14], ecx
cmp dword [ebx + 0x14], 0
jne 0x404ffc
mov dword [ebp + 0x4c], 0
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 0x4c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0xb
push eax
mov byte [ebp - 4], 0xb
call dword [ecx + 0x9c]
push 0xffffffffffffffff
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
call fcn.004056f0
mov edi, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x28]
mov byte [ebp - 4], 0xc
test edi, edi
je 0x404f69
mov eax, 0x41c78c
test esi, esi
je 0x404f12
mov eax, esi
lea ecx, [edi + edi]
cmp word [ecx + eax - 2], 0x5c
mov dword [ebp + 0x3c], ecx
jne 0x404f69
lea ebx, [edi - 1]
cmp ebx, dword [ebp + 0x30]
jbe 0x404f5a
lea eax, [ebx + 0x20]
and eax, 0xffffffe0
mov dword [ebp + 0x50], eax
add eax, eax
push eax
push esi
call fcn.00406fd0
add esp, 8
test eax, eax
je 0x404f69
test esi, esi
jne 0x404f4e
mov ecx, dword [ebp + 0x3c]
xor edx, edx
mov word [eax + ecx], dx
mov esi, eax
mov eax, dword [ebp + 0x50]
dec eax
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x30], eax
mov edi, ebx
mov dword [ebp + 0x2c], edi
test esi, esi
je 0x404f69
xor eax, eax
mov word [esi + ebx*2], ax
mov eax, dword [ebp + 0x30]
sub eax, edi
cmp eax, 1
jae 0x404f95
lea eax, [edi + 0x21]
and eax, 0xffffffe0
add eax, eax
push eax
push esi
call fcn.00406fd0
add esp, 8
test eax, eax
je 0x404f9a
test esi, esi
jne 0x404f93
xor ecx, ecx
mov word [eax + edi*2], cx
mov esi, eax
xor eax, eax
mov dword [esi + edi*2], eax
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], ax
mov eax, 0x41c78c
test esi, esi
je 0x404fc4
mov eax, esi
mov dword [ebp - 0x40], eax
mov eax, 0x614
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov byte [ebp - 4], 0xd
test esi, esi
je 0x404ff2
push esi
call fcn.00406f50
add esp, 4
push dword [ebp + 0x4c]
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call eax
lea ecx, [ebp - 0x8c]
call fcn.00407670
mov dword [ebp + 0x40], 0
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 0x40]
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [eax]
push 0
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0x9c]
mov eax, dword [ebp + 0x40]
mov esi, dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov edi, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
test eax, eax
jne 0x4051bc
mov dword [ebp + 0x3c], 0
push 0xb
push str.History.dat
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0xf
call fcn.00402230
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x4051e4
mov dword [ebp + 0x4c], eax
push 0x11
push str.HistoryThumbs.dat
lea ecx, [ebp + 0x4c]
call fcn.00402230
mov dword [ebp + 0x34], 0
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 0x34]
push edx
push 0x41ceb4
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x11
call dword [ecx + 0x70]
mov dword [ebp + 0x38], 0
mov eax, dword [ebp + 0x34]
lea edx, [ebp + 0x38]
push edx
push 0x41d0ac
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x12
call dword [ecx]
mov eax, dword [ebp + 0x38]
lea edx, [ebp + 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov dword [ebp + 0x44], 0
mov eax, dword [ebp + 0x24]
lea edx, [ebp + 0x20]
mov esi, dword [ebp + 0x3c]
push edx
push 0
mov ecx, dword [eax]
push 0
push esi
push eax
mov byte [ebp - 4], 0x13
call dword [ecx + 0x4c]
mov eax, dword [ebp + 0x24]
lea edx, [ebp + 0x18]
mov edi, dword [ebp + 0x4c]
push edx
push 0
mov ecx, dword [eax]
push 0
push edi
push eax
call dword [ecx + 0x4c]
cmp word [ebp + 4], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
jne 0x40520c
push 0xffffffffffffffff
push str.HKCU_
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x14
call fcn.00402180
push 0xffffffffffffffff
push str.SoftwareTracker_SoftwarePDFXEditor3.0Settings
lea ecx, [ebp + 0x28]
call fcn.00402180
mov dword [ebp + 0x50], 0
mov ebx, dword [ebp + 0x28]
mov edx, 0x41c78c
mov byte [ebp - 4], 0x15
test ebx, ebx
je 0x40514c
mov edx, ebx
mov eax, dword [ebp + 0x54]
lea esi, [ebp + 0x50]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push dword [ebp + 0x50]
lea ecx, [ebp + 0x44]
call fcn.004031c0
test al, al
jne 0x40519f
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x40518b
mov ecx, dword [eax]
lea edx, [ebp + 0x44]
push edx
push 0x41c75c
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp + 0x50]
jns 0x405192
mov dword [ebp + 0x44], 0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4051a2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x50]
mov esi, dword [ebp + 0x3c]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4051b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
jmp 0x4052b4
push eax
call edi
push eax
push dword [ebp + 0x40]
call esi
cmp dword [ebp + 0x40], 0
mov dword [ebp + 0x3c], eax
je 0x405046
test eax, eax
jne 0x405046
push 0x8007000e
call fcn.00402620
push eax
call edi
push eax
push dword [ebp + 0x40]
call esi
cmp dword [ebp + 0x40], 0
mov dword [ebp + 0x4c], eax
je 0x405067
test eax, eax
jne 0x405067
push 0x8007000e
call fcn.00402620
push 0xffffffffffffffff
push dword [ebp + 0x40]
lea ecx, [ebp + 0x28]
call fcn.004056f0
push 0xffffffffffffffff
push str.Settings.dat
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x17
call fcn.00402180
mov dword [ebp + 0x50], 0
mov ebx, dword [ebp + 0x28]
mov edx, 0x41c78c
mov byte [ebp - 4], 0x18
test ebx, ebx
je 0x405245
mov edx, ebx
mov eax, dword [ebp + 0x24]
lea edi, [ebp + 0x50]
push edi
push 0
push 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x4c]
push dword [ebp + 0x50]
lea ecx, [ebp + 0x44]
call fcn.004031c0
test al, al
jne 0x40529c
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x405288
mov ecx, dword [eax]
lea edx, [ebp + 0x44]
push edx
push 0x41c75c
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp + 0x50]
jns 0x40528f
mov dword [ebp + 0x44], 0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x40529f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x50]
mov edi, dword [ebp + 0x4c]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x4052b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x19
test ebx, ebx
je 0x4052c1
push ebx
call fcn.00406f50
add esp, 4
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x48]
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp], eax
mov eax, dword [ecx]
mov byte [ebp - 4], 0x13
call dword [eax + 0x28]
mov edx, dword [ebp + 0x14]
push 0
push 0
mov ecx, dword [eax + 4]
add ecx, dword [ebp + 0x48]
mov eax, dword [edx]
push ebx
push dword [ebp + 0x50]
push dword [ebp]
push 0
push ecx
push edx
call dword [eax + 0x24]
mov dword [ebp], eax
mov eax, dword [ebp + 0x44]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x405313
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x38]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x405324
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x34]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x405335
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push esi
call edi
push dword [ebp + 0x40]
mov byte [ebp - 4], 9
call edi
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x48]
test esi, esi
js 0x404bb9
xor edi, edi
mov dword [ebp + 0x34], edi
test esi, esi
jne 0x405370
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
lea ecx, [ebp - 0x80]
call fcn.00405550
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp dword [ebp + 0x24], edi
je 0x40553e
cmp dword [ebx + 0x24], edi
je 0x405536
mov eax, dword [ebp + 0x54]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
cmp dword [ebp + 0x20], 0
mov edi, eax
je 0x40546f
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x48], 0
mov ecx, dword [ebp + 0x54]
lea eax, [ebp + 0x48]
push eax
push ecx
mov byte [ebp - 4], 0x1b
mov edx, dword [ecx]
call dword [edx + 0x1a8]
mov eax, dword [ebp + 0x48]
test eax, eax
jne 0x4053d4
mov byte [ebp - 4], 9
jmp 0x40546f
lea edx, [ebp + 0x38]
mov dword [ebp + 0x38], 0
mov ecx, dword [eax]
push edx
push 0
push str.History.ReadOnly
push eax
call dword [ecx + 0x68]
cmp word [ebp + 0x38], 0
mov eax, dword [ebp + 0x48]
je 0x405406
mov byte [ebp - 4], 9
test eax, eax
je 0x40546f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40546f
mov ecx, dword [eax]
lea edx, [ebp + 0x4c]
push edx
push 0
push str.History.ClearOnExit
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp + 0x48]
mov byte [ebp - 4], 9
test eax, eax
je 0x405428
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp word [ebp + 0x4c], 0
je 0x40543d
mov eax, dword [ebp + 0x54]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1ac]
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 0x3c]
mov dword [ebp + 0x3c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1b8]
cmp word [ebp + 0x3c], 0
je 0x40546f
mov eax, dword [ebp + 0x54]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x150]
test edi, edi
jns 0x40552b
cmp edi, 0x80070057
je 0x40552b
test esi, esi
jne 0x40552b
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 0x38]
mov dword [ebp + 0x38], esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
cmp word [ebp + 0x38], si
jne 0x40552b
push 0xffffffffffffffff
push str.Failed_to_save_the_application_settings.
lea ecx, [ebp + 0x28]
call fcn.004015e0
mov dword [ebp + 0x4c], esi
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 0x4c]
push edx
push esi
push edi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0x1d
call dword [ecx + 0xcc]
push dword [ebp + 0x4c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4054f9
push 0xffffffffffffffff
push 0x41d07c
lea ecx, [ebp + 0x28]
call fcn.00402180
push 0xffffffffffffffff
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x28]
call fcn.00402180
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x405505
mov eax, 0x41c78c
push 0x10
push 0x41cfb0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp + 0x4c]
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call eax
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 9
call fcn.00401750
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x34]
jmp 0x404c4d
mov esi, dword [ebp + 8]
jmp 0x404c4d
mov esi, dword [ebp + 8]
jmp 0x404c61