Function at 0x402770
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [ebp - 4], eax
cmp dword [edx - 8], 0xfa
jle 0x4027af
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
test eax, eax
je 0x40297f
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x4072b4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
push str._rlfs
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00404466
mov eax, dword [ebp - 0x14]
push 0
push eax
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x402814
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x402967
lea edx, [ebp - 0x20]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
lea eax, [ebp - 0x1c]
push str._y_m_d
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CTime::Format
mov ecx, dword [ebp + 0xc]
mov bl, 5
mov byte [ebp - 4], bl
mov eax, dword [ecx - 8]
test eax, eax
jne 0x402858
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push edx
push eax
lea ecx, [ebp + 0xc]
push str._s_vs_s.Log
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x40288c
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x18]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
lea edx, [ebp + 0xc]
push str._s_s
push edx
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [ebp + 0xc]
push 0
push 0x3002
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4028c8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.004044ae
mov byte [ebp - 4], 4
jmp 0x40295f
lea ecx, [ebp - 0x24]
push str._Y__m__d__H:_M:_S
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CTime::Format
mov bl, 9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push edx
push eax
lea ecx, [ebp - 0x18]
push str._s__t__s
push ecx
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0x407278
call fcn.00404466
mov edx, dword [ebp - 0x38]
push 2
push 0
lea ecx, [ebp - 0x38]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.004044ae
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004042e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8