Function at 0x41a4a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43c35d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov eax, dword [0x449a98]
push ebp
push esi
mov dword [esp + 0x168], eax
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x174], 0
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x174], 1
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edx, [eax + 0x10]
mov dword [esp + 8], edx
mov ebp, dword [esp + 0x17c]
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [esp + 0x174], 2
jne 0x41a57e
lea eax, [edx - 0x10]
mov byte [esp + 0x174], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a550
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x174], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a576
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
jmp 0x41a690
lea edx, [eax - 1]
test edx, edx
jl 0x41a9d8
cmp edx, eax
jg 0x41a9d8
mov cl, byte [ecx + edx]
cmp cl, 0x5c
jne 0x41a5a5
push ebp
lea ecx, [esp + 0x14]
call fcn.00405420
jmp 0x41a5f0
push 0x43d874
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.00405580
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 3
call fcn.00405420
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x174], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a5f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x43d940
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00405580
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x18], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a639
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, 0xffffffff
jne 0x41a6b9
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x174], 1
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a663
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x174], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a689
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x174], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a6b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x41a93f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov bl, 4
lea esp, [esp]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
call fcn.00406d20
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x188], bl
call fcn.00405580
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 5
call fcn.00405420
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x17c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a733
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x160]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a740
sub eax, edx
mov dword [esp + 0x2c], eax
je 0x41a7a2
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00405580
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 6
call fcn.00405420
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x17c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a7ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41a7ab
lea ecx, [esp + 0x10]
call fcn.00403010
mov eax, dword [esp + 0x1c]
push 0x43d970
push eax
call fcn.00422239
add esp, 8
test eax, eax
je 0x41a832
mov ecx, dword [esp + 0x1c]
push 0x43d96c
push ecx
call fcn.00422239
add esp, 8
test eax, eax
je 0x41a832
test byte [esp + 0x30], 0x10
je 0x41a805
lea edx, [esp + 0x14]
push edx
call fcn.0041a4a0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add esp, 4
test ecx, ecx
je 0x41a832
lea ecx, [esp + 0x10]
push ecx
call fcn.0041a4a0
add esp, 4
jmp 0x41a832
mov edx, dword [esp + 0x14]
push 0x80
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x41a832
push 0x80
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41a875
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a6d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41a6d0
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebx, 0xffffffff
mov byte [esp + 0x17c], 2
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call esi
test eax, eax
jne 0x41a962
mov eax, dword [ebp]
push 0x80
push eax
call edi
mov eax, dword [ebp]
push eax
call esi
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 1
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a919
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x17c], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41a93b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x16c]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x164]
pop ebp
call fcn.0042193c
add esp, 0x170
ret
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 1
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a987
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a9ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x17c], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41a9ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x41a93d
push 0x80070057
call fcn.00401120
int3