Function at 0x4095a0
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e3bd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0
call fcn.004ad6da
mov byte [esp + 0x5c], 1
call fcn.004c86da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x5c], 2
call fcn.004c86da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x4ec540
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 3
call fcn.00402500
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x24]
mov bl, 4
push edx
mov byte [esp + 0x68], bl
call fcn.004023e0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 5
call fcn.00402490
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40965e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409681
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x6c]
call fcn.00401ea0
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jne 0x4096b3
test eax, eax
jge 0x4096a9
push 0x80070057
call fcn.00401430
cmp word [ecx], 0x5c
jne 0x4096b3
xor bl, bl
jmp 0x4096b5
mov bl, 1
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 0x4096d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
lea ecx, [esp + 0x18]
je 0x409709
push 0x4ec540
call fcn.00402500
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x24]
mov bl, 6
push edx
mov byte [esp + 0x68], bl
call fcn.004023e0
add esp, 0xc
mov byte [esp + 0x5c], 7
jmp 0x409735
push 0x4ec53c
call fcn.00402500
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x24]
mov bl, 8
push edx
mov byte [esp + 0x68], bl
call fcn.004023e0
add esp, 0xc
mov byte [esp + 0x5c], 9
lea ecx, [esp + 0x14]
push eax
call fcn.00402490
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409761
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409784
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x44]
call fcn.004ad76f
test eax, eax
je 0x409a25
mov bl, 0xf
mov edi, edi
lea ecx, [esp + 0x3c]
call fcn.004ad4a0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], eax
call fcn.004ad69d
test eax, eax
jne 0x409a19
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.004ada5c
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x5c], 0xa
je 0x409823
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409815
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409815
push eax
call fcn.00401ba0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40980c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x409823
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00402240
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409846
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
push 0x10
lea ecx, [esp + 0x40]
call dword [eax + 0x38]
test eax, eax
push 0x4ebe98
je 0x40993b
lea ecx, [esp + 0x1c]
call fcn.00402500
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x68], 0xb
call fcn.004023e0
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x74], 0xc
call fcn.004023e0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0xd
call fcn.00402490
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409912
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00401ba0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004095a0
add esp, 4
jmp 0x409a19
lea ecx, [esp + 0x20]
call fcn.00402500
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x68], 0xe
call fcn.004023e0
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x74], bl
call fcn.004023e0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0x10
call fcn.00402490
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
push 1
lea ecx, [esp + 0x40]
call dword [eax + 0x38]
test eax, eax
mov esi, dword [esp + 0x10]
je 0x409a12
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4097a0
lea ecx, [esp + 0x3c]
call fcn.004ad3d0
mov edi, dword [esp + 0x64]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x5c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0
call fcn.004ad700
lea eax, [edi - 0x10]
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409aab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret