Function at 0x540f84
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x540f8c
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x54169b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
mov eax, dword [ebp - 8]
call fcn.00540f48
xor ecx, ecx
mov dl, 1
mov eax, dword [0x53c374]
call fcn.0053c8e8
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0xc0], esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x7c]
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x80]
mov dword [esi + 0xf0], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x70]
mov eax, esi
call fcn.0053f8e0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + 0xec]
call fcn.0046f5a8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x5416bc
call fcn.00406aac
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0053ff6c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 8]
mov dword [eax + 0xfc], edx
mov dword [eax + 0xf8], 0x54078c
mov edx, dword [ebp - 8]
mov dword [eax + 0x12c], edx
mov dword [eax + 0x128], 0x540edc
mov edx, dword [ebp - 8]
mov dword [eax + 0x11c], edx
mov dword [eax + 0x118], 0x54080c
mov edx, dword [ebp - 8]
mov dword [eax + 0x124], edx
mov dword [eax + 0x120], 0x540b84
mov edx, dword [ebp - 8]
mov dword [eax + 0x104], edx
mov dword [eax + 0x100], 0x5408d0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
call fcn.005421f0
mov edx, dword [eax]
lea ecx, [ebp - 4]
mov eax, dword [0x53274c]
call fcn.00532eb4
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [0x53274c]
call fcn.00533494
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.0040672c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xb0
mov edx, dword [ebp - 4]
call fcn.004066d8
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
call fcn.005421f0
mov edx, dword [eax + 8]
lea eax, [ebp - 0x20]
mov ecx, 0x541714
call fcn.00406aac
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
call fcn.0053f8f4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + 0xe4]
call fcn.0046fd24
test al, al
je 0x541223
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
call fcn.005421f0
mov eax, dword [eax + 8]
call fcn.0046fd24
test al, al
je 0x541223
xor eax, eax
push ebp
push 0x5411cd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
call fcn.005421f0
mov eax, dword [eax + 8]
call fcn.00406764
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0x11
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
call fcn.005421f0
mov ecx, dword [eax + 8]
mov dl, 1
mov eax, dword [0x482b44]
call fcn.00487794
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc0]
mov dword [edx + 0x8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54131c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + 0xe4]
call fcn.0046fd24
test al, al
je 0x541255
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + 0xe4]
call fcn.00406764
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
push ebp
push 0x5412cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
call fcn.005421f0
mov eax, dword [eax + 8]
lea edx, [ebp - 0x28]
call fcn.00470158
mov eax, dword [ebp - 0x28]
call fcn.0046fd90
push 0xffff
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
call fcn.005421f0
mov ecx, dword [eax + 8]
mov dl, 1
mov eax, dword [0x482b44]
call fcn.00487794
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc0]
mov dword [edx + 0x8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54131c
mov eax, ebx
sub al, 1
jb 0x541335
je 0x541403
dec al
je 0x54156d
jmp 0x541678
lea edx, [ebp - 0x34]
movzx eax, bl
call fcn.0046f5a8
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x54178c
call fcn.00406aac
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0053ff6c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xb4
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xb8
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xbc
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xc0
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xcc
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xd4
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xd0
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov byte [eax + 0xd8], 0
jmp 0x541678
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov ecx, dword [eax + 0xb0]
mov dl, 1
mov eax, dword [0x53fdc8]
call fcn.00542104
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x541566
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x541444
mov eax, dword [0x5571e8]
mov eax, dword [eax]
call fcn.004ae690
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x10], 0
je 0x541431
lea edx, [ebp - 0x3c]
movzx eax, bl
call fcn.0046f5a8
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x54178c
call fcn.00406aac
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.0053ff6c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov dword [eax + 0x74], 1
mov eax, dword [ebp - 8]
add eax, 0x50
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x48]
call fcn.004066d8
mov eax, dword [ebp - 8]
add eax, 0x48
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x44]
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xb4
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xb8
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xbc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x50]
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xc0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x48]
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xcc
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xd4
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xd0
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov byte [eax + 0xd8], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541678
mov eax, dword [ebp - 0x10]
call fcn.004043a0
ret
lea edx, [ebp - 0x44]
movzx eax, bl
call fcn.0046f5a8
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x54178c
call fcn.00406aac
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0053ff6c
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0xc0]
mov dword [ebx + 0x74], 1
lea eax, [ebx + 0xb4]
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xb8
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xbc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x50]
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xc0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x48]
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xc4
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x54]
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xc8
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x4c]
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xcc
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xd4
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
add eax, 0xd0
xor edx, edx
call fcn.004066d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc0]
mov byte [eax + 0xd8], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5416a2
lea eax, [ebp - 0x44]
mov edx, 0xd
call fcn.004066d0
lea eax, [ebp - 4]
call fcn.004066c8
ret