Function at 0x7bc910
Capabilities:
Delete directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x56
push 0
push 0
dec ecx
jne 0x7bc919
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x279], cl
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a874
mov eax, dword [ebp + 0x10]
call fcn.0040a874
mov eax, dword [ebp + 0xc]
call fcn.0040a874
mov eax, dword [ebp + 8]
call fcn.0040a874
lea eax, [ebp - 0x278]
mov edx, dword [0x41c574]
call fcn.0040c104
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffc
xor eax, eax
push ebp
push 0x7bcd9b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x280]
mov eax, dword [ebp - 4]
call fcn.005fb3c4
mov edx, dword [ebp - 0x280]
lea eax, [ebp - 4]
call fcn.0040abb8
mov eax, dword [edi]
mov edx, dword [ebp - 4]
call fcn.007b4548
test al, al
je 0x7bc9cd
push 0x7bcdb8
push dword [ebp - 4]
push 0x7bce1c
lea eax, [ebp - 0x284]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x284]
call fcn.0066312c
jmp 0x7bcd57
mov eax, dword [edi]
cmp byte [eax + 0xed], 0
je 0x7bca23
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test eax, 0x400
jbe 0x7bca23
push 0x7bce2c
push dword [ebp - 4]
push 0x7bce84
push dword [ebp + 0x10]
push 0x7bcea8
lea eax, [ebp - 0x288]
mov edx, 5
call fcn.0040baec
mov eax, dword [ebp - 0x288]
call fcn.0066312c
jmp 0x7bcd57
lea eax, [ebp - 0x28c]
mov ecx, 0x7bcedc
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x278]
mov edx, 0x1ff
call fcn.00425348
mov esi, eax
test esi, esi
jne 0x7bcc50
mov eax, dword [edi]
cmp byte [eax + 0xb6], 0
je 0x7bca66
call fcn.0042afa0
mov eax, dword [ebp - 0x264]
mov edx, 0x7bcef0
call fcn.0040bbfc
je 0x7bcc3b
mov eax, dword [ebp - 0x264]
mov edx, 0x7bcf00
call fcn.0040bbfc
je 0x7bcc3b
test bl, bl
je 0x7bcad9
test dword [ebp - 0x268], 0x10
jle 0x7bcad9
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x290]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov eax, dword [ebp - 0x290]
xor ecx, ecx
mov edx, ebx
call fcn.007bc910
pop ecx
test byte [ebp - 0x268], 0x10
jne 0x7bcc3b
mov eax, dword [ebp + 0x14]
mov edx, dword [eax - 8]
mov eax, dword [ebp - 0x264]
call fcn.005fbea0
test al, al
je 0x7bcc3b
mov eax, dword [edi]
cmp byte [eax + 0xed], 0
je 0x7bcb51
test dword [ebp - 0x268], 0x400
jle 0x7bcb51
push 0x7bcf14
push dword [ebp - 4]
push dword [ebp - 0x264]
push 0x7bce84
push dword [ebp + 0x10]
push 0x7bcea8
lea eax, [ebp - 0x294]
mov edx, 6
call fcn.0040baec
mov eax, dword [ebp - 0x294]
call fcn.0066312c
jmp 0x7bcc3b
push 0x7bcf64
push dword [ebp - 4]
push dword [ebp - 0x264]
push 0x7bce84
push dword [ebp + 0x10]
push 0x7bce1c
lea eax, [ebp - 0x298]
mov edx, 6
call fcn.0040baec
mov eax, dword [ebp - 0x298]
call fcn.0066312c
cmp dword [ebp + 0x10], 0
jne 0x7bcbe5
mov eax, dword [edi]
cmp byte [eax + 0xee], 0
je 0x7bcbbb
lea eax, [ebp - 0x29c]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov edx, dword [ebp - 0x29c]
mov eax, dword [edi]
call fcn.007bc354
jmp 0x7bcc14
lea eax, [ebp - 0x2a0]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov eax, dword [ebp - 0x2a0]
mov edx, dword [edi]
movzx edx, byte [edx + 0xec]
call fcn.007c83a4
jmp 0x7bcc14
mov eax, dword [edi]
push eax
push 0x7c2c00
lea eax, [ebp - 0x2a4]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov eax, dword [ebp - 0x2a4]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx - 0xc]
mov cl, 1
call fcn.00796278
lea eax, [ebp - 0x2a8]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov edx, dword [ebp - 0x2a8]
mov eax, dword [edi]
mov eax, dword [eax + 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x278]
call fcn.00425398
mov esi, eax
test esi, esi
je 0x7bca56
lea eax, [ebp - 0x278]
call fcn.004253bc
cmp byte [ebp - 0x279], 0
jne 0x7bcd57
push 0x7bcfac
push dword [ebp - 4]
push 0x7bcff4
lea eax, [ebp - 0x2ac]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x2ac]
call fcn.0066312c
mov eax, dword [ebp - 4]
call fcn.007c8340
push 0x7bcfac
push dword [ebp - 4]
push 0x7bd00c
lea eax, [ebp - 0x2b0]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x2b0]
call fcn.0066312c
mov eax, dword [edi]
cmp byte [eax + 0xec], 0
je 0x7bccd3
mov eax, dword [ebp - 4]
call fcn.00793ed4
push 0x7bcfac
push dword [ebp - 4]
push 0x7bd024
lea eax, [ebp - 0x2b4]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x2b4]
call fcn.0066312c
mov eax, dword [ebp - 4]
call fcn.007e97cc
test al, al
je 0x7bcd57
mov eax, dword [edi]
cmp byte [eax + 0xed], 0
je 0x7bcd30
mov eax, dword [edi]
cmp byte [eax + 0xed], 0
je 0x7bcd57
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test ah, 4
jne 0x7bcd57
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x7bcd49
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_RemoveDirectoryW
jmp 0x7bcd57
mov eax, dword [ebp + 0x14]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp - 4]
call fcn.00797154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7bcda2
lea eax, [ebp - 0x2b4]
mov edx, 0xe
call fcn.0040a7f0
lea eax, [ebp - 0x278]
mov edx, dword [0x41c574]
call fcn.0040c1e0
lea eax, [ebp - 4]
call fcn.0040a790
lea eax, [ebp + 8]
mov edx, 3
call fcn.0040a7f0
ret