Function at 0x403fd0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x406c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_COleDateTime::SetDateTime
lea eax, [esp + 0x10]
push eax
call fcn.00403110
add esp, 4
push str.log.ini
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0
call fcn.0040671e
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402c50
push 0
push str.high
push str.temp
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 1
call fcn.00402cb0
push 0
push 0x40a598
push str.temp
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00402cb0
push 0
push str.date
push str.temp
lea ecx, [esp + 0x34]
mov edi, eax
call fcn.00402cb0
push 0
push str.time
push str.temp
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00402cb0
lea edx, [esp + 0x14]
mov ebx, eax
push edx
call fcn.00403d70
add esp, 4
mov eax, dword [esp + 0x14]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
mov byte [esp + 0x80], 2
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40429a
lea ecx, [esp + 0x30]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp edi, dword [esp + 0x30]
jne 0x4040f1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
cmp edx, eax
je 0x40421e
test esi, esi
jne 0x404158
lea eax, [esp + 0x38]
push eax
push esi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ax, word [esp + 0x4c]
mov cl, byte [esp + 0x4e]
mov dl, byte [esp + 0x52]
mov word [esp + 0x20], ax
mov ax, word [esp + 0x54]
mov byte [esp + 0x22], cl
mov cl, byte [esp + 0x56]
mov byte [esp + 0x23], dl
mov dl, byte [esp + 0x58]
mov esi, dword [esp + 0x20]
mov word [esp + 0x18], ax
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], dl
mov edi, dword [esp + 0x18]
jmp 0x404162
mov edi, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
push esi
push str.date
push str.last
lea ecx, [esp + 0x34]
call fcn.00402cd0
push edi
push str.time
push str.last
lea ecx, [esp + 0x34]
call fcn.00402cd0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push eax
push str.high
push str.last
call fcn.00402cd0
mov ecx, dword [esp + 0x30]
push ecx
push 0x40a598
push str.last
lea ecx, [esp + 0x34]
call fcn.00402cd0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push edx
push str.high
push str.temp
call fcn.00402cd0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x28]
push eax
push 0x40a598
push str.temp
call fcn.00402cd0
mov ecx, dword [esp + 0x1b]
mov edx, dword [esp + 0x1a]
mov eax, dword [esp + 0x23]
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0x26]
and edx, 0xff
and edi, 0xffff
push edx
and eax, 0xff
push edi
and ecx, 0xff
push eax
push ecx
jmp 0x404283
push 0
push str.date
push str.last
lea ecx, [esp + 0x34]
call fcn.00402cb0
push 0
mov esi, eax
push str.time
push str.last
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], esi
call fcn.00402cb0
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x23]
mov ecx, dword [esp + 0x22]
and edx, 0xff
and ecx, 0xff
push edx
mov edx, dword [esp + 0x1f]
and eax, 0xffff
push ecx
push eax
mov eax, dword [esp + 0x26]
and edx, 0xff
and eax, 0xff
push edx
push eax
and esi, 0xffff
lea ecx, [esp + 0x54]
push esi
call sub.MFC42.DLL_COleDateTime::SetDateTime
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
fld qword [esp + 0x40]
mov dword [esi + 8], ecx
lea ecx, [esp + 0x14]
fstp qword [esi]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0
call fcn.00402c40
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret