Function at 0x424b80
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x440bb8
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_4
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::CString_4
push 0x45d05c
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 0x424e89
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x424d53
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 0x4556d4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x463ff4]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, 0x45afd8
mov byte [esp + 0x64], bl
call fcn.004227f0
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 0x424e04
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 0x424e89
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 0x4556b8
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [0x463ff4]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, 0x45afd8
mov byte [esp + 0x64], bl
call fcn.004227f0
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 [0x48f9c8]
call fcn.00439080
push 1
push ecx
lea ecx, [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x40], esp
push ecx
push 0x4556b0
push eax
call sub.MFC42.DLL_operator_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
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.0043bfd4
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.00425020
mov edx, dword [eax]
lea eax, [esp + 0x10]
push edx
push 0x451f10
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 [0x48f9c8]
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0xa78]
push edx
push 0x451f10
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 [0x45b038]
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.0043bfd4
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