Function at 0x4a3530
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x90
push 0xffffffffffffffff
push 0x5a9334
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x60a070]
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.00403c70
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x58]
call fcn.00498f90
lea ecx, [ebp]
call fcn.004b53b0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x88]
push 4
call fcn.00465a70
push 4
call fcn.0053c458
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 0x5d9678
lea ecx, [ebp + 0x70]
call fcn.0041e570
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp + 0x88]
call fcn.004b6590
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403bb0
test bl, bl
je 0x4a39a1
lea ecx, [ebp]
call fcn.004b5790
test al, al
jne 0x4a3695
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x4a362e
mov al, 1
jmp 0x4a3630
xor al, al
test al, al
lea edx, [ebp + 0x58]
lea eax, [ebp + 0x28]
lea ecx, [ebp + 0x70]
push eax
je 0x4a3667
call fcn.004290f0
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.004a3530
mov esi, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403bb0
jmp 0x4a36a1
call fcn.004290f0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x70]
call fcn.004d4840
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.00403bb0
jmp 0x4a36a1
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.004b6220
test al, al
je 0x4a387a
lea ecx, [ebp + 0x28]
call fcn.00403fa0
mov edi, eax
mov esi, dword [ebp + 0x20]
and esi, 0x10
mov ecx, esi
or ecx, 0
je 0x4a36d3
mov al, 1
jmp 0x4a36d5
xor al, al
test al, al
je 0x4a3729
lea ecx, [ebp + 0x28]
call fcn.0040d260
test eax, eax
je 0x4a3729
mov ebx, dword [edi + 0x14]
mov eax, edi
cmp ebx, 8
jb 0x4a36f1
mov eax, dword [edi]
cmp word [eax], 0x2e
jne 0x4a3729
lea ecx, [ebp + 0x28]
call fcn.0040d260
cmp eax, 1
je 0x4a3860
mov eax, edi
cmp ebx, 8
jb 0x4a3711
mov eax, dword [edi]
cmp word [eax + 2], 0x2e
jne 0x4a3729
lea ecx, [ebp + 0x28]
call fcn.0040d260
cmp eax, 2
je 0x4a3860
or esi, 0
je 0x4a3732
mov al, 1
jmp 0x4a3734
xor al, al
test al, al
je 0x4a37cf
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x70]
call fcn.00403c50
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp + 0x28]
or ebx, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
call fcn.0040d260
lea ecx, [ebp + 0x58]
mov esi, eax
call fcn.0040d260
add esi, eax
lea ecx, [ebp + 0x70]
push esi
call fcn.0041e870
lea ecx, [ebp + 0x58]
call fcn.00403fa0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a3783
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x70]
call fcn.00411db0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4a3799
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp + 0x70]
push eax
call fcn.00411db0
mov ecx, dword [ebp - 0x20]
call fcn.004a3530
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.00403bb0
jmp 0x4a3863
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x40]
call fcn.00403c50
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp + 0x28]
or ebx, 2
mov dword [ebp - 0x1c], ebx
call fcn.0040d260
lea ecx, [ebp + 0x58]
mov esi, eax
call fcn.0040d260
add esi, eax
lea ecx, [ebp + 0x40]
push esi
call fcn.0041e870
lea ecx, [ebp + 0x58]
call fcn.00403fa0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a3813
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x40]
call fcn.00411db0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4a3829
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp + 0x40]
push eax
call fcn.00411db0
lea ecx, [ebp + 0x40]
call fcn.004d4840
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.00403bb0
jmp 0x4a3863
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x88]
lea eax, [ebp]
push eax
call fcn.004b6220
test al, al
jne 0x4a36c2
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 0x88]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4a389b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4a389b
mov dword [edi], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.00403b40
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push eax
call edi
test eax, eax
jne 0x4a39b8
lea ecx, [ebp + 0x70]
call fcn.00403c50
mov byte [ebp - 4], 9
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.004d53c0
test al, al
je 0x4a38e2
lea ecx, [ebp + 0x70]
call fcn.00403b40
push eax
call edi
test eax, eax
jne 0x4a39ac
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403bb0
lea ecx, [ebp + 0x58]
call fcn.004d41c0
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x4a39be
push 0
lea ecx, [ebp + 0x58]
call fcn.00403b40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4a394f
lea ecx, [ebp + 0x70]
call fcn.00403c50
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.004d53c0
test al, al
je 0x4a3943
push 0
lea ecx, [ebp + 0x70]
call fcn.00403b40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403bb0
lea ecx, [ebp + 0x58]
call fcn.00403b40
push eax
call edi
test eax, eax
jne 0x4a39b8
lea ecx, [ebp + 0x70]
call fcn.00403c50
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.004d53c0
test al, al
je 0x4a3988
lea ecx, [ebp + 0x70]
call fcn.00403b40
push eax
call edi
test eax, eax
jne 0x4a39ac
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403bb0
mov edx, dword [ebp - 0x20]
lea ecx, [ebp + 0x58]
call fcn.004d4110
jmp 0x4a39be
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x4a387d
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403bb0
add esi, 1
adc ebx, 0
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0x88]
test edi, edi
je 0x4a39ef
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4a39e4
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4a39e4
mov dword [edi], 0xffffffff
push 4
push edi
call fcn.0053c9a6
add esp, 8
mov dword [ebp + 0x88], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.00403bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.00403bb0
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.0053c439
lea esp, [ebp + 0x90]
pop ebp
ret