Function at 0x10094b40
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10192aba
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx - 0xc]
cmp ecx, ebx
jne 0x10094ba8
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, ecx
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.10021bb0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x10094e83
cmp eax, ecx
jg 0x10094e83
mov al, byte [eax + edx]
cmp al, 0x5c
jne 0x10094bf5
mov edx, ecx
add edx, 0xffffffff
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x64]
call fcn.10062f20
mov byte [esp + 0x54], 1
push eax
lea ecx, [esp + 0x60]
call fcn.10063170
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x1c]
call fcn.10021bb0
mov cl, cl
lea ecx, [esp + 0x34]
call fcn.10122c7a
mov byte [esp + 0x54], 2
mov cl, cl
mov byte [esp + 0x14], 0x5c
mov byte [esp + 0x15], 0x2a
mov byte [esp + 0x16], 0
mov bl, bl
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.1007b7f0
add esp, 0xc
mov byte [esp + 0x54], 3
mov eax, dword [eax]
push ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.10122d06
mov esi, eax
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x1c]
call fcn.10021bb0
cmp dword [0x101d08cc], 0xffffb203
cmp esi, ebx
je 0x10094e50
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x34]
call fcn.10122b0b
mov esi, eax
mov al, al
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x38]
call fcn.10122f35
mov byte [esp + 0x54], 4
or ebx, 1
mov dword [esp + 0x18], ebx
mov eax, dword [eax]
push 0x10198bac
push eax
call fcn.101324c0
add esp, 8
test eax, eax
sete al
test al, al
jne 0x10094ce2
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x38]
call fcn.10122f35
mov dword [esp + 0x54], 5
or ebx, 2
mov dword [esp + 0x18], ebx
mov eax, dword [eax]
push 0x10198cb8
push eax
call fcn.101324c0
add esp, 8
test eax, eax
sete al
test al, al
mov byte [esp + 0x13], 0
je 0x10094ce7
mov byte [esp + 0x13], 1
mov eax, 4
mov dword [esp + 0x54], eax
test bl, 2
je 0x10094d20
and ebx, 0xfffffffd
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10094d20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 2
test bl, 1
je 0x10094d59
and ebx, 0xfffffffe
mov dword [esp + 0x18], ebx
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10094d59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], 0
jne 0x10094e48
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x38]
call fcn.10122ea5
mov byte [esp + 0x54], 8
mov eax, dword [eax]
push 0x80
push eax
call edi
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10094da6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x101d08bc], 0xffff896c
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x38]
call eax
test eax, eax
je 0x10094e1e
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
lea ecx, [esp + 0x3c]
call fcn.10122ea5
mov byte [esp + 0x58], 0xa
mov byte [esp + 0x58], 2
call fcn.10094b40
add esp, 4
mov edi, edi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x38]
call fcn.10122ea5
mov byte [esp + 0x54], 0xb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x28]
call fcn.10021bb0
cmp dword [0x101d08b0], 0x2f18
jmp 0x10094e48
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
call fcn.10122ea5
mov byte [esp + 0x54], 0xc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x2c]
call fcn.10021bb0
test esi, esi
jne 0x10094c67
lea ecx, [esp + 0x34]
call fcn.10122a3b
push edx
pop edx
mov ecx, dword [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp dword [0x101d08c0], 0x5839
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x34]
call fcn.10122c9e
jmp 0x10094b84
push 0x80070057
call fcn.100010d0
int3