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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.00438b76
call fcn.00432e51
test eax, eax
jne 0x42d523
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
add esi, 0x10
mov dword [esp + 0x10], esi
call fcn.00432e51
test eax, eax
jne 0x42d548
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
push str..
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x20]
add eax, 0x10
push edx
mov dword [esp + 0x20], eax
call fcn.00401d80
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.004042c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d599
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x3c]
call fcn.00438c0b
test eax, eax
je 0x42d771
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [ecx]
lea ecx, [esp + 0x34]
call fcn.00438863
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
call fcn.00438b3b
test eax, eax
jne 0x42d766
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.00438e45
push eax
lea ecx, [esp + 0x14]
call fcn.004042c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d616
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x38]
call eax
test eax, eax
je 0x42d6ca
lea ecx, [esp + 0x10]
push ecx
push 0x46ead0
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00401d80
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040d170
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004042c0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d681
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x42d6a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
push ecx
lea ecx, [esi - 0x10]
mov dword [esp + 0x34], esp
mov edi, esp
push ecx
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0042d500
add esp, 4
jmp 0x42d766
lea edx, [esp + 0x10]
push edx
push 0x46ead0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00401d80
add esp, 0xc
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0040d170
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004042c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d71e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d73e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x38]
push 1
lea ecx, [esp + 0x38]
call eax
mov esi, dword [esp + 0x10]
test eax, eax
je 0x42d75f
push esi
call ebp
and eax, 0xfffffffe
push eax
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x2c], 0
jne 0x42d5c0
lea ecx, [esp + 0x34]
call fcn.0043877d
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d7a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d7c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
call fcn.00438b9c
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d7ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret