Function at 0x412990
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c110b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x210], ecx
lea ecx, [ebp - 0x40]
call fcn.00404670
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404fd0
mov byte [ebp - 4], 1
push 0x4c5d6c
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00403620
add esp, 0xc
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
push eax
lea ecx, [ebp - 0x40]
call fcn.004030c0
lea ecx, [ebp - 0x88]
call fcn.004048f0
lea ecx, [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00404660
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 0xffffffff
je 0x412c8c
lea edx, [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x1f4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
jne 0x412a69
jmp 0x412c8c
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x1b4]
cmp eax, 0x2e
jne 0x412a80
jmp 0x412a34
mov ecx, 1
shl ecx, 0
movsx edx, byte [ebp + ecx - 0x1b4]
test edx, edx
jne 0x412a96
jmp 0x412a34
mov eax, 1
shl eax, 0
movsx ecx, byte [ebp + eax - 0x1b4]
cmp ecx, 0x2e
jne 0x412ac3
mov edx, 1
shl edx, 1
movsx eax, byte [ebp + edx - 0x1b4]
test eax, eax
jne 0x412ac3
jmp 0x412a34
mov ecx, dword [ebp - 0x1e0]
and ecx, 0x10
je 0x412b52
push 0x4c5d70
lea edx, [ebp - 0x1b4]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00403620
add esp, 0xc
mov dword [ebp - 0x208], eax
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00403700
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.004048f0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x70]
call fcn.00404660
push eax
mov ecx, dword [ebp - 0x210]
call fcn.00412990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004048f0
jmp 0x412c87
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00403620
add esp, 0xc
mov byte [ebp - 4], 5
call fcn.0040e730
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x58]
call fcn.00404660
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
jne 0x412b9e
mov dword [ebp - 0x1fc], 0
jmp 0x412c56
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x1e8]
mov al, byte [edx]
mov byte [ebp - 0x1e1], al
add dword [ebp - 0x1e8], 1
cmp byte [ebp - 0x1e1], 0
jne 0x412bb9
mov ecx, dword [ebp - 0x1e8]
sub ecx, dword [ebp - 0x214]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x1ec], edx
cmp dword [ebp - 0x1ec], 0x3fffffff
jle 0x412c10
mov dword [ebp - 0x1f8], 0
jmp 0x412c4a
mov eax, dword [ebp - 0x1ec]
shl eax, 1
call fcn.00464660
mov dword [ebp - 0x220], esp
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x1ec]
push ecx
mov edx, dword [ebp - 0x1f0]
push edx
mov eax, dword [ebp - 0x220]
push eax
call fcn.00411e90
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x1fc]
push edx
call fcn.004018a0
add esp, 4
test eax, eax
jne 0x412c7b
cmp dword [ebp + 0xc], 0
je 0x412c7b
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004054f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004048f0
jmp 0x412a34
mov ecx, dword [ebp - 0x1f4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.00404660
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x412ccb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004048f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004048f0
jmp 0x412cf9
push 4
push 0
lea ecx, [ebp - 0x28]
call fcn.00404660
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004048f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004048f0
lea esp, [ebp - 0x224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret 8