Function at 0x4b3b90
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x50]
sub esp, 0x8c
mov ecx, ebx
call fcn.004b4bb0
lea ecx, [ebp - 0x28]
call fcn.00472910
mov eax, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004b4c20
sub esp, 4
test al, al
je 0x4b3d20
mov eax, dword [ebp - 0x30]
test al, 0x10
je 0x4b3d10
test ah, 4
mov eax, dword [ebp - 0x28]
jne 0x4b3d5a
test eax, eax
je 0x4b3beb
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x6c]
mov dword [esp], eax
call fcn.00472a10
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
sub esp, 4
cmp ecx, eax
je 0x4b3dfc
mov edi, dword [ebp - 0x6c]
mov edx, 0x5c
lea esi, [eax + 1]
mov word [edi + eax*2], dx
lea eax, [eax + eax + 2]
lea edx, [edi + eax]
mov dword [ebp - 0x80], eax
xor eax, eax
cmp esi, ecx
mov word [edx], ax
mov dword [ebp - 0x68], esi
mov eax, esi
je 0x4b3e0f
mov ecx, 0x2a
add eax, 1
mov word [edx], cx
xor edx, edx
lea ecx, [ebp - 0x5c]
mov word [edi + eax*2], dx
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x60], 0xffffffff
mov dword [esp], eax
call fcn.00472a10
mov ecx, ebx
sub esp, 4
call fcn.004b4bb0
lea ecx, [ebp - 0x28]
call fcn.00472910
lea eax, [ebp - 0x60]
mov dword [ebp - 0x7c], eax
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [ebp - 0x7c]
mov dword [esp], ebx
call fcn.004b5910
sub esp, 4
test al, al
je 0x4b3d31
cmp dword [ebp - 0x68], esi
jbe 0x4b3caa
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x80]
xor edx, edx
mov dword [ebp - 0x68], esi
mov word [eax + edi], dx
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x6c]
mov dword [esp], eax
call fcn.00472f80
sub esp, 4
test byte [ebp - 0x30], 0x10
je 0x4b3da5
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.004b3b90
test al, al
jne 0x4b3c80
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4b3ce3
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4b3cf2
mov dword [esp], eax
call fcn.006e9860
mov ecx, dword [ebp - 0x7c]
call fcn.004b4850
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x4b3d27
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x10b
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4b3d01
mov dword [esp], eax
call fcn.006e9860
jmp 0x4b3d01
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4b3d40
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4b3d4f
mov dword [esp], eax
call fcn.006e9860
mov ecx, dword [ebp - 0x7c]
call fcn.004b4850
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4b3d66
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
sub esp, 8
test eax, eax
je 0x4b3d03
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
sub esp, 4
test eax, eax
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x6c]
mov dword [esp], edi
call fcn.004b4c00
cmp eax, 0xffffffff
je 0x4b3dbf
mov edx, eax
and edx, 0x11
cmp edx, 1
je 0x4b3de0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 4
test eax, eax
je 0x4b3cd4
jmp 0x4b3c80
and eax, 0xfffffffe
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
sub esp, 8
test eax, eax
jne 0x4b3dbf
jmp 0x4b3cd4
lea ecx, [ebp - 0x6c]
call fcn.004723e0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
jmp 0x4b3c0a
lea ecx, [ebp - 0x6c]
call fcn.004723e0
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
lea edx, [edi + eax*2]
jmp 0x4b3c35