Function at 0x689aa4
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x68a2c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x689b0d
mov eax, dword [ebp - 4]
call fcn.0068ba54
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
call fcn.004044bc
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x683198]
call fcn.006837e8
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x689b51
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov ebx, dword [ebp - 4]
or ecx, 0xffffffff
xor edx, edx
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xe4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x10c], edx
mov dword [eax + 0x108], fcn.0068a518
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x114], edx
mov dword [eax + 0x110], 0x68a5f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x12c], edx
mov dword [eax + 0x128], 0x68b21c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x154], edx
mov dword [eax + 0x150], 0x68b378
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0x64
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x78], ecx
mov ecx, dword [edx + 0x3c]
mov dword [eax + 0x7c], ecx
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x59]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov byte [edx + 0x60], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x80]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov byte [edx + 0x158], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x50]
lea eax, [ebp - 0x20]
mov ecx, 0x68a2e4
call fcn.00407264
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00688bf0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x69]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov byte [edx + 0x159], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x158], 0
je 0x689c82
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [eax + 0x80], 2
jmp 0x689c94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6a], 2
jne 0x689cd5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [eax + 0x80], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x104]
call fcn.00406e0c
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00406e0c
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6a], 3
jne 0x689d16
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [eax + 0x80], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x104]
call fcn.00406e0c
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00406e0c
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x104]
call fcn.0047a474
test al, al
je 0x689e7e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.0047a474
test al, al
je 0x689e7e
xor eax, eax
push ebp
push 0x689d93
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00406e0c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
mov dl, 1
mov eax, dword [0x490c94]
call fcn.004971fc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x689f62
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x104]
call fcn.0047a474
test al, al
je 0x689eaa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x104]
call fcn.00406e0c
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
push ebp
push 0x689ee5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
mov dl, 1
mov eax, dword [0x490c94]
call fcn.004971fc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x689f62
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6a], 2
jne 0x68a0a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0xf9], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xdc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x74]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xe0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x78]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xd4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xd8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x70]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xec
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xf4
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xf0
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xcc
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xd0
xor edx, edx
call fcn.00406d80
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd8]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xdc]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd0]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
lea edx, [ebp - 0x50]
mov ecx, 3
mov eax, 0x68a388
call fcn.0047b9a8
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0068bbac
jmp 0x68a293
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6a], 1
jne 0x68a1c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0xf9], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xcc
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xd0
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xdc
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xe0
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x70]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x6c]
mov eax, 0x68a420
call fcn.00689750
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xd4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xd8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x70]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xec
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xf4
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xf0
xor edx, edx
call fcn.00406d80
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd8]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0x11
lea edx, [ebp - 0x64]
mov ecx, 1
mov eax, 0x68a438
call fcn.0047b9a8
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0068bbac
jmp 0x68a293
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6a], 3
jne 0x68a293
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xec
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x90]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xf4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xf0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x98]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0x140
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x9c]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x144], eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd8]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0x11
lea edx, [ebp - 0x64]
mov ecx, 1
mov eax, 0x68a4ac
call fcn.0047b9a8
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.0068bbac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68a2cd
lea eax, [ebp - 0x68]
call fcn.00406d70
lea eax, [ebp - 0x54]
call fcn.00406d70
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00406d78
lea eax, [ebp - 0xc]
call fcn.00406d70
ret