Function at 0x4a66e0
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x90
push 0xffffffffffffffff
push 0x5acdc4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x60e070]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push ecx
lea ecx, [ebp + 0x58]
movlpd qword [ebp - 0x18], xmm0
call fcn.00403c50
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x58]
call fcn.0049c160
lea ecx, [ebp]
call fcn.004b8550
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x88]
push 4
call fcn.00468280
push 4
call fcn.0053f5f8
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp + 0x88], eax
mov byte [ebp - 4], 3
lea edx, [ebp + 0x58]
push 0x5dc548
lea ecx, [ebp + 0x70]
call fcn.0041e690
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp + 0x88]
call fcn.004b9720
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403b90
test bl, bl
je 0x4a6b51
lea ecx, [ebp]
call fcn.004b8930
test al, al
jne 0x4a6845
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x4a67de
mov al, 1
jmp 0x4a67e0
xor al, al
test al, al
lea edx, [ebp + 0x58]
lea eax, [ebp + 0x28]
lea ecx, [ebp + 0x70]
push eax
je 0x4a6817
call fcn.00429220
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.004a66e0
mov esi, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403b90
jmp 0x4a6851
call fcn.00429220
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x70]
call fcn.004d79e0
movzx eax, al
cdq
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403b90
jmp 0x4a6851
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x88]
lea eax, [ebp]
push eax
call fcn.004b93b0
test al, al
je 0x4a6a2a
lea ecx, [ebp + 0x28]
call fcn.00403f80
mov edi, eax
mov esi, dword [ebp + 0x20]
and esi, 0x10
mov ecx, esi
or ecx, 0
je 0x4a6883
mov al, 1
jmp 0x4a6885
xor al, al
test al, al
je 0x4a68d9
lea ecx, [ebp + 0x28]
call fcn.0040d380
test eax, eax
je 0x4a68d9
mov ebx, dword [edi + 0x14]
mov eax, edi
cmp ebx, 8
jb 0x4a68a1
mov eax, dword [edi]
cmp word [eax], 0x2e
jne 0x4a68d9
lea ecx, [ebp + 0x28]
call fcn.0040d380
cmp eax, 1
je 0x4a6a10
mov eax, edi
cmp ebx, 8
jb 0x4a68c1
mov eax, dword [edi]
cmp word [eax + 2], 0x2e
jne 0x4a68d9
lea ecx, [ebp + 0x28]
call fcn.0040d380
cmp eax, 2
je 0x4a6a10
or esi, 0
je 0x4a68e2
mov al, 1
jmp 0x4a68e4
xor al, al
test al, al
je 0x4a697f
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x70]
call fcn.00403c30
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp + 0x28]
or ebx, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
call fcn.0040d380
lea ecx, [ebp + 0x58]
mov esi, eax
call fcn.0040d380
add esi, eax
lea ecx, [ebp + 0x70]
push esi
call fcn.0041e990
lea ecx, [ebp + 0x58]
call fcn.00403f80
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a6933
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x70]
call fcn.00411ed0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4a6949
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp + 0x70]
push eax
call fcn.00411ed0
mov ecx, dword [ebp - 0x20]
call fcn.004a66e0
mov esi, dword [ebp - 0x14]
add esi, eax
mov dword [ebp - 0x14], esi
adc dword [ebp - 0x10], edx
and ebx, 0xfffffffe
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403b90
jmp 0x4a6a13
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x40]
call fcn.00403c30
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp + 0x28]
or ebx, 2
mov dword [ebp - 0x1c], ebx
call fcn.0040d380
lea ecx, [ebp + 0x58]
mov esi, eax
call fcn.0040d380
add esi, eax
lea ecx, [ebp + 0x40]
push esi
call fcn.0041e990
lea ecx, [ebp + 0x58]
call fcn.00403f80
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a69c3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x40]
call fcn.00411ed0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4a69d9
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp + 0x40]
push eax
call fcn.00411ed0
lea ecx, [ebp + 0x40]
call fcn.004d79e0
mov esi, dword [ebp - 0x14]
movzx eax, al
cdq
add esi, eax
mov dword [ebp - 0x14], esi
adc dword [ebp - 0x10], edx
and ebx, 0xfffffffd
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.00403b90
jmp 0x4a6a13
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x88]
lea eax, [ebp]
push eax
call fcn.004b93b0
test al, al
jne 0x4a6872
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 0x88]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4a6a4b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4a6a4b
mov dword [edi], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.00403b20
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push eax
call edi
test eax, eax
jne 0x4a6b68
lea ecx, [ebp + 0x70]
call fcn.00403c30
mov byte [ebp - 4], 9
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.004d8560
test al, al
je 0x4a6a92
lea ecx, [ebp + 0x70]
call fcn.00403b20
push eax
call edi
test eax, eax
jne 0x4a6b5c
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403b90
lea ecx, [ebp + 0x58]
call fcn.004d7360
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x4a6b6e
push 0
lea ecx, [ebp + 0x58]
call fcn.00403b20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4a6aff
lea ecx, [ebp + 0x70]
call fcn.00403c30
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.004d8560
test al, al
je 0x4a6af3
push 0
lea ecx, [ebp + 0x70]
call fcn.00403b20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403b90
lea ecx, [ebp + 0x58]
call fcn.00403b20
push eax
call edi
test eax, eax
jne 0x4a6b68
lea ecx, [ebp + 0x70]
call fcn.00403c30
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.004d8560
test al, al
je 0x4a6b38
lea ecx, [ebp + 0x70]
call fcn.00403b20
push eax
call edi
test eax, eax
jne 0x4a6b5c
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403b90
mov edx, dword [ebp - 0x20]
lea ecx, [ebp + 0x58]
call fcn.004d72b0
jmp 0x4a6b6e
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x4a6a2d
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403b90
add esi, 1
adc ebx, 0
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0x88]
test edi, edi
je 0x4a6b9f
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4a6b94
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4a6b94
mov dword [edi], 0xffffffff
push 4
push edi
call fcn.0053fb46
add esp, 8
mov dword [ebp + 0x88], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.00403b90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.00403b90
mov eax, esi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.0053f5d9
lea esp, [ebp + 0x90]
pop ebp
ret