Function at 0x590620
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c481b
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 0x5906e1
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 0x59071b
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 0x59098b
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 0x6324d0
call fcn.00595c90
test eax, eax
jge 0x5907d3
cmp eax, 0x80004002
je 0x5907d3
push eax
call fcn.00597dec
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0041a9a0
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 0x590828
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.00597e99
test eax, eax
mov dword [esi], eax
jne 0x59082a
test edi, edi
je 0x59082a
push 0x8007000e
call fcn.00597dec
jmp 0x59082a
xor esi, esi
test esi, esi
mov byte [ebp - 4], 7
mov dword [ebx], esi
jne 0x59083e
push 0x8007000e
call fcn.00597dec
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0041a9a0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004dab00
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004daae0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00590ba0
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 0x6324b8
push ecx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x5908f8
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5908f8
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [ebp + 0xc]
call fcn.0041a9a0
push eax
push 0x606790
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x63ac20]
push str.runtime
push 0x60677c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ec710
mov ecx, dword [0x63ac20]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [ebp + 0xc]
call fcn.0041a9a0
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 0x606790
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 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [ebp - 4], bl
call fcn.00458fc0
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 0x590973
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.0059728a
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