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

Disassembly:
push 0xffffffffffffffff
push 0x434b9a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445658]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x64]
cmp dword [eax - 0xc], ebx
jne 0x40213b
add eax, 0xfffffff0
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x402397
lea ecx, [esp + 0x38]
call fcn.0040fd14
push 0x43c138
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x68], 1
call fcn.00403030
add esp, 0xc
mov byte [esp + 0x5c], 2
mov eax, dword [eax]
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.0040fdac
mov esi, eax
mov byte [esp + 0x5c], 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 0x402199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x402359
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x38]
call fcn.0040fa14
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.004100ae
mov byte [esp + 0x5c], 3
or ebx, 1
push 0x43c140
mov esi, eax
mov dword [esp + 0x20], ebx
call fcn.00403260
add esp, 4
test al, al
jne 0x402214
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.004100ae
mov dword [esp + 0x5c], 4
or ebx, 2
push 0x43c144
mov esi, eax
mov dword [esp + 0x20], ebx
call fcn.00403260
add esp, 4
mov byte [esp + 0x1b], 0
test al, al
je 0x402219
mov byte [esp + 0x1b], 1
mov dword [esp + 0x5c], 3
test bl, 2
je 0x40224d
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x1c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40224d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x5c], 1
test bl, 1
je 0x40227d
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
and ebx, 0xfffffffe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40227d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
jne 0x402351
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041001d
mov eax, dword [eax]
push 0x80
push eax
call ebp
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4022c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x3c]
call eax
test eax, eax
je 0x40231a
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
lea ecx, [esp + 0x40]
call fcn.0041001d
mov ecx, dword [esp + 0x30]
call fcn.004020e0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
call fcn.0041001d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x402345
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041001d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402351
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x4021a7
lea ecx, [esp + 0x38]
call fcn.0040f92e
mov ecx, dword [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 0
call fcn.0040fd3d
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4023a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4