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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58beed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d0
mov eax, dword [0x5ce104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x454], xmm0
mov dword [ebp - 0x444], 0
push 8
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
call fcn.00522354
add esp, 4
mov dword [ebp - 0x454], eax
test eax, eax
je 0x4e2181
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x454]
lea ecx, [ebp - 0x454]
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x468], xmm0
mov dword [ebp - 0x458], 0
push 8
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
call fcn.00522354
add esp, 4
mov dword [ebp - 0x468], eax
test eax, eax
je 0x4e21fd
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x468]
lea ecx, [ebp - 0x468]
mov dword [eax], ecx
cmp dword [ebx + 0xc], 0
mov byte [ebp - 4], 1
jne 0x4e2253
push esi
lea ecx, [ebp - 0x6d0]
call fcn.0041c010
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x468]
call fcn.004e5860
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x4e2253
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.0041fce0
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
cmp word [esi], ax
jne 0x4e2279
xor ecx, ecx
jmp 0x4e228f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e2280
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x440]
call fcn.0041d550
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x454]
call fcn.004e5860
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4e22d4
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.0041fce0
cmp dword [ebp - 0x444], 0
je 0x4e265b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop word [eax + eax]
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x454]
call fcn.004e6020
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x4e230e
xor eax, eax
jmp 0x4e2310
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 - 0x440], cx
lea ecx, [ebp - 0x440]
push eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
call fcn.0041eb00
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x450]
dec ecx
and ecx, dword [ebp - 0x448]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4e23b5
mov ecx, dword [esi]
inc eax
cmp eax, 0x7fffffff
ja 0x4e268c
add eax, eax
cmp eax, 0x1000
jb 0x4e23ac
test cl, 0x1f
jne 0x4e268c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4e268c
sub ecx, eax
cmp ecx, 4
jb 0x4e268c
cmp ecx, 0x23
ja 0x4e268c
mov ecx, eax
push ecx
call fcn.005221dc
add esp, 4
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4e23cb
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x444], 1
jne 0x4e23e1
mov dword [ebp - 0x448], eax
jmp 0x4e23e7
inc dword [ebp - 0x448]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00526bd0
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push 0x5a3e0c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x428]
push 0x5aaf20
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.00526bd0
add esp, 0xc
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4e24d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4e264e
mov ecx, dword [ebp - 0x440]
inc eax
cmp eax, 0x7fffffff
ja 0x4e268c
add eax, eax
cmp eax, 0x1000
jb 0x4e24bf
test cl, 0x1f
jne 0x4e268c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4e268c
sub ecx, eax
cmp ecx, 4
jb 0x4e268c
cmp ecx, 0x23
ja 0x4e268c
mov ecx, eax
push ecx
call fcn.005221dc
add esp, 4
jmp 0x4e264e
cmp word [ebp - 0x68c], 0x2e
je 0x4e260f
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00526bd0
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x68c]
push ecx
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x220]
push 0x5ad48c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
test byte [ebp - 0x6b8], 0x10
je 0x4e2606
xor eax, eax
mov dword [ebp - 0x6bc], 7
mov dword [ebp - 0x6c0], 0
mov word [ebp - 0x6d0], ax
cmp word [ebp - 0x220], ax
je 0x4e256f
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e2560
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.0041d550
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x454]
call fcn.004e5860
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x4e25ba
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.0041fce0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.0041c010
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x468]
call fcn.004e5860
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x4e260f
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.0041fce0
jmp 0x4e260f
lea eax, [ebp - 0x220]
push eax
call edi
lea eax, [ebp - 0x6b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e24d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4e264e
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.0041fce0
cmp dword [ebp - 0x444], 0
jne 0x4e22f0
cmp dword [ebp - 0x458], 0
je 0x4e2719
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x468]
call fcn.004e6020
mov edx, eax
mov eax, dword [edx]
test eax, eax
jne 0x4e2691
jmp 0x4e2693
call fcn.00531451
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 - 0x440], cx
lea ecx, [ebp - 0x440]
push eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
call fcn.0041eb00
lea ecx, [ebp - 0x468]
call fcn.004e5010
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
call esi
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4e270c
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.0041fce0
cmp dword [ebp - 0x458], 0
jne 0x4e2670
lea ecx, [ebp - 0x468]
call fcn.004e55b0
push 8
push 1
push dword [ebp - 0x468]
call fcn.00407c70
add esp, 0xc
mov dword [ebp - 0x468], 0
lea ecx, [ebp - 0x454]
call fcn.004e55b0
push 8
push 1
push dword [ebp - 0x454]
call fcn.00407c70
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00522a9a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc