Function at 0x7bc660
Capabilities:
Delete directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x56
push 0
push 0
dec ecx
jne 0x7bc669
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 0x7bcaeb
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.007b4298
test al, al
je 0x7bc71d
push 0x7bcb08
push dword [ebp - 4]
push 0x7bcb6c
lea eax, [ebp - 0x284]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x284]
call fcn.00662c34
jmp 0x7bcaa7
mov eax, dword [edi]
cmp byte [eax + 0xed], 0
je 0x7bc773
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test eax, 0x400
jbe 0x7bc773
push 0x7bcb7c
push dword [ebp - 4]
push 0x7bcbd4
push dword [ebp + 0x10]
push 0x7bcbf8
lea eax, [ebp - 0x288]
mov edx, 5
call fcn.0040baec
mov eax, dword [ebp - 0x288]
call fcn.00662c34
jmp 0x7bcaa7
lea eax, [ebp - 0x28c]
mov ecx, 0x7bcc2c
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 0x7bc9a0
mov eax, dword [edi]
cmp byte [eax + 0xb6], 0
je 0x7bc7b6
call fcn.0042afa0
mov eax, dword [ebp - 0x264]
mov edx, 0x7bcc40
call fcn.0040bbfc
je 0x7bc98b
mov eax, dword [ebp - 0x264]
mov edx, 0x7bcc50
call fcn.0040bbfc
je 0x7bc98b
test bl, bl
je 0x7bc829
test dword [ebp - 0x268], 0x10
jle 0x7bc829
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.007bc660
pop ecx
test byte [ebp - 0x268], 0x10
jne 0x7bc98b
mov eax, dword [ebp + 0x14]
mov edx, dword [eax - 8]
mov eax, dword [ebp - 0x264]
call fcn.005fbea0
test al, al
je 0x7bc98b
mov eax, dword [edi]
cmp byte [eax + 0xed], 0
je 0x7bc8a1
test dword [ebp - 0x268], 0x400
jle 0x7bc8a1
push 0x7bcc64
push dword [ebp - 4]
push dword [ebp - 0x264]
push 0x7bcbd4
push dword [ebp + 0x10]
push 0x7bcbf8
lea eax, [ebp - 0x294]
mov edx, 6
call fcn.0040baec
mov eax, dword [ebp - 0x294]
call fcn.00662c34
jmp 0x7bc98b
push 0x7bccb4
push dword [ebp - 4]
push dword [ebp - 0x264]
push 0x7bcbd4
push dword [ebp + 0x10]
push 0x7bcb6c
lea eax, [ebp - 0x298]
mov edx, 6
call fcn.0040baec
mov eax, dword [ebp - 0x298]
call fcn.00662c34
cmp dword [ebp + 0x10], 0
jne 0x7bc935
mov eax, dword [edi]
cmp byte [eax + 0xee], 0
je 0x7bc90b
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.007bc0a4
jmp 0x7bc964
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.007c80f4
jmp 0x7bc964
mov eax, dword [edi]
push eax
push 0x7c2950
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.00795d80
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 0x7bc7a6
lea eax, [ebp - 0x278]
call fcn.004253bc
cmp byte [ebp - 0x279], 0
jne 0x7bcaa7
push 0x7bccfc
push dword [ebp - 4]
push 0x7bcd44
lea eax, [ebp - 0x2ac]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x2ac]
call fcn.00662c34
mov eax, dword [ebp - 4]
call fcn.007c8090
push 0x7bccfc
push dword [ebp - 4]
push 0x7bcd5c
lea eax, [ebp - 0x2b0]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x2b0]
call fcn.00662c34
mov eax, dword [edi]
cmp byte [eax + 0xec], 0
je 0x7bca23
mov eax, dword [ebp - 4]
call fcn.007939dc
push 0x7bccfc
push dword [ebp - 4]
push 0x7bcd74
lea eax, [ebp - 0x2b4]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x2b4]
call fcn.00662c34
mov eax, dword [ebp - 4]
call fcn.007e951c
test al, al
je 0x7bcaa7
mov eax, dword [edi]
cmp byte [eax + 0xed], 0
je 0x7bca80
mov eax, dword [edi]
cmp byte [eax + 0xed], 0
je 0x7bcaa7
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test ah, 4
jne 0x7bcaa7
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x7bca99
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_RemoveDirectoryW
jmp 0x7bcaa7
mov eax, dword [ebp + 0x14]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp - 4]
call fcn.00796c5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7bcaf2
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