Function at 0x49b660
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x49b668
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49b999
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49b967
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49b956
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x24], 0
jne 0x49b6bb
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b971
mov dl, 1
mov eax, dword [0x43c0c4]
call fcn.00448c34
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0049bdd8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x49b769
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x24]
mov eax, dword [ebp - 0xc]
push dword [eax + 0x30]
push 0x49b9b4
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x1c]
push 0x49b9c4
lea eax, [ebp - 4]
mov edx, 5
call fcn.00408da8
mov eax, dword [ebp - 4]
call fcn.004806f8
test al, al
je 0x49b761
xor eax, eax
push ebp
push 0x49b757
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408ac4
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b761
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x49b6f1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.004904f4
test al, al
je 0x49b7ab
xor eax, eax
push ebp
push 0x49b7a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.00408ac4
push eax
call sub.kernel32.dll_RemoveDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b7ab
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dl, 1
call fcn.0041fb94
test al, al
je 0x49b7ed
xor eax, eax
push ebp
push 0x49b7e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov cl, 1
mov dl, 1
call fcn.0047fa7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b7ed
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x49b915
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
push 0x49b9dc
mov eax, dword [ebp - 0xc]
push dword [eax + 0x30]
push 0x49b9b4
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x20]
push 0x49b9f4
lea eax, [ebp - 8]
mov edx, 5
call fcn.00408da8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049bab8
push 0x49b9dc
mov eax, dword [ebp - 0xc]
push dword [eax + 0x30]
push 0x49b9b4
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x24]
push 0x49ba14
lea eax, [ebp - 8]
mov edx, 5
call fcn.00408da8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049bab8
push 0x49b9dc
mov eax, dword [ebp - 0xc]
push dword [eax + 0x30]
push 0x49b9b4
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x28]
push 0x49ba38
lea eax, [ebp - 8]
mov edx, 5
call fcn.00408da8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049bab8
push 0x49b9dc
mov eax, dword [ebp - 0xc]
push dword [eax + 0x30]
push 0x49b9b4
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x2c]
push 0x49ba50
lea eax, [ebp - 8]
mov edx, 5
call fcn.00408da8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049bab8
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x49b809
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 8]
mov ecx, 0x49ba70
call fcn.00408d20
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x38]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049bab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b95d
cmp dword [ebp - 0x10], 0
je 0x49b955
mov eax, dword [ebp - 0x10]
call fcn.00405fbc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b9a0
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00407c90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407c90
ret