Function at 0x1002ba00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10038134
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov dword [esp + 0x14c], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 2
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x6c]
lea ecx, [esp + 0x14]
mov bl, 3
mov eax, dword [eax + 4]
mov byte [esp + 0x14c], bl
push eax
push 0x100541f4
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + 0xc]
push eax
lea eax, [esp + 0x20]
push 0x100541f4
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 0x24]
mov eax, dword [ecx + 8]
push eax
push 0x100541f4
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x24
add esi, 0x68
lea eax, [esp + 0x20]
push esi
push str._ConfMedia_version_
push eax
call sub.MFC42.DLL_operator_2
push 0x1005974c
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x158], 4
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x150], 5
call fcn.100330ac
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push str._t_Site_nb_clicks_
push eax
call sub.MFC42.DLL_operator_2
push str.__nb_sites_
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x158], 6
call sub.MFC42.DLL_operator
mov byte [esp + 0x14c], 7
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_1
push str.____n
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x158], 8
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x150], 9
call fcn.100330ac
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push str._t_Ask_nb_mins_
push eax
call sub.MFC42.DLL_operator_2
push str.____n
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x158], 0xa
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x150], 0xb
call fcn.100330ac
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], bl
call sub.MFC42.DLL_CString::CString
push str.__ConfMedia_
lea ecx, [esp + 0xc]
call fcn.10032ddc
mov esi, dword [esp + 0x154]
lea edx, [esp + 0x2c]
push edx
push esi
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x1002bc44
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
je 0x1002bc9c
mov eax, dword [esp + 8]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x28]
push 0
mov eax, dword [eax - 8]
push ecx
push eax
push 0
lea ecx, [esp + 0x18]
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 + 0xc]
jne 0x1002bce7
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x1002bd3f
call sub.MFC42.DLL_CString::ReleaseBuffer
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x144]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret 4