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

Disassembly:
push 0xffffffffffffffff
push 0x4e7db8
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.004b2394
mov byte [esp + 0x5c], 1
call fcn.004cc87a
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.004cc87a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x4f05c8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 3
call fcn.00402540
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.00402420
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 5
call fcn.004024d0
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 0x409bce
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 0x409bf1
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.00401ee0
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jne 0x409c23
test eax, eax
jge 0x409c19
push 0x80070057
call fcn.00401430
cmp word [ecx], 0x5c
jne 0x409c23
xor bl, bl
jmp 0x409c25
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 0x409c43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
lea ecx, [esp + 0x18]
je 0x409c79
push 0x4f05c8
call fcn.00402540
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.00402420
add esp, 0xc
mov byte [esp + 0x5c], 7
jmp 0x409ca5
push 0x4f05c4
call fcn.00402540
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.00402420
add esp, 0xc
mov byte [esp + 0x5c], 9
lea ecx, [esp + 0x14]
push eax
call fcn.004024d0
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 0x409cd1
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 0x409cf4
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.004b2429
test eax, eax
je 0x409f95
mov bl, 0xf
mov edi, edi
lea ecx, [esp + 0x3c]
call fcn.004b2270
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], eax
call fcn.004b2357
test eax, eax
jne 0x409f89
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.004b2716
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x5c], 0xa
je 0x409d93
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409d85
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409d85
push eax
call fcn.00401be0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409d7c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x409d93
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00402280
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 0x409db6
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 0x4efeb0
je 0x409eab
lea ecx, [esp + 0x1c]
call fcn.00402540
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.00402420
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x74], 0xc
call fcn.00402420
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0xd
call fcn.004024d0
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 0x409e3c
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 0x409e5f
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 0x409e82
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.00401be0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00409b10
add esp, 4
jmp 0x409f89
lea ecx, [esp + 0x20]
call fcn.00402540
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.00402420
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x74], bl
call fcn.00402420
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0x10
call fcn.004024d0
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 0x409f15
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 0x409f38
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 0x409f5b
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 0x409f82
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 0x409d10
lea ecx, [esp + 0x3c]
call fcn.004b21a0
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 0x409fcc
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 0x409feb
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.004b23ba
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 0x40a01b
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