Function at 0x1002b060
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10037fe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea eax, [edi + 0x68]
lea ecx, [esp + 0x14]
push eax
xor esi, esi
push str._Cache_version_
push ecx
mov dword [esp + 0x15c], esi
call sub.MFC42.DLL_operator_2
push 0x1005974c
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x15c], 1
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.100330ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x80]
mov ebp, dword [edi + 0x78]
cmp eax, esi
mov dword [esp + 0x10], esi
jle 0x1002b22d
push ebx
mov bl, 7
mov eax, ebp
mov ebp, dword [ebp]
mov esi, dword [eax + 8]
test esi, esi
je 0x1002b215
push esi
lea eax, [esp + 0x28]
push str._t_Trace_log_
push eax
call sub.MFC42.DLL_operator_2
push str.__comment_
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x160], 3
call sub.MFC42.DLL_operator
lea edx, [esi + 8]
mov byte [esp + 0x154], 4
push edx
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator_1
push str.__date_
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x160], 5
call sub.MFC42.DLL_operator
add esi, 4
lea edx, [esp + 0x30]
push esi
push eax
push edx
mov byte [esp + 0x160], 6
call sub.MFC42.DLL_operator_1
push str.____n
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x15c], bl
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 8
call fcn.100330ac
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x80]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x1002b109
pop ebx
push str.__Cache_
lea ecx, [esp + 0x10]
call fcn.10032ddc
mov esi, dword [esp + 0x158]
lea ecx, [esp + 0x30]
push ecx
push esi
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x1002b257
push esi
call sub.MFC42.DLL_CFile::Remove
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x1002b28e
lea ecx, [esp + 0xc]
mov dword [esp + 0x150], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x1002b304
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x28]
push 0
mov eax, dword [edx - 8]
push ecx
push eax
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
jne 0x1002b2df
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0xc]
mov dword [esp + 0x150], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x1002b304
call sub.MFC42.DLL_CString::ReleaseBuffer
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x150], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x148
ret 4