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

Disassembly:
push 0xffffffffffffffff
push 0x4a528c
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5564a4]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov edi, dword [esp + 0x164]
mov dword [esp + 0x24], edi
call fcn.0045f338
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42be22
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push ebx
push ebx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x20], ebx
call fcn.00478966
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x42be7b
lea eax, [esi - 0x10]
mov dword [esp + 0x15c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42c079
push edi
lea ecx, [esp + 0x18]
push 0x4faef8
push ecx
call fcn.00401990
add esp, 0xc
push ebp
push 0x4f9a38
lea ecx, [esp + 0x1c]
call fcn.00409970
mov edx, dword [esp + 0x14]
push edx
call fcn.0047b780
lea eax, [esp + 0x2c]
push eax
push 0x5024c8
call fcn.0047859b
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x20], eax
jle 0x42c043
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x18]
push 0x4faef8
push edx
call fcn.00401990
add esp, 0xc
test byte [esp + 0x28], 0x10
jne 0x42bfb3
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00401d30
mov byte [esp + 0x160], 1
call fcn.00404580
mov ecx, eax
mov byte [esp + 0x160], bl
call fcn.00403290
cmp eax, ebx
je 0x42bf4c
push ebx
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00401d30
mov byte [esp + 0x164], 2
call fcn.00404580
mov ecx, eax
mov byte [esp + 0x164], bl
call fcn.00403c50
mov dword [esp + 0x18], 1
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42c016
cmp dword [esp + 0x18], ebx
je 0x42c016
push 1
push ecx
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00401d30
mov byte [esp + 0x164], 3
call fcn.00404580
mov ecx, eax
mov byte [esp + 0x164], bl
call fcn.00403c50
jmp 0x42c016
mov edi, 0x4f9a38
lea esi, [esp + 0x4c]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x42bfcc
sbb edx, edx
sbb edx, 0xffffffff
mov edi, 0x4f9a34
lea esi, [esp + 0x4c]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42bfe5
sbb eax, eax
sbb eax, 0xffffffff
test edx, eax
je 0x42c016
push ebx
push ebx
call fcn.00478966
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42c0a1
lea ecx, [esp + 0x4c]
push ecx
call fcn.0042bdc0
push esi
call fcn.0047b780
push esi
call fcn.00474830
add esp, 0xc
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push esi
call fcn.004786cb
add esp, 8
test eax, eax
je 0x42bec5
push esi
call fcn.00478515
push ebp
call fcn.0047b780
mov edi, dword [esp + 0x2c]
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x15c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c077
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004752ab
add esp, 0x14c
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x42be50