Function at 0x594ef0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c989b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov al, byte [ebp + 0xc]
push 0
test al, al
lea ecx, [ebp - 0x18]
je 0x594fb1
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 4]
push 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 8]
push 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0xc]
push 0
mov dword [ebp + 0xc], ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x18]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0xc]
push edx
add eax, 0x76c
push edi
push ebx
push ecx
cdq
mov ecx, 0x64
push esi
idiv ecx
push edx
lea edx, [ebp - 0x14]
push str..db_bak__02d_02d_02d_02d_02d__s.mdb
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x20
jmp 0x594feb
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x18]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 8]
add eax, 0x76c
push ecx
cdq
mov ecx, 0x64
push esi
idiv ecx
push edx
lea edx, [ebp - 0x14]
push str..db_bak__02d_02d__s.mdb
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push eax
push str..db_s.mdb
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFileFind::CFileFind
mov edx, dword [ebp - 0x14]
push 0
push edx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFileFind::FindFile
cmp eax, 1
je 0x59525b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push edx
push str.ProviderMicrosoft.Jet.OLEDB.4.0_Data_Source_s_
push eax
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
lea edx, [ebp - 0x24]
push ecx
push str.ProviderMicrosoft.Jet.OLEDB.4.0_Data_Source_s_Jet_OLEDB:Engine_Type5_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c], 0
push 7
push 0
push 0x638960
call fcn.0059a590
test eax, eax
jge 0x5950a3
cmp eax, 0x80004002
je 0x5950a3
push eax
call fcn.0059c6cc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0041a850
push ecx
mov edi, eax
mov dword [ebp - 0x30], esp
mov ebx, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
mov byte [ebp - 4], 8
je 0x5950f8
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.0059c779
test eax, eax
mov dword [esi], eax
jne 0x5950fa
test edi, edi
je 0x5950fa
push 0x8007000e
call fcn.0059c6cc
jmp 0x5950fa
xor esi, esi
test esi, esi
mov byte [ebp - 4], 7
mov dword [ebx], esi
jne 0x59510e
push 0x8007000e
call fcn.0059c6cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0041a850
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004db830
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0059a570
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00595470
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push eax
mov bl, 0xb
push 0x63894c
push ecx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x5951c8
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5951c8
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [ebp + 0xc]
call fcn.0041a850
push eax
push 0x60c790
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [ebp + 0xc]
call fcn.0041a850
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x60c790
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x34], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [ebp - 4], bl
call fcn.00459390
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
test eax, eax
je 0x595243
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0059bb6c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8