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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66aa15
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x71cf78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00434aec
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
push eax
call fcn.00407710
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov edi, dword [esi - 0xc]
mov byte [ebp - 4], 2
cmp edi, 1
jg 0x41049d
add esi, 0xfffffff0
push esi
call fcn.00407710
add esp, 4
lea esi, [eax + 0x10]
jmp 0x410507
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x4104ce
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4104ce
dec edi
add edi, esi
mov eax, edi
test eax, eax
je 0x4106c1
mov eax, dword [ecx]
push 1
push 1
call dword [eax]
test eax, eax
je 0x4106cb
jmp 0x4104eb
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
dec edi
mov ecx, eax
add edi, esi
mov eax, edi
test ecx, ecx
je 0x4106d0
jmp 0x4104b4
cmp dword [eax + 8], 1
lea esi, [eax + 0x10]
jl 0x4106c1
mov dword [esi - 0xc], 1
mov byte [esi + 1], 0
mov al, byte [edi]
mov byte [esi], al
push 0x690b4c
push esi
call fcn.0062c5cc
add esp, 8
test eax, eax
setne byte [ebp - 0xd]
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410535
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x41054a
push 1
push 0x690b4c
lea ecx, [ebp - 0x14]
call fcn.0040b8b0
push 3
push 0x6913a4
lea ecx, [ebp - 0x14]
call fcn.0040b8b0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push 0
push esi
call fcn.00434dd0
test eax, eax
je 0x41066d
nop
lea ecx, [ebp - 0x3c]
call fcn.00434f89
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x20], eax
call fcn.00435348
test eax, eax
jne 0x410663
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00435081
mov ecx, dword [eax]
lea edi, [esi - 0x10]
mov byte [ebp - 4], 3
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x4105ef
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4105e0
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4105e0
push edx
call fcn.00407710
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4105d8
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x4105ef
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408790
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41060d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
push 0x10
call dword [eax + 0x38]
test eax, eax
jne 0x410631
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x410663
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x18], edi
call fcn.00407710
add esp, 4
add eax, 0x10
mov dword [edi], eax
call fcn.00410430
add esp, 4
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp dword [ebp - 0x20], 0
jne 0x410570
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410688
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00434cad
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4106af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004020e0
call fcn.004038c0
push 0x80004005
call fcn.004020e0
int3