Function at 0x1002fc74
Capabilities:
Clear file content
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063509
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002fcc7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
push 0x129f
push 0
push 0x2e1
push 0x7e71
push 0x1224
call fcn.10030cbf
add esp, 0x18
jmp 0x1002ff61
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x14], 0xfffffff6
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x64], 5
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x1c], 0
jmp 0x1002fcf9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002fd0c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x7c], 0
jmp 0x1002fcf2
mov dword [ebp - 0x14], 0
jmp 0x1002fd1c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1002ff00
and dword [ebp - 0x90], 0
and dword [ebp - 0x8c], 0
and dword [ebp - 0x88], 0
and dword [ebp - 0x84], 0
lea ecx, [ebp - 0x1d]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x98]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.1000add4
and dword [ebp - 4], 0
push 3
lea ecx, [ebp - 0x2c]
call fcn.1000adff
mov dword [eax], 2
jmp 0x1002fd9c
push 3
lea ecx, [ebp - 0x2c]
call fcn.1000adff
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x2c]
call fcn.1000adff
cmp dword [eax], 0
jl 0x1002feef
push 3
lea ecx, [ebp - 0x2c]
call fcn.1000adff
mov esi, dword [eax]
push 3
lea ecx, [ebp - 0x2c]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x7c]
cmp dword [ebp + esi*4 - 0x7c], eax
jge 0x1002fdda
mov dword [ebp - 0x54], 1
jmp 0x1002fdde
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
xor eax, eax
inc eax
je 0x1002fe05
cmp dword [ebp - 0x14], 0
je 0x1002fe05
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x7c], 0
je 0x1002fe05
mov dword [ebp - 0x58], 1
jmp 0x1002fe09
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 1
ja 0x1002fe18
mov dword [ebp - 0x3c], 1
jmp 0x1002fe1c
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 9
jge 0x1002fe2b
mov dword [ebp - 0x4c], 1
jmp 0x1002fe2f
and dword [ebp - 0x4c], 0
mov esi, dword [ebp - 0x4c]
neg esi
push 3
lea ecx, [ebp - 0x2c]
call fcn.1000adff
cmp esi, dword [eax]
jne 0x1002fe4b
mov dword [ebp - 0x44], 1
jmp 0x1002fe4f
and dword [ebp - 0x44], 0
push 3
lea ecx, [ebp - 0x2c]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x7c]
cmp eax, dword [ebp - 0x44]
jle 0x1002fe6d
mov dword [ebp - 0x30], 1
jmp 0x1002fe71
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xfffffff9
jge 0x1002fe80
mov dword [ebp - 0x38], 1
jmp 0x1002fe84
and dword [ebp - 0x38], 0
push 3
lea ecx, [ebp - 0x2c]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x7c]
cmp dword [ebp - 0x38], eax
jg 0x1002fea2
mov dword [ebp - 0x40], 1
jmp 0x1002fea6
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x40], eax
je 0x1002feb7
mov dword [ebp - 0x48], 1
jmp 0x1002febb
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x48], eax
jge 0x1002fecc
mov dword [ebp - 0x50], 1
jmp 0x1002fed0
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1002feea
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1002fd84
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1000adfa
jmp 0x1002fd15
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002ff14
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], 0xffff
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0x18
jmp 0x1002ff38
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1f
je 0x1002ff59
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002ff57
push 0
push 0x252c
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
jmp 0x1002ff31
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret