Function at 0x405920
Capabilities:
Delete file
Get common file path
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x42217c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x330], edi
call fcn.00421016
lea ecx, [esp + 0x1c]
mov byte [esp + 0x330], 2
mov dword [0x430e34], edi
call fcn.00421016
lea eax, [esp + 0x220]
mov byte [esp + 0x330], 3
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x220]
push ecx
mov ecx, 0x430034
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call fcn.00421016
lea ecx, [esp + 0x18]
mov byte [esp + 0x330], 4
call fcn.00421016
lea edx, [esp + 0x33c]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x334], 5
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x344]
lea edx, [esp + 0x340]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x340], 6
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x348]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x344], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x340], 5
push ecx
mov ecx, dword [0x43192c]
call fcn.0040b300
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x334], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x330], 5
call sub.MFC42.DLL_CString::CString
mov al, byte [0x431c28]
xor ebx, ebx
cmp al, bl
jne 0x405a9b
mov edx, dword [0x43192c]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [0x43192c]
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x43192c]
call fcn.0040d340
mov byte [0x431c28], 1
push 0x96
mov ecx, 0x431104
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [0x431104]
push ecx
push 0x3e8
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
cmp esi, ebx
jne 0x405ac5
xor eax, eax
jmp 0x405ac8
mov eax, dword [esi + 0x20]
lea edi, [esi + 0xdc]
mov dword [edi], eax
mov edx, dword [esi + 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0xf0]
lea ebp, [esi + 0xe4]
mov dword [esi + 0xe0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x432490]
mov edx, dword [0x43191c]
push ecx
push edx
lea eax, [esi + 0xe8]
push 0x42e1cc
push eax
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [0x430ba8]
push str.ATMEL
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x18
test eax, eax
je 0x405b4e
mov eax, dword [0x430ba8]
push str.BOOREE
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x405eeb
cmp dword [esp + 0x340], 3
je 0x405eeb
push ebx
lea ecx, [esp + 0x34]
call fcn.0040e640
push ebp
lea ecx, [esp + 0x94]
mov byte [esp + 0x334], 9
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x432490]
mov edx, dword [0x43191c]
push ecx
push edx
lea eax, [esp + 0x9c]
push 0x42e1cc
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0xa4]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x405cf3
mov ecx, esi
call fcn.0040a030
lea ecx, [esp + 0x20c]
mov byte [esp + 0x330], 0x17
call fcn.0042121a
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x330], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x330], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x330], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x330], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x330], 0x12
call sub.MFC42.DLL_CProgressCtrl::CProgressCtrl
lea ecx, [esp + 0x160]
mov byte [esp + 0x330], 0x11
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x120]
mov byte [esp + 0x330], 0x10
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0xe0]
mov byte [esp + 0x330], 0xf
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0xa0]
mov byte [esp + 0x330], 0xe
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x9c]
mov byte [esp + 0x330], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0x330], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0x330], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0x330], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x330], 5
call fcn.00421172
jmp 0x405f59
push 0xe2
mov ecx, 0x431104
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [0x430be0]
mov eax, dword [0x431104]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s__s
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x24]
add esp, 0x10
push ebx
push ebx
push edx
call sub.MFC42.DLL_AfxMessageBox
mov dword [0x42ffe0], ebx
mov dword [0x42ffe4], ebx
mov dword [0x4324b0], ebx
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x20c]
mov byte [esp + 0x330], 0x25
call fcn.0042121a
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x330], 0x24
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x330], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x330], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x330], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x330], 0x20
call sub.MFC42.DLL_CProgressCtrl::CProgressCtrl
lea ecx, [esp + 0x160]
mov byte [esp + 0x330], 0x1f
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x120]
mov byte [esp + 0x330], 0x1e
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0xe0]
mov byte [esp + 0x330], 0x1d
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0xa0]
mov byte [esp + 0x330], 0x1c
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x9c]
mov byte [esp + 0x330], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0x330], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0x330], 0x19
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x330], 0x18
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x330], 5
call fcn.00421172
lea ecx, [esp + 0x18]
mov byte [esp + 0x330], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x330], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x330], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x330], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x338]
mov byte [esp + 0x330], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x33c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x405fcc
cmp dword [esi + 0xd8], ebx
jne 0x405f4c
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
push ebx
push 4
push ebx
push ebx
push edi
push 0x402db0
call sub.MFC42.DLL_AfxBeginThread
cmp eax, ebx
mov dword [esi + 0xd8], eax
je 0x405f34
push 1
mov ecx, esi
mov dword [eax + 0x28], ebx
call fcn.00416a20
mov esi, dword [esi + 0xd8]
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x405f59
push 0xffffffffffffffff
push 0x10
push 0xb6
call sub.MFC42.DLL_AfxMessageBox_1
push ebx
mov ecx, esi
call fcn.00416a20
jmp 0x405f59
mov edx, dword [esi + 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x18]
mov byte [esp + 0x330], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x330], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x330], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x330], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x338]
mov byte [esp + 0x330], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x33c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x324
ret 0xc