Function at 0x4445f4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4445fd
add esp, 0xfffff724
mov eax, dword [ebp - 4]
mov eax, 0x49c9b2
xor ecx, ecx
push ebx
push esi
push edi
mov edx, 0x49cb5d
mov ebx, dword [ebp + 8]
call fcn.004659f0
test eax, eax
jne 0x444638
cmp byte [0x4b0475], 0
je 0x44493c
cmp byte [0x4a6f8c], 0
je 0x44493c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0x4bcba6
call fcn.0049031c
add esp, 0xc
test ebx, ebx
jne 0x444664
mov edx, 0x49c965
jmp 0x444666
mov edx, ebx
push edx
lea eax, [ebp - 0x404]
push eax
call fcn.0048d424
add esp, 8
xor eax, eax
jmp 0x44468e
and edx, 0xff
cmp edx, 0x2f
jne 0x44468d
mov byte [ebp + eax - 0x404], 0x5c
inc eax
mov dl, byte [ebp + eax - 0x404]
test dl, dl
jne 0x44467a
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 0x49cb61
push ecx
call fcn.004902f4
add esp, 0x10
push 0x4bc1c0
lea eax, [ebp - 0x8e0]
push eax
call fcn.0048d424
add esp, 8
cmp byte [0x4b0475], 0
je 0x444766
mov eax, 0x4b0475
call fcn.0040b590
cmp eax, 0x4b0475
jne 0x444752
mov eax, 0x4b0475
call fcn.0040b590
push eax
lea eax, [ebp - 0x8e0]
call fcn.0040b590
push eax
call fcn.0048d424
add esp, 8
jmp 0x444766
push 0x4b0475
lea edx, [ebp - 0x8e0]
push edx
call fcn.0048d424
add esp, 8
push 0x49cb67
lea ecx, [ebp - 0x8e0]
push ecx
call fcn.0048f3cc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4447b9
push 0x49cb6b
lea edx, [ebp - 0x8e0]
push edx
call fcn.0048f3cc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4447b9
lea edx, [ebp - 0x8e0]
mov eax, 0x1f5
push edx
call fcn.004117b8
push eax
call fcn.0044a23c
add esp, 8
jmp 0x44493c
push 2
push 0
push ebx
call fcn.0048f6e4
add esp, 0xc
push 0x49c454
lea edx, [ebp - 0x404]
push edx
call fcn.0048d3d8
add esp, 8
test eax, eax
je 0x44480e
cmp byte [ebp - 0x404], 0
je 0x44480e
lea ecx, [ebp - 0x404]
mov eax, 0x6b
push ecx
call fcn.004117b8
push eax
lea edx, [ebp - 0x4e0]
push edx
push 0x49cb6f
push ebx
call fcn.0048f400
add esp, 0x14
lea ecx, [ebp - 0x404]
push ecx
push 0x49c454
call fcn.0048d424
add esp, 8
lea eax, [ebp - 0x4e0]
push eax
push 0x49cb89
push ebx
call fcn.0048f400
add esp, 0xc
push 0x4bcba6
push 0x49cb4a
push ebx
call fcn.0048f400
add esp, 0xc
mov edx, 0x49cb91
mov eax, 0x49c9b2
xor ecx, ecx
call fcn.004659f0
test eax, eax
je 0x444935
mov edx, 0x49cb9a
mov eax, 0x49c9b2
mov ecx, 0x3e8
call fcn.004659f0
mov esi, eax
push ebx
shl esi, 0xa
call fcn.0048f758
pop ecx
sub eax, esi
test eax, eax
jle 0x444935
push 0
add eax, 0x2710
push eax
push ebx
call fcn.0048f6e4
add esp, 0xc
lea edx, [ebp - 0x28e0]
push ebx
push 0x2000
push edx
call fcn.0048f008
add esp, 0xc
push ebx
call fcn.0048f758
pop ecx
mov dword [ebp - 4], eax
xor edi, edi
jmp 0x4448f3
push 0
push edi
push ebx
call fcn.0048f6e4
add esp, 0xc
push ebx
push esi
push 1
lea eax, [ebp - 0x28e0]
push eax
call fcn.0048f7e4
add esp, 0x10
add dword [ebp - 4], esi
add edi, esi
push 0
push dword [ebp - 4]
push ebx
call fcn.0048f6e4
add esp, 0xc
push ebx
push 0x2000
push 1
lea edx, [ebp - 0x28e0]
push edx
call fcn.0048f644
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x4448c1
push ebx
call fcn.0048ef78
pop ecx
push 0
push edi
push ebx
call fcn.0048f6e4
add esp, 0xc
xor edx, edx
mov dl, byte [ebx + 0x16]
push edx
call fcn.0048ffd0
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
push ebx
call fcn.0048eed0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret