Function at 0x448498
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x4484a1
add esp, 0xffffff24
mov eax, dword [ebp - 4]
mov eax, 0x4a3d6a
xor ecx, ecx
push ebx
push esi
push edi
mov edx, 0x4a3f34
mov ebx, dword [ebp + 8]
call fcn.0046bff8
test eax, eax
jne 0x4484dc
cmp byte [0x4b7c56], 0
je 0x4487f0
cmp byte [0x4ae730], 0
je 0x4487f0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0x800
lea edx, [ebp - 0xc04]
push edx
call fcn.00497860
add esp, 0x10
mov byte [ebp - 0x405], 0
test ebx, ebx
jne 0x448516
mov ecx, 0x4a3d11
jmp 0x448518
mov ecx, ebx
push ecx
lea eax, [ebp - 0x404]
push eax
call fcn.004949c8
add esp, 8
xor eax, eax
jmp 0x448540
and edx, 0xff
cmp edx, 0x2f
jne 0x44853f
mov byte [ebp + eax - 0x404], 0x5c
inc eax
mov dl, byte [ebp + eax - 0x404]
test dl, dl
jne 0x44852c
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 0x4a3f38
push ecx
call fcn.00497928
add esp, 0x10
push 0x4c3e04
lea eax, [ebp - 0x10e0]
push eax
call fcn.004949c8
add esp, 8
cmp byte [0x4b7c56], 0
je 0x448618
mov eax, 0x4b7c56
call fcn.0040ba30
cmp eax, 0x4b7c56
jne 0x448604
mov eax, 0x4b7c56
call fcn.0040ba30
push eax
lea eax, [ebp - 0x10e0]
call fcn.0040ba30
push eax
call fcn.004949c8
add esp, 8
jmp 0x448618
push 0x4b7c56
lea edx, [ebp - 0x10e0]
push edx
call fcn.004949c8
add esp, 8
push 0x4a3f3e
lea ecx, [ebp - 0x10e0]
push ecx
call fcn.00496900
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44866b
push 0x4a3f42
lea edx, [ebp - 0x10e0]
push edx
call fcn.00496900
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44866b
lea edx, [ebp - 0x10e0]
mov eax, 0x1f5
push edx
call fcn.00411fe8
push eax
call fcn.0044e1d4
add esp, 8
jmp 0x4487f0
push 2
push 0
push ebx
call fcn.00496c18
add esp, 0xc
push 0x4a37d0
lea edx, [ebp - 0x404]
push edx
call fcn.0049497c
add esp, 8
test eax, eax
je 0x4486c0
cmp byte [ebp - 0x404], 0
je 0x4486c0
lea ecx, [ebp - 0x404]
mov eax, 0x6b
push ecx
call fcn.00411fe8
push eax
lea edx, [ebp - 0xce0]
push edx
push str._r_n_r_n___________s___s__s_r_n
push ebx
call fcn.00496934
add esp, 0x14
lea ecx, [ebp - 0x404]
push ecx
push 0x4a37d0
call fcn.004949c8
add esp, 8
lea eax, [ebp - 0xce0]
push eax
push str._r_n_s
push ebx
call fcn.00496934
add esp, 0xc
lea edx, [ebp - 0xc04]
push edx
push 0x4a3f21
push ebx
call fcn.00496934
add esp, 0xc
mov edx, 0x4a3f68
mov eax, 0x4a3d6a
xor ecx, ecx
call fcn.0046bff8
test eax, eax
je 0x4487e9
mov edx, 0x4a3f71
mov eax, 0x4a3d6a
mov ecx, 0x3e8
call fcn.0046bff8
mov esi, eax
push ebx
shl esi, 0xa
call fcn.00496c8c
pop ecx
sub eax, esi
test eax, eax
jle 0x4487e9
push 0
add eax, 0x2710
push eax
push ebx
call fcn.00496c18
add esp, 0xc
lea edx, [ebp - 0x30e0]
push ebx
push 0x2000
push edx
call fcn.0049653c
add esp, 0xc
push ebx
call fcn.00496c8c
pop ecx
mov dword [ebp - 4], eax
xor edi, edi
jmp 0x4487a7
push 0
push edi
push ebx
call fcn.00496c18
add esp, 0xc
push ebx
push esi
push 1
lea eax, [ebp - 0x30e0]
push eax
call fcn.00496d18
add esp, 0x10
add dword [ebp - 4], esi
add edi, esi
push 0
push dword [ebp - 4]
push ebx
call fcn.00496c18
add esp, 0xc
push ebx
push 0x2000
push 1
lea edx, [ebp - 0x30e0]
push edx
call fcn.00496b78
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x448775
push ebx
call fcn.004964ac
pop ecx
push 0
push edi
push ebx
call fcn.00496c18
add esp, 0xc
xor edx, edx
mov dl, byte [ebx + 0x16]
push edx
call fcn.00497504
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
push ebx
call fcn.00496404
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret