Function at 0x52a7a0
Capabilities:
Delete file
Get file size
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x59251e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b4
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push 0xcb4
lea ecx, [esp + 0x14]
call fcn.0054afd0
mov eax, dword [0x6658c0]
lea ecx, [esp + 0x8b4]
push eax
mov dword [esp + 0x8c8], ebx
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
je 0x52a875
lea ecx, [esp + 0x8b8]
mov dword [esp + 0x8c4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8b4]
mov byte [esp + 0x8c4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8b0]
mov byte [esp + 0x8c4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8ac]
mov byte [esp + 0x8c4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x8c4], 0xffffffff
call fcn.0040b5b0
pop esi
pop ebx
mov ecx, dword [esp + 0x8b4]
mov dword fs:[0], ecx
add esp, 0x8c0
ret
mov edx, dword [esi]
push str.Sending_database..._Please_wait....
push 0x10c4
mov ecx, esi
call dword [edx + 0x160]
call fcn.004f1410
mov eax, dword [esi + 0x3b9c]
push eax
call fcn.004f1720
add esp, 4
mov dword [esi + 0x98c], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x200000
mov dword [esi + 0x990], eax
ja 0x52aa3c
mov eax, dword [esi + 0x3d2c]
push edi
lea edi, [esi + 0x3b98]
push eax
push str.SQL_DATABASE__s
push edi
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 0x98c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x64b2e0]
mov eax, dword [esi + 0x3b9c]
mov edi, dword [edi]
push ebx
mov edx, dword [ecx]
push ebx
push 0x619640
push 0x619640
push 0x619640
push eax
push edi
call dword [edx + 0x2ac]
mov eax, dword [esi + 0x3b9c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x3ccc]
push ebx
push 0x64
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00513460
lea ecx, [esp + 0x8bc]
mov dword [esp + 0x8c8], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8b8]
mov byte [esp + 0x8c8], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8b4]
mov byte [esp + 0x8c8], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8b0]
mov byte [esp + 0x8c8], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x684]
mov dword [esp + 0x8c8], 0xc
call fcn.00554d00
lea ecx, [esp + 0x458]
mov byte [esp + 0x8c8], 0xb
call fcn.00554d00
lea ecx, [esp + 0xf8]
mov byte [esp + 0x8c8], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf4]
mov byte [esp + 0x8c8], 9
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x10], 0x59fdc8
lea ecx, [esp + 0xe4]
mov dword [esp + 0x8c8], 0xe
call fcn.004c96c0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x8c8], 0xd
call fcn.004c96c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x8c8], 0xffffffff
call fcn.0040af10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8b4]
mov dword fs:[0], ecx
add esp, 0x8c0
ret
push 5
lea ecx, [esi + 0x3cec]
call sub.MFC42.DLL_CWnd::ShowWindow
push ebx
lea ecx, [esi + 0x3cac]
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1a0]
mov eax, dword [esi + 0x98c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x3b9c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esi + 0x3ccc]
push ebx
push 0x64
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00513460
lea ecx, [esp + 0x8b8]
mov dword [esp + 0x8c4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8b4]
mov byte [esp + 0x8c4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8b0]
mov byte [esp + 0x8c4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8ac]
mov byte [esp + 0x8c4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x680]
mov dword [esp + 0x8c4], 0x16
call fcn.00554d00
lea ecx, [esp + 0x454]
mov byte [esp + 0x8c4], 0x15
call fcn.00554d00
lea ecx, [esp + 0xf4]
mov byte [esp + 0x8c4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf0]
mov byte [esp + 0x8c4], 0x13
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xc], 0x59fdc8
mov eax, dword [esp + 0xe4]
lea edx, [esp + 8]
push eax
mov dword [esp + 0x8c8], 0x18
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0xec]
call fcn.0040b9c0
mov eax, dword [esp + 0xe4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xdc]
add esp, 4
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x8d0], 0x17
lea ecx, [esp + 0xe0]
call fcn.0040b9c0
mov edx, dword [esp + 0xd8]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
lea ecx, [esp + 0x94]
mov dword [esp + 0x8c4], 0x1a
call fcn.005523ea
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c4], 0x19
call fcn.0040ba70
lea ecx, [esp + 0xc]
mov dword [esp + 0x8c4], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x8bc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c0
ret