Function at 0x425610
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x441a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::CString_3
push 0x45e294
lea eax, [esp + 0x2c]
mov bl, 6
push str._sLOGDATA_
push eax
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x1c]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push edi
add eax, 0x76c
push esi
push eax
lea edx, [esp + 0x28]
push str._04d_02d_02d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 0x24]
push eax
push str._s.DAT
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator
mov byte [esp + 0x54], 7
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x20]
push 0
push 0x3002
push edx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x425919
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4257e3
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Can_NOT_create_LOGDATA_Directory_on_local_disk
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x5c], 8
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x456754
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x46522c]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, 0x45c210
mov byte [esp + 0x64], bl
call fcn.00423280
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_CString::CString
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_1
jmp 0x425894
mov ecx, dword [esp + 0x20]
push 0
push 0x3002
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x425919
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.File_open_error_1___
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x5c], 0xa
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x456738
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [0x46522c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, 0x45c210
mov byte [esp + 0x64], bl
call fcn.00423280
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 0xb
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_CString::CString
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x490c00]
call fcn.00439d10
push 1
push ecx
lea ecx, [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x40], esp
push ecx
push 0x456730
push eax
call sub.MFC42.DLL_operator_2
mov ecx, dword [0x490c00]
call fcn.00439d10
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xffffffff
call fcn.0043cc5e
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov edx, dword [esp + 0x3c]
push 2
push 0
lea ecx, [esp + 0x44]
call dword [edx + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CFile::Write
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 4]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 8]
push esi
push edi
push eax
lea eax, [esp + 0x1c]
push str.__02d:_02d:_02d_
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.00425ab0
mov edx, dword [eax]
lea eax, [esp + 0x10]
push edx
push 0x452f10
push eax
mov byte [esp + 0x60], 0xc
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CFile::Write
mov ecx, dword [0x490c00]
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0xa78]
push edx
push 0x452f10
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CFile::Write
mov ecx, dword [0x45c270]
lea edx, [esp + 0x10]
push ecx
push str._s_r_n
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xffffffff
call fcn.0043cc5e
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret