Function at 0x1000a558
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x27b
push 0
push 0
dec ecx
jne 0x1000a561
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x13b0]
push ecx
mov ecx, 0x4e4
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 4]
call fcn.10003c28
xor eax, eax
push ebp
push 0x1000a98b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.10003770
push 0x1000a99c
call sub.kernel32.dll_LoadLibraryA
push 0x1000a9a8
call sub.kernel32.dll_LoadLibraryA
lea eax, [ebp - 0x14]
mov edx, 0x1000a9b8
call fcn.100037d0
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.1000390c
mov ebx, eax
mov eax, ebx
call fcn.10005ca4
test al, al
je 0x1000a6bf
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov eax, ebx
lea edx, [ebp - 0x18]
call fcn.10005e30
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push 0
push 2
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.10003fd4
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.10003be4
mov eax, dword [ebp - 0x10]
call fcn.1000390c
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.100050d0
lea ecx, [ebp - 0x13b4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.10006234
mov edx, dword [ebp - 0x13b4]
lea eax, [ebp - 0x10]
call fcn.100037d0
mov edx, dword [ebp - 0x10]
mov eax, 0x1000a9cc
call fcn.10003b94
test eax, eax
jle 0x1000a6b1
mov edx, dword [ebp - 0x10]
mov eax, 0x1000a9f4
call fcn.10003b94
test eax, eax
jle 0x1000a6b1
mov eax, dword [ebp - 4]
call fcn.10005f1c
lea eax, [ebp - 0x10]
mov ecx, 0x11
mov edx, 1
call fcn.10003b04
mov eax, dword [ebp - 0x10]
call fcn.1000391c
mov edx, eax
sub edx, 0xf
lea eax, [ebp - 0x10]
mov ecx, 0xf
call fcn.10003b04
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.100037ac
mov byte [ebp - 9], 1
jmp 0x1000a927
mov eax, dword [ebp - 4]
call fcn.1000390c
push eax
call sub.kernel32.dll_DeleteFileW
mov edi, 0x14
lea ebx, [ebp - 0x1360]
lea esi, [ebp - 0x13b0]
lea eax, [ebp - 0x13b8]
mov edx, ebx
mov ecx, 0x3d
call fcn.100034b0
cmp dword [ebp - 0x13b8], 0
je 0x1000a91a
cmp dword [esi], 0
jle 0x1000a91a
push 0x1000aa1c
lea eax, [ebp - 0x13c4]
mov edx, ebx
mov ecx, 0x3d
call fcn.100034b0
push dword [ebp - 0x13c4]
push 0x1000aa2c
lea eax, [ebp - 0x13c0]
mov edx, 3
call fcn.100035a0
mov edx, dword [ebp - 0x13c0]
lea eax, [ebp - 0x13bc]
call fcn.100038fc
push dword [ebp - 0x13bc]
mov eax, dword [esi]
cdq
push edx
push eax
lea eax, [ebp - 0x13c8]
call fcn.10005ccc
push dword [ebp - 0x13c8]
push 0x1000aa34
push dword [ebp - 0x9d4]
push dword [ebp - 0x9d8]
lea eax, [ebp - 0x13cc]
call fcn.10005ccc
push dword [ebp - 0x13cc]
push 0x1000aa3c
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.100039ec
mov eax, dword [ebp - 4]
call fcn.1000390c
mov edx, eax
lea eax, [ebp - 0x13d0]
call fcn.10003898
mov eax, dword [ebp - 0x13d0]
push eax
mov eax, dword [ebp - 0x10]
call fcn.1000390c
mov edx, eax
lea eax, [ebp - 0x13d4]
call fcn.10003898
mov eax, dword [ebp - 0x13d4]
pop edx
call fcn.10005f88
cmp al, 1
jne 0x1000a90c
mov eax, dword [ebp - 4]
call fcn.1000390c
lea edx, [ebp - 0x18]
call fcn.10005e30
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x1000a7f8
cmp dword [ebp - 0x20], 0
jbe 0x1000a91a
jmp 0x1000a7fe
jle 0x1000a91a
push 0
push 2
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.10003fd4
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.10003be4
mov eax, dword [ebp - 0x10]
call fcn.1000390c
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.100050d0
mov edx, dword [ebp - 0x10]
mov eax, 0x1000a9cc
call fcn.10003b94
test eax, eax
jle 0x1000a91a
mov edx, dword [ebp - 0x10]
mov eax, 0x1000a9f4
call fcn.10003b94
test eax, eax
jle 0x1000a91a
lea eax, [ebp - 0x10]
mov ecx, 0x11
mov edx, 1
call fcn.10003b04
mov eax, dword [ebp - 0x10]
call fcn.1000391c
mov edx, eax
sub edx, 0xf
lea eax, [ebp - 0x10]
mov ecx, 0xf
call fcn.10003b04
lea ecx, [ebp - 0x13d8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.10006234
mov edx, dword [ebp - 0x13d8]
mov eax, dword [ebp - 8]
call fcn.100037ac
push 0x1000a9cc
mov eax, dword [ebp - 8]
push dword [eax]
push 0x1000a9f4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.100039ec
lea ecx, [ebp - 0x13dc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.10006234
mov edx, dword [ebp - 0x13dc]
lea eax, [ebp - 0x10]
call fcn.100037d0
mov eax, dword [ebp - 0x10]
call fcn.1000391c
add eax, eax
cdq
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.1000390c
push eax
mov eax, dword [ebp - 4]
call fcn.1000390c
pop edx
call fcn.10005eb4
mov eax, dword [ebp - 4]
call fcn.10005f1c
mov byte [ebp - 9], 1
jmp 0x1000a91a
mov eax, dword [ebp - 4]
call fcn.1000390c
push eax
call sub.kernel32.dll_DeleteFileW
add esi, 4
add ebx, 0x7a
dec edi
jne 0x1000a6d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000a992
lea eax, [ebp - 0x13dc]
mov edx, 6
call fcn.10003788
lea eax, [ebp - 0x13c4]
mov edx, 2
call fcn.100032f0
lea eax, [ebp - 0x13bc]
call fcn.10003770
lea eax, [ebp - 0x13b8]
call fcn.100032cc
lea eax, [ebp - 0x13b4]
call fcn.10003770
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.10003788
lea eax, [ebp - 4]
call fcn.10003770
ret