Function at 0x441144
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x44114d
add esp, 0xfffffb24
mov eax, dword [ebp - 4]
mov eax, 0x495a9a
xor ecx, ecx
push ebx
push esi
push edi
mov edx, 0x495c15
mov ebx, dword [ebp + 8]
call fcn.00460c28
test eax, eax
jne 0x441188
cmp byte [0x4a72bd], 0
je 0x441423
cmp byte [0x49ede8], 0
je 0x441423
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0x4b060a
call fcn.004865a0
add esp, 0xc
test ebx, ebx
jne 0x4411b4
mov edx, 0x495a5d
jmp 0x4411b6
mov edx, ebx
push edx
lea eax, [ebp - 0x404]
push eax
call fcn.00482a00
add esp, 8
xor eax, eax
jmp 0x4411de
and edx, 0xff
cmp edx, 0x2f
jne 0x4411dd
mov byte [ebp + eax - 0x404], 0x5c
inc eax
mov dl, byte [ebp + eax - 0x404]
test dl, dl
jne 0x4411ca
lea eax, [ebp - 0x414]
push eax
call sub.KERNEL32.DLL_GetLocalTime
push 0x32
lea ecx, [ebp - 0x448]
push ecx
push 0
lea eax, [ebp - 0x414]
push eax
push 0
push 0x400
call sub.KERNEL32.DLL_GetTimeFormatA
push 0x32
lea edx, [ebp - 0x47c]
push edx
push 0
lea ecx, [ebp - 0x414]
push ecx
push 0
push 0x400
call sub.KERNEL32.DLL_GetDateFormatA
lea eax, [ebp - 0x448]
lea edx, [ebp - 0x47c]
push eax
push edx
lea ecx, [ebp - 0x4e0]
push 0x495c19
push ecx
call fcn.00486578
add esp, 0x10
push 0x495c1f
push 0x4afc28
call fcn.004849c0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4412a0
push 0x495c23
push 0x4afc28
call fcn.004849c0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4412a0
push 0x4afc28
mov eax, 0x1f5
call fcn.00410804
push eax
call fcn.00447a48
add esp, 8
jmp 0x441423
push 2
push 0
push ebx
call fcn.00484cd8
add esp, 0xc
push 0x495560
lea edx, [ebp - 0x404]
push edx
call fcn.004829b4
add esp, 8
test eax, eax
je 0x4412f5
cmp byte [ebp - 0x404], 0
je 0x4412f5
lea ecx, [ebp - 0x404]
mov eax, 0x6b
push ecx
call fcn.00410804
push eax
lea edx, [ebp - 0x4e0]
push edx
push str._r_n_r_n___________s___s__s_r_n
push ebx
call fcn.004849f4
add esp, 0x14
lea ecx, [ebp - 0x404]
push ecx
push 0x495560
call fcn.00482a00
add esp, 8
lea eax, [ebp - 0x4e0]
push eax
push str._r_n_s
push ebx
call fcn.004849f4
add esp, 0xc
push 0x4b060a
push 0x495b7b
push ebx
call fcn.004849f4
add esp, 0xc
mov edx, 0x495c49
mov eax, 0x495a9a
xor ecx, ecx
call fcn.00460c28
test eax, eax
je 0x44141c
mov edx, 0x495c52
mov eax, 0x495a9a
mov ecx, 0x3e8
call fcn.00460c28
mov esi, eax
push ebx
shl esi, 0xa
call fcn.00484d4c
pop ecx
sub eax, esi
test eax, eax
jle 0x44141c
push 0
add eax, 0x2710
push eax
push ebx
call fcn.00484cd8
add esp, 0xc
lea edx, [ebp - 0x24e0]
push ebx
push 0x2000
push edx
call fcn.00484648
add esp, 0xc
push ebx
call fcn.00484d4c
pop ecx
mov dword [ebp - 4], eax
xor edi, edi
jmp 0x4413da
push 0
push edi
push ebx
call fcn.00484cd8
add esp, 0xc
push ebx
push esi
push 1
lea eax, [ebp - 0x24e0]
push eax
call fcn.00484eac
add esp, 0x10
add dword [ebp - 4], esi
add edi, esi
push 0
push dword [ebp - 4]
push ebx
call fcn.00484cd8
add esp, 0xc
push ebx
push 0x2000
push 1
lea edx, [ebp - 0x24e0]
push edx
call fcn.00484c38
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x4413a8
push ebx
call fcn.004845b8
pop ecx
push 0
push edi
push ebx
call fcn.00484cd8
add esp, 0xc
xor edx, edx
mov dl, byte [ebx + 0x16]
push edx
call fcn.00485780
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
push ebx
call fcn.00484510
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret