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

Disassembly:
mov eax, 0x30e0
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x30dc], eax
push esi
push 0
push 0x4b2038
push str.General
mov esi, ecx
call fcn.00456940
test eax, eax
jne 0x48cebc
cmp byte [0x4e5391], al
je 0x48d226
cmp byte [0x4c8d98], 0
je 0x48d226
mov ecx, dword [esp + 0x30e8]
lea eax, [esp + 0x30ec]
push eax
push ecx
lea edx, [esp + 0x8e8]
push 0x800
push edx
call fcn.004a9693
add esp, 0x10
mov byte [esp + 0x10df], 0
mov ecx, 0x4b1914
test esi, esi
je 0x48cf01
mov ecx, esi
lea edx, [esp + 0xe0]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x48cf08
cmp byte [esp + 0xe0], al
je 0x48cf30
lea eax, [esp + 0xe0]
cmp byte [eax], 0x2f
jne 0x48cf2a
mov byte [eax], 0x5c
inc eax
cmp byte [eax], 0
jne 0x48cf22
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x32
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0x32
lea eax, [esp + 0x4c]
push eax
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x84]
push str._s__s
push ecx
call fcn.0049e635
add esp, 0x10
xor eax, eax
mov cl, byte [eax + 0x4db890]
mov byte [esp + eax + 0x4e0], cl
inc eax
test cl, cl
jne 0x48cf92
cmp byte [0x4e5391], cl
je 0x48d002
push 0x4e5391
call fcn.0044daf0
cmp eax, 0x4e5391
jne 0x48cfe2
push 0x4e5391
call fcn.0044daf0
lea edx, [esp + 0x4e0]
push edx
mov esi, eax
call fcn.0044daf0
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x48cfd6
jmp 0x48d002
xor eax, eax
jmp 0x48cff0
mov cl, byte [eax + 0x4e5391]
mov byte [esp + eax + 0x4e0], cl
inc eax
test cl, cl
jne 0x48cff0
lea eax, [esp + 0x4e0]
push 0x4b3c8c
push eax
call fcn.0049fec8
mov esi, eax
add esp, 8
test esi, esi
jne 0x48d069
lea ecx, [esp + 0x4e0]
push 0x4b3b94
push ecx
call fcn.0049fec8
mov esi, eax
add esp, 8
test esi, esi
jne 0x48d069
lea edx, [esp + 0x4e0]
push edx
push 0x1f5
call fcn.0045be10
push eax
call fcn.0048cd40
add esp, 8
pop esi
mov ecx, dword [esp + 0x30dc]
xor ecx, esp
call fcn.0049e626
add esp, 0x30e0
ret
push 2
push 0
push esi
call fcn.004a0425
add esp, 0xc
mov ecx, 0x4f9140
lea eax, [esp + 0xe0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48d0a2
test dl, dl
je 0x48d09e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48d0a2
add eax, 2
add ecx, 2
test dl, dl
jne 0x48d082
xor eax, eax
jmp 0x48d0a7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d0db
cmp byte [esp + 0xe0], 0
je 0x48d0db
lea eax, [esp + 0xe0]
push eax
push 0x6b
call fcn.0045be10
push eax
lea ecx, [esp + 0x84]
push ecx
push str._r_n_r_n___________s___s__s_r_n
push esi
call fcn.004a1cc1
add esp, 0x14
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0xe0]
mov byte [eax + 0x4f9140], cl
inc eax
test cl, cl
jne 0x48d0e0
lea edx, [esp + 0x7c]
push edx
push str._r_n_s
push esi
call fcn.004a1cc1
lea eax, [esp + 0x8ec]
push eax
push 0x4b1908
push esi
call fcn.004a1cc1
add esp, 0x18
push 0
push str.LimitLog
push str.General
call fcn.00456940
test eax, eax
je 0x48d21d
push edi
push 0x3e8
push str.LogSize
push str.General
call fcn.00456940
mov edi, eax
push esi
shl edi, 0xa
call fcn.004a032f
sub eax, edi
add esp, 4
test eax, eax
jle 0x48d21c
push ebx
push ebp
push 0
add eax, 0x2710
push eax
push esi
call fcn.004a0425
push esi
lea ecx, [esp + 0x10fc]
push 0x2000
push ecx
call fcn.004a23d5
push esi
call fcn.004a032f
push esi
push 0x2000
lea edx, [esp + 0x1110]
push 1
push edx
mov ebp, eax
xor ebx, ebx
call fcn.004a0179
mov edi, eax
add esp, 0x2c
test edi, edi
je 0x48d1f5
lea esp, [esp]
push 0
push ebx
push esi
call fcn.004a0425
push esi
push edi
lea eax, [esp + 0x1100]
push 1
push eax
call fcn.0049fd82
push 0
add ebp, edi
push ebp
push esi
add ebx, edi
call fcn.004a0425
push esi
push 0x2000
lea ecx, [esp + 0x111c]
push 1
push ecx
call fcn.004a0179
mov edi, eax
add esp, 0x38
test edi, edi
jne 0x48d1b0
push esi
call fcn.004a1c65
push 0
push ebx
push esi
call fcn.004a0425
push esi
call fcn.004a7657
push eax
call fcn.004a10c3
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop ebp
pop ebx
pop edi
push esi
call fcn.0049fba6
add esp, 4
mov ecx, dword [esp + 0x30e0]
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x30e0
ret