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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be1cc
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
push str.DeleteFolder__s_...
call fcn.00412320
push 0x24c
lea eax, [ebp - 0x25c]
push 0
push eax
mov dword [ebp - 0x260], 0
call fcn.0047e610
add esp, 0x14
push esi
lea ecx, [ebp - 0x26c]
call fcn.00402008
push 0x4cf28c
push eax
lea ecx, [ebp - 0x27c]
push ecx
mov dword [ebp - 4], 0
call fcn.0040338d
mov eax, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x260]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
mov dword [ebp - 0x268], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xffffffff
je 0x4193bb
mov ebx, 4
jmp 0x4191f0
mov ecx, 0x4cf288
lea eax, [ebp - 0x234]
jmp 0x419200
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419224
test dx, dx
je 0x419220
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419224
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x419200
xor eax, eax
jmp 0x419229
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x419399
mov ecx, 0x4cf280
lea eax, [ebp - 0x234]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419264
test dx, dx
je 0x419260
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419264
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x419240
xor eax, eax
jmp 0x419269
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x419399
push esi
lea ecx, [ebp - 0x270]
call fcn.00402008
push 0x4cefbc
push eax
lea ecx, [ebp - 0x278]
push ecx
mov dword [ebp - 4], 1
call fcn.0040338d
lea edx, [ebp - 0x234]
push edx
push eax
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 2
call fcn.0040338d
add esp, 0x18
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4192d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4192fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [ebp - 0x260], 0x10
je 0x419316
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.004190f0
add esp, 4
jmp 0x419370
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.toDel
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x274]
push ecx
call fcn.0040338d
mov eax, dword [eax]
mov edx, dword [ebp - 0x264]
add esp, 0xc
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419370
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419399
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4191f0
mov ebx, dword [ebp - 0x268]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e4d2
mov esp, ebp
pop ebp
ret