Function at 0x408e9f
Capabilities:
Terminate process

Disassembly:
mov eax, 0x40b96b
call fcn.0040a100
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
lea eax, [esi + 0x12c]
push 0x5c
push eax
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
call fcn.00403fe8
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edi, str.HISTORY.XML
push edi
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.00403f6e
add esp, 0xc
mov ecx, esi
call fcn.0040548c
cmp eax, ebx
lea ecx, [ebp - 0x1c]
sete byte [ebp - 0x11]
mov byte [ebp - 4], bl
call dword [0x40c124]
cmp byte [ebp - 0x11], bl
je 0x409060
mov ecx, esi
call fcn.00408e32
cmp eax, ebx
jne 0x408f2c
push 0x10
push 0x40d114
push 0x40fb10
jmp 0x4092ab
push 0x5c
lea eax, [esi + 0x12c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403fe8
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.00403f6e
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [ebp - 0x134]
push eax
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call dword [0x40c124]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call dword [0x40c124]
lea eax, [ebp - 0x134]
push eax
mov ecx, esi
call fcn.0040869a
cmp eax, ebx
jne 0x408fa2
push 0x10
push 0x40d114
push 0x40fae0
jmp 0x4092ab
push 0x5c
lea eax, [esi + 0x12c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403fe8
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edi
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.00403f6e
add esp, 0xc
mov ecx, esi
call fcn.00407e7b
cmp eax, ebx
lea ecx, [ebp - 0x18]
sete byte [ebp - 0x11]
mov byte [ebp - 4], bl
call dword [0x40c124]
cmp byte [ebp - 0x11], bl
je 0x409060
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x5c
lea eax, [esi + 0x12c]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00403fe8
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.00403f6e
add esp, 0xc
push 0x40faac
push dword [eax]
lea eax, [ebp - 0x1c]
push 0x40fa74
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [ebp - 0x18]
call dword [0x40c124]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call dword [0x40c124]
push 0x10
push 0x40d114
lea ecx, [ebp - 0x1c]
jmp 0x4092a4
lea edi, [esi + 0xc8]
mov ecx, edi
call fcn.00405799
test eax, eax
jle 0x409228
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call sub.MFC71.DLL_CListCtrl::GetItemText
push 0x104
lea ecx, [ebp - 0x134]
push ecx
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [ebp - 0x18]
call dword [0x40c124]
xor eax, eax
cmp dword [esi + 0x11c], ebx
sete al
push eax
push ecx
lea eax, [ebp - 0x134]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push ecx
lea eax, [esi + 0x120]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0040664f
cmp dword [esi + 0x11c], ebx
mov ecx, dword [esi + 0x140]
mov byte [ebp - 4], 8
je 0x409103
push 0x40fa5c
jmp 0x409108
push str.UPX_iT_
call fcn.004024ef
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
inc eax
push eax
call sub.MFC71.DLL_operator_new_1
mov dword [0x41428c], eax
mov eax, dword [esi + 0x140]
mov dword [0x414290], eax
mov eax, dword [esi + 0xbc8]
mov dword [0x414294], eax
mov eax, dword [esi + 0xbcc]
mov dword [0x414298], eax
mov eax, dword [esi + 0x11c]
pop ecx
mov dword [0x41429c], eax
push dword [esi + 0x1608]
mov ecx, 0x4142a0
call fcn.004070cf
push 0x5c
lea eax, [esi + 0x12c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403fe8
add esp, 0xc
push str.HISTORY.XML
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.00403f6e
add esp, 0xc
push eax
mov ecx, 0x4142a4
mov byte [ebp - 4], 0xa
call dword [0x40c138]
lea ecx, [ebp - 0x18]
call dword [0x40c124]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call dword [0x40c124]
lea eax, [esi + 0x1614]
lea ecx, [ebp - 0x1c]
mov dword [0x4142a8], eax
mov dword [0x4142ac], esi
mov dword [0x4142b0], 0x414280
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push dword [0x41428c]
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
push 0x41428c
push 0x408b5b
call sub.MFC71.DLL_AfxBeginThread
mov dword [esi + 0x1610], eax
cmp dword [eax + 0x2c], ebx
je 0x40921f
push ebx
mov ecx, esi
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0x140]
mov eax, dword [ecx]
call dword [eax + 0x148]
push 5
mov ecx, esi
call sub.MFC71.DLL_CWnd::ShowWindow
lea ecx, [ebp - 0x1c]
call dword [0x40c124]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call sub.MFC71.DLL_CWnd::MessageBoxA
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.MSVCR71.dll_exit]
int3