Function at 0x58c0c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfadb
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 0x58c181
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 0x58c1bb
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 0x58c42b
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 0x62cd30
call fcn.00591690
test eax, eax
jge 0x58c273
cmp eax, 0x80004002
je 0x58c273
push eax
call fcn.005937d4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0041a8d0
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 0x58c2c8
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.00593881
test eax, eax
mov dword [esi], eax
jne 0x58c2ca
test edi, edi
je 0x58c2ca
push 0x8007000e
call fcn.005937d4
jmp 0x58c2ca
xor esi, esi
test esi, esi
mov byte [ebp - 4], 7
mov dword [ebx], esi
jne 0x58c2de
push 0x8007000e
call fcn.005937d4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0041a8d0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004d9b90
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004dfc40
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0058c640
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 0x62cd1c
push ecx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0xc
test eax, eax
je 0x58c398
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58c398
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [ebp + 0xc]
call fcn.0041a8d0
push eax
push 0x601774
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x635400]
push str.runtime
push 0x601760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb7d0
mov ecx, dword [0x635400]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [ebp + 0xc]
call fcn.0041a8d0
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 0x601774
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 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62ffdc]
mov byte [ebp - 4], bl
call fcn.00458cb0
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 0x58c413
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.00592c8a
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