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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x74], 5
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x20], 0
jmp 0x10041c2f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10041c42
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x70], 0
jmp 0x10041c28
mov dword [ebp - 0x18], 0
jmp 0x10041c52
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x10041e33
and dword [ebp - 0x8c], 0
and dword [ebp - 0x88], 0
and dword [ebp - 0x84], 0
and dword [ebp - 0x80], 0
lea ecx, [ebp - 0x21]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x98]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.1000add4
and dword [ebp - 4], 0
push 3
lea ecx, [ebp - 0x30]
call fcn.1000adff
mov dword [eax], 2
jmp 0x10041ccf
push 3
lea ecx, [ebp - 0x30]
call fcn.1000adff
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x30]
call fcn.1000adff
cmp dword [eax], 0
jl 0x10041e22
push 3
lea ecx, [ebp - 0x30]
call fcn.1000adff
mov esi, dword [eax]
push 3
lea ecx, [ebp - 0x30]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x70]
cmp dword [ebp + esi*4 - 0x70], eax
jge 0x10041d0d
mov dword [ebp - 0x40], 1
jmp 0x10041d11
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
xor eax, eax
inc eax
je 0x10041d38
cmp dword [ebp - 0x18], 0
je 0x10041d38
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x70], 0
je 0x10041d38
mov dword [ebp - 0x54], 1
jmp 0x10041d3c
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 1
ja 0x10041d4b
mov dword [ebp - 0x5c], 1
jmp 0x10041d4f
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 9
jge 0x10041d5e
mov dword [ebp - 0x50], 1
jmp 0x10041d62
and dword [ebp - 0x50], 0
mov esi, dword [ebp - 0x50]
neg esi
push 3
lea ecx, [ebp - 0x30]
call fcn.1000adff
cmp esi, dword [eax]
jne 0x10041d7e
mov dword [ebp - 0x34], 1
jmp 0x10041d82
and dword [ebp - 0x34], 0
push 3
lea ecx, [ebp - 0x30]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x70]
cmp eax, dword [ebp - 0x34]
jle 0x10041da0
mov dword [ebp - 0x58], 1
jmp 0x10041da4
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xfffffff9
jge 0x10041db3
mov dword [ebp - 0x3c], 1
jmp 0x10041db7
and dword [ebp - 0x3c], 0
push 3
lea ecx, [ebp - 0x30]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x70]
cmp dword [ebp - 0x3c], eax
jg 0x10041dd5
mov dword [ebp - 0x44], 1
jmp 0x10041dd9
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x44], eax
je 0x10041dea
mov dword [ebp - 0x4c], 1
jmp 0x10041dee
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x4c], eax
jge 0x10041dff
mov dword [ebp - 0x38], 1
jmp 0x10041e03
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x10041e1d
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10041cb7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1000adfa
jmp 0x10041c4b
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x10041e47
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10041e93
mov dword [ebp - 0x90], 0x5dcec3d7
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10041e79
push 0x21ab
push 0
push 0x228a
call dword [sym.imp.GDI32.dll_Polygon]
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x10041e8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1c], 0xffff
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0x18
jmp 0x10041eb1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1f
je 0x10041ed2
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10041ed0
push 0
push 0x252c
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
jmp 0x10041eaa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret