Function at 0x444fc0
Capabilities:
Clear file content
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x30e0
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x30dc], eax
push 0
push 0x4b2038
push str.General
call fcn.00456960
test eax, eax
jne 0x444ff9
cmp byte [0x4e5339], al
je 0x445377
cmp byte [0x4c8d50], 0
je 0x445377
mov ecx, dword [esp + 0x30e8]
lea eax, [esp + 0x30ec]
push eax
push ecx
lea edx, [esp + 0x8e4]
push 0x800
push edx
call fcn.004a8db4
mov ecx, dword [esp + 0x30f4]
add esp, 0x10
mov byte [esp + 0x10db], 0
test ecx, ecx
jne 0x445043
mov ecx, 0x4b1914
lea edx, [esp + 0xdc]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x445050
cmp byte [esp + 0xdc], al
je 0x44507e
lea eax, [esp + 0xdc]
lea ebx, [ebx]
cmp byte [eax], 0x2f
jne 0x445078
mov byte [eax], 0x5c
inc eax
cmp byte [eax], 0
jne 0x445070
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x32
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0x32
lea eax, [esp + 0x48]
push eax
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x80]
push str._s__s
push ecx
call fcn.0049deb5
add esp, 0x10
xor eax, eax
nop
mov cl, byte [eax + 0x4db848]
mov byte [esp + eax + 0x4dc], cl
inc eax
test cl, cl
jne 0x4450e0
push esi
cmp byte [0x4e5339], cl
je 0x445152
push 0x4e5339
call fcn.0044db30
cmp eax, 0x4e5339
jne 0x445131
push 0x4e5339
call fcn.0044db30
lea edx, [esp + 0x4e0]
push edx
mov esi, eax
call fcn.0044db30
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x445125
jmp 0x445152
xor eax, eax
jmp 0x445140
mov cl, byte [eax + 0x4e5339]
mov byte [esp + eax + 0x4e0], cl
inc eax
test cl, cl
jne 0x445140
lea eax, [esp + 0x4e0]
push 0x4b3764
push eax
call fcn.0049f748
mov esi, eax
add esp, 8
test esi, esi
jne 0x4451b9
lea ecx, [esp + 0x4e0]
push 0x4b3760
push ecx
call fcn.0049f748
mov esi, eax
add esp, 8
test esi, esi
jne 0x4451b9
lea edx, [esp + 0x4e0]
push edx
push 0x1f5
call fcn.0045bde0
push eax
call fcn.0048e100
add esp, 8
pop esi
mov ecx, dword [esp + 0x30dc]
xor ecx, esp
call fcn.0049dea6
add esp, 0x30e0
ret
push 2
push 0
push esi
call fcn.0049fca5
add esp, 0xc
mov ecx, 0x4ed118
lea eax, [esp + 0xe0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4451f2
test dl, dl
je 0x4451ee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4451f2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4451d2
xor eax, eax
jmp 0x4451f7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44522b
cmp byte [esp + 0xe0], 0
je 0x44522b
lea eax, [esp + 0xe0]
push eax
push 0x6b
call fcn.0045bde0
push eax
lea ecx, [esp + 0x84]
push ecx
push str._r_n_r_n___________s___s__s_r_n
push esi
call fcn.004a159b
add esp, 0x14
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0xe0]
mov byte [eax + 0x4ed118], cl
inc eax
test cl, cl
jne 0x445230
lea edx, [esp + 0x7c]
push edx
push str._r_n_s
push esi
call fcn.004a159b
lea eax, [esp + 0x8ec]
push eax
push 0x4b1908
push esi
call fcn.004a159b
add esp, 0x18
push 0
push str.LimitLog
push str.General
call fcn.00456960
test eax, eax
je 0x44536d
push edi
push 0x3e8
push str.LogSize
push str.General
call fcn.00456960
mov edi, eax
push esi
shl edi, 0xa
call fcn.0049fbaf
sub eax, edi
add esp, 4
test eax, eax
jle 0x44536c
push ebx
push ebp
push 0
add eax, 0x2710
push eax
push esi
call fcn.0049fca5
push esi
lea ecx, [esp + 0x10fc]
push 0x2000
push ecx
call fcn.004a1453
push esi
call fcn.0049fbaf
push esi
push 0x2000
lea edx, [esp + 0x1110]
push 1
push edx
mov ebp, eax
xor ebx, ebx
call fcn.0049f9f9
mov edi, eax
add esp, 0x2c
test edi, edi
je 0x445345
lea esp, [esp]
push 0
push ebx
push esi
call fcn.0049fca5
push esi
push edi
lea eax, [esp + 0x1100]
push 1
push eax
call fcn.0049f602
push 0
add ebp, edi
push ebp
push esi
add ebx, edi
call fcn.0049fca5
push esi
push 0x2000
lea ecx, [esp + 0x111c]
push 1
push ecx
call fcn.0049f9f9
mov edi, eax
add esp, 0x38
test edi, edi
jne 0x445300
push esi
call fcn.004a13f7
push 0
push ebx
push esi
call fcn.0049fca5
push esi
call fcn.004a6e17
push eax
call fcn.004a0883
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop ebp
pop ebx
pop edi
push esi
call fcn.0049f426
add esp, 4
pop esi
mov ecx, dword [esp + 0x30dc]
xor ecx, esp
call fcn.0049dea6
add esp, 0x30e0
ret