Function at 0x425820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [0x1404c0c]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x4d03b0
push eax
mov dword [ebp - 4], 0
call esi
add esp, 8
test eax, eax
je 0x425ac9
push 0x4cf25c
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x52fda4]
push ecx
push edx
call esi
add esp, 8
lea ecx, [ebp - 0x20]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x4258c2
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [ebp - 0x18]
push 0x4d127c
push ecx
call esi
add esp, 8
mov byte [ebp - 4], 0
test eax, eax
lea ecx, [ebp - 0x18]
jne 0x425ac4
call sub.MFC42u.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x1404c0c
call sub.MFC42u.DLL_CString::CString_3
call fcn.00428e30
add esp, 4
test al, al
jne 0x425ac9
mov al, byte [0x1404c14]
test al, al
jne 0x425ac9
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push edx
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 8]
mov bl, 2
mov eax, dword [eax - 8]
mov byte [ebp - 4], bl
add eax, 0xfffffffc
push eax
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 4
push edx
call fcn.00428bd0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x18], ebx
jne 0x42594f
mov byte [ebp - 4], al
jmp 0x425ac1
lea eax, [ebp - 0x24]
push eax
call sub.MFC42u.DLL_CTime::GetTickCount
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_1
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x1c]
inc esi
call sub.MFC42u.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push edi
add eax, 0x76c
push esi
push eax
lea edx, [ebp - 0x20]
push str._04d__02d__02d.cfg
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0x14
lea ecx, [ebp + 8]
push 0x1404c10
call sub.MFC42u.DLL_CString::CString_3
lea eax, [ebp - 0x14]
push 0x4cf2c0
lea ecx, [ebp - 0x24]
push eax
push ecx
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_operator_4
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.004b0394
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::CString
lea edx, [ebp + 8]
push edx
call fcn.004264d0
add esp, 4
lea eax, [ebp - 0x20]
lea ecx, [ebp + 8]
push eax
call fcn.004b0394
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 8]
not ecx
dec ecx
mov edi, eax
test eax, eax
mov ebx, ecx
je 0x425a36
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.004b0be0
mov eax, esp
push esi
push edi
push eax
call sub.MFC42u.DLL_AfxW2AHelper
push 0x4d0e50
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x425a63
mov ecx, dword [ebp - 0x18]
push esi
push ebx
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov edx, dword [ebp - 0x18]
push edx
call fcn.00428c40
add esp, 4
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::MakeLower
push str._filebackuplogs_
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x425aa2
push str._fileencryptlogs_
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x425aa2
mov byte [0x52fe46], 1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret