Function at 0x492a70
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x6cc
mov eax, dword [0x505070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x460], xmm0
mov dword [ebp - 0x450], 0
push 8
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
call fcn.0049f1e8
add esp, 4
mov dword [ebp - 0x460], eax
test eax, eax
je 0x492b0d
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x460]
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44c], xmm0
mov dword [ebp - 0x43c], 0
push 8
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
call fcn.0049f1e8
add esp, 4
mov dword [ebp - 0x44c], eax
test eax, eax
je 0x492b89
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x44c]
lea ecx, [ebp - 0x44c]
mov dword [eax], ecx
push esi
lea ecx, [ebp - 0x6c8]
mov byte [ebp - 4], 1
call fcn.00407fb0
lea eax, [ebp - 0x6c8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x44c]
call fcn.0040afe0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6b4]
cmp eax, 8
jb 0x492bd9
inc eax
lea ecx, [ebp - 0x6c8]
push eax
push dword [ebp - 0x6c8]
call fcn.00408e40
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [esi], ax
jne 0x492bff
xor ecx, ecx
jmp 0x492c13
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492c04
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x438]
call fcn.00408360
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x460]
call fcn.0040afe0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x492c58
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00408e40
cmp dword [ebp - 0x450], 0
je 0x492f81
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [eax + eax]
lea eax, [ebp - 0x6d8]
push eax
lea ecx, [ebp - 0x460]
call fcn.0040b290
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x492c8e
xor eax, eax
jmp 0x492c90
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x438], cx
lea ecx, [ebp - 0x438]
push eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
call fcn.00408860
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x458]
mov eax, dword [ebp - 0x45c]
dec ecx
and ecx, dword [ebp - 0x454]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x492cf6
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00408e40
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x492d0c
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x450], 1
jne 0x492d22
mov dword [ebp - 0x454], eax
jmp 0x492d28
inc dword [ebp - 0x454]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a1ef0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push 0x4e4b3c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x4e4b44
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b0]
push 0
push eax
call fcn.004a1ef0
add esp, 0xc
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x492f52
nop dword [eax]
cmp word [ebp - 0x684], 0x2e
je 0x492f35
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1ef0
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x684]
push ecx
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push 0x4e4b4c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
test byte [ebp - 0x6b0], 0x10
je 0x492f2c
xor eax, eax
mov dword [ebp - 0x6b4], 7
mov dword [ebp - 0x6b8], 0
mov word [ebp - 0x6c8], ax
cmp word [ebp - 0x218], ax
jne 0x492e39
xor ecx, ecx
jmp 0x492e51
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492e42
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x6c8]
call fcn.00408360
lea eax, [ebp - 0x6c8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x460]
call fcn.0040afe0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6b4]
cmp eax, 8
jb 0x492e9c
inc eax
lea ecx, [ebp - 0x6c8]
push eax
push dword [ebp - 0x6c8]
call fcn.00408e40
xor eax, eax
mov dword [ebp - 0x6b4], 7
mov dword [ebp - 0x6b8], 0
mov word [ebp - 0x6c8], ax
cmp word [ebp - 0x218], ax
je 0x492edf
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492ed0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x6c8]
call fcn.00408360
lea eax, [ebp - 0x6c8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x44c]
call fcn.0040afe0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6b4]
cmp eax, 8
jb 0x492f35
inc eax
lea ecx, [ebp - 0x6c8]
push eax
push dword [ebp - 0x6c8]
call fcn.00408e40
jmp 0x492f35
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x6b0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x492db0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x492f74
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00408e40
cmp dword [ebp - 0x450], 0
jne 0x492c70
cmp dword [ebp - 0x43c], 0
je 0x493092
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x6d8]
push eax
lea ecx, [ebp - 0x44c]
call fcn.0040b290
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x492fbc
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x438], cx
lea ecx, [ebp - 0x438]
push eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
call fcn.00408860
mov ecx, dword [ebp - 0x444]
mov eax, dword [ebp - 0x448]
dec ecx
and ecx, dword [ebp - 0x440]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x49301e
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00408e40
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x493034
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x43c], 1
jne 0x49304a
mov dword [ebp - 0x440], eax
jmp 0x493050
inc dword [ebp - 0x440]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call edi
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x493085
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00408e40
cmp dword [ebp - 0x43c], 0
jne 0x492fa0
lea ecx, [ebp - 0x44c]
call fcn.0040af40
push dword [ebp - 0x44c]
call fcn.0049f1af
add esp, 4
mov dword [ebp - 0x44c], 0
lea ecx, [ebp - 0x460]
call fcn.0040af40
push dword [ebp - 0x460]
call fcn.0049f1af
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 0xc