Function at 0x410ef0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44769c
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, 0x5c
mov word [ebp - 0x1c], ax
xor eax, eax
mov dword [ebp - 0x480], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x478]
push edx
mov dword [ebp - 4], eax
call fcn.004037b0
push eax
lea eax, [ebp - 0x47c]
push eax
mov ebx, 0x452664
mov byte [ebp - 4], 1
call fcn.00406e80
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [eax]
lea esi, [ebp - 0x474]
call fcn.00421c70
mov esi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x47c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410f99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x478]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4110b5
mov esi, dword [ebp + 0x10]
cmp dword [ebp - 0x14], 0
je 0x411052
mov eax, dword [ebp - 0x474]
shr eax, 4
and eax, 1
je 0x41100f
cmp word [ebp - 0x448], 0x2e
jne 0x41100f
mov cx, word [ebp - 0x446]
test cx, cx
je 0x41108f
cmp cx, 0x2e
jne 0x41100f
cmp word [ebp - 0x444], 0
je 0x41108f
test eax, eax
je 0x411052
lea ecx, [ebp - 0x478]
push ecx
lea ebx, [ebp - 0x474]
call fcn.00421aa0
push esi
mov byte [ebp - 4], 3
mov eax, dword [eax]
push edi
push eax
call fcn.00410ef0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x478]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x411083
lea ecx, [ebp - 0x47c]
push ecx
lea ebx, [ebp - 0x474]
call fcn.00421aa0
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x47c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41108f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4110b8
cmp dword [ebp - 0x14], 0
je 0x4110b8
lea ecx, [ebp - 0x474]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x410fcd
mov eax, dword [ebp - 0x18]
test edi, edi
je 0x4110e9
mov edx, dword [ebp - 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4110e5
cmp eax, 0xffffffff
je 0x4110e5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
jmp 0x411105
mov dword [ebp - 0x14], 0
test eax, eax
je 0x411100
cmp eax, 0xffffffff
je 0x411100
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d4af
mov esp, ebp
pop ebp
ret