Function at 0x44871c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x448725
add esp, 0xffffff24
mov eax, dword [ebp - 4]
mov eax, 0x4a4d6a
xor ecx, ecx
push ebx
push esi
push edi
mov edx, 0x4a4f34
mov ebx, dword [ebp + 8]
call fcn.0046c37c
test eax, eax
jne 0x448760
cmp byte [0x4b8c56], 0
je 0x448a74
cmp byte [0x4af730], 0
je 0x448a74
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0x800
lea edx, [ebp - 0xc04]
push edx
call fcn.00497df0
add esp, 0x10
mov byte [ebp - 0x405], 0
test ebx, ebx
jne 0x44879a
mov ecx, 0x4a4d11
jmp 0x44879c
mov ecx, ebx
push ecx
lea eax, [ebp - 0x404]
push eax
call fcn.00494f58
add esp, 8
xor eax, eax
jmp 0x4487c4
and edx, 0xff
cmp edx, 0x2f
jne 0x4487c3
mov byte [ebp + eax - 0x404], 0x5c
inc eax
mov dl, byte [ebp + eax - 0x404]
test dl, dl
jne 0x4487b0
lea eax, [ebp - 0xc14]
push eax
call sub.KERNEL32.DLL_GetLocalTime
push 0x32
lea ecx, [ebp - 0xc48]
push ecx
push 0
lea eax, [ebp - 0xc14]
push eax
push 0
push 0x400
call sub.KERNEL32.DLL_GetTimeFormatA
push 0x32
lea edx, [ebp - 0xc7c]
push edx
push 0
lea ecx, [ebp - 0xc14]
push ecx
push 0
push 0x400
call sub.KERNEL32.DLL_GetDateFormatA
lea eax, [ebp - 0xc48]
lea edx, [ebp - 0xc7c]
push eax
push edx
lea ecx, [ebp - 0xce0]
push 0x4a4f38
push ecx
call fcn.00497eb8
add esp, 0x10
push 0x4c4e04
lea eax, [ebp - 0x10e0]
push eax
call fcn.00494f58
add esp, 8
cmp byte [0x4b8c56], 0
je 0x44889c
mov eax, 0x4b8c56
call fcn.0040ba60
cmp eax, 0x4b8c56
jne 0x448888
mov eax, 0x4b8c56
call fcn.0040ba60
push eax
lea eax, [ebp - 0x10e0]
call fcn.0040ba60
push eax
call fcn.00494f58
add esp, 8
jmp 0x44889c
push 0x4b8c56
lea edx, [ebp - 0x10e0]
push edx
call fcn.00494f58
add esp, 8
push 0x4a4f3e
lea ecx, [ebp - 0x10e0]
push ecx
call fcn.00496e90
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4488ef
push 0x4a4f42
lea edx, [ebp - 0x10e0]
push edx
call fcn.00496e90
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4488ef
lea edx, [ebp - 0x10e0]
mov eax, 0x1f5
push edx
call fcn.0041202c
push eax
call fcn.0044e46c
add esp, 8
jmp 0x448a74
push 2
push 0
push ebx
call fcn.004971a8
add esp, 0xc
push 0x4a47d0
lea edx, [ebp - 0x404]
push edx
call fcn.00494f0c
add esp, 8
test eax, eax
je 0x448944
cmp byte [ebp - 0x404], 0
je 0x448944
lea ecx, [ebp - 0x404]
mov eax, 0x6b
push ecx
call fcn.0041202c
push eax
lea edx, [ebp - 0xce0]
push edx
push str._r_n_r_n___________s___s__s_r_n
push ebx
call fcn.00496ec4
add esp, 0x14
lea ecx, [ebp - 0x404]
push ecx
push 0x4a47d0
call fcn.00494f58
add esp, 8
lea eax, [ebp - 0xce0]
push eax
push str._r_n_s
push ebx
call fcn.00496ec4
add esp, 0xc
lea edx, [ebp - 0xc04]
push edx
push 0x4a4f21
push ebx
call fcn.00496ec4
add esp, 0xc
mov edx, 0x4a4f68
mov eax, 0x4a4d6a
xor ecx, ecx
call fcn.0046c37c
test eax, eax
je 0x448a6d
mov edx, 0x4a4f71
mov eax, 0x4a4d6a
mov ecx, 0x3e8
call fcn.0046c37c
mov esi, eax
push ebx
shl esi, 0xa
call fcn.0049721c
pop ecx
sub eax, esi
test eax, eax
jle 0x448a6d
push 0
add eax, 0x2710
push eax
push ebx
call fcn.004971a8
add esp, 0xc
lea edx, [ebp - 0x30e0]
push ebx
push 0x2000
push edx
call fcn.00496acc
add esp, 0xc
push ebx
call fcn.0049721c
pop ecx
mov dword [ebp - 4], eax
xor edi, edi
jmp 0x448a2b
push 0
push edi
push ebx
call fcn.004971a8
add esp, 0xc
push ebx
push esi
push 1
lea eax, [ebp - 0x30e0]
push eax
call fcn.004972a8
add esp, 0x10
add dword [ebp - 4], esi
add edi, esi
push 0
push dword [ebp - 4]
push ebx
call fcn.004971a8
add esp, 0xc
push ebx
push 0x2000
push 1
lea edx, [ebp - 0x30e0]
push edx
call fcn.00497108
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x4489f9
push ebx
call fcn.00496a3c
pop ecx
push 0
push edi
push ebx
call fcn.004971a8
add esp, 0xc
xor edx, edx
mov dl, byte [ebx + 0x16]
push edx
call fcn.00497a94
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
push ebx
call fcn.00496994
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret