Function at 0x10016ed0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033b84
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10048034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xb0], esi
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], cx
test eax, eax
mov ebx, 0x10036bc0
mov dword [ebp - 4], ecx
cmovne ebx, eax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], ax
cmp word [ebx], ax
je 0x10016f5f
mov ecx, ebx
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016f50
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100019a0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.100099e0
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
cmp ecx, eax
je 0x10016fbf
cmp dword [ebp - 0x18], 8
jb 0x10016fa2
push dword [ebp - 0x2c]
call edi
mov eax, dword [ebp - 0xb4]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.100063d0
cmp dword [ebp - 0x80], 8
jb 0x10016fd0
push dword [ebp - 0x94]
call edi
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x10016fe7
push 0x10036bc0
mov ecx, esi
call fcn.10001690
jmp 0x100172cc
mov dword [ebp - 0xb4], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push 1
lea ecx, [ebp - 0xb4]
call fcn.1001a010
push ebx
lea ecx, [ebp - 0xb4]
call fcn.1001a1a0
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x10017040
cmp dword [esi], 1
mov ecx, esi
sete al
test al, al
je 0x10017039
call fcn.100258b0
jmp 0x1001703e
call fcn.10029ac0
xor esi, esi
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
test esi, esi
je 0x10017073
cmp dword [esi], 1
mov ecx, esi
sete al
test al, al
je 0x1001706e
call fcn.100258b0
jmp 0x10017073
call fcn.10029ac0
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x10036bc0
lea ecx, [ebp - 0x7c]
call fcn.100167e0
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x6c], 0
jne 0x100170ca
mov esi, dword [ebp - 0xb0]
push 0x10036bc0
mov ecx, esi
call fcn.10001690
jmp 0x1001728e
lea eax, [ebp - 0x7c]
push eax
mov edx, str.r.yac.mx
lea ecx, [ebp - 0xac]
call fcn.100132e0
add esp, 4
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.100035e0
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x54], 0
je 0x10017147
push ecx
lea eax, [ebp - 0x64]
push eax
push ecx
lea ecx, [ebp - 0xec]
call fcn.100177b0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.10017840
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x34]
call fcn.10017870
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 6
call fcn.10017320
push 0xc350
push 1
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x94]
call fcn.1000e920
mov esi, eax
lea eax, [ebp - 0x4c]
add esp, 0x14
cmp eax, esi
je 0x100171a0
cmp dword [ebp - 0x38], 8
jb 0x10017183
push dword [ebp - 0x4c]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
call fcn.100063d0
cmp dword [ebp - 0x80], 8
jb 0x100171b1
push dword [ebp - 0x94]
call edi
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.1000ced0
test eax, eax
jne 0x1001722b
lea eax, [ebp - 0x7c]
push eax
mov edx, str.r2.yac.mx
lea ecx, [ebp - 0x94]
call fcn.100132e0
add esp, 4
push 0xc350
push 1
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call fcn.1000e920
add esp, 0x14
lea ecx, [ebp - 0x4c]
push eax
call fcn.1000b1e0
cmp dword [ebp - 0xc0], 8
jb 0x1001721a
push dword [ebp - 0xd4]
call edi
add esp, 4
cmp dword [ebp - 0x80], 8
jb 0x1001722b
push dword [ebp - 0x94]
call edi
add esp, 4
mov esi, dword [ebp - 0xb0]
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.10006360
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
push eax
push dword [eax]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x34]
call fcn.100030f0
push dword [ebp - 0x34]
call edi
add esp, 4
cmp dword [ebp - 0x98], 8
jb 0x10017271
push dword [ebp - 0xac]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
cmp dword [ebp - 0x68], 8
jb 0x1001729c
push dword [ebp - 0x7c]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x50], 0x10
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 7
jb 0x100172ba
push dword [ebp - 0x64]
call edi
add esp, 4
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
cmp dword [ebp - 0x18], 8
jb 0x100172da
push dword [ebp - 0x2c]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
jb 0x100172f8
push dword [ebp - 0x4c]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002f746
mov esp, ebp
pop ebp
ret