Function at 0x4da550
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 0x58364d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d0
mov eax, dword [0x5c4104]
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.0051aa14
add esp, 4
mov dword [ebp - 0x454], eax
test eax, eax
je 0x4da601
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.0051aa14
add esp, 4
mov dword [ebp - 0x468], eax
test eax, eax
je 0x4da67d
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 0x4da6d3
push esi
lea ecx, [ebp - 0x6d0]
call fcn.0041b4a0
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x468]
call fcn.004ddce0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x4da6d3
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.0041ecb0
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
cmp word [esi], ax
jne 0x4da6f9
xor ecx, ecx
jmp 0x4da70f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4da700
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x440]
call fcn.0041c830
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x454]
call fcn.004ddce0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4da754
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.0041ecb0
cmp dword [ebp - 0x444], 0
je 0x4daadb
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop word [eax + eax]
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x454]
call fcn.004de4a0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x4da78e
xor eax, eax
jmp 0x4da790
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.0041dbd0
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 0x4da835
mov ecx, dword [esi]
inc eax
cmp eax, 0x7fffffff
ja 0x4dab0c
add eax, eax
cmp eax, 0x1000
jb 0x4da82c
test cl, 0x1f
jne 0x4dab0c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4dab0c
sub ecx, eax
cmp ecx, 4
jb 0x4dab0c
cmp ecx, 0x23
ja 0x4dab0c
mov ecx, eax
push ecx
call fcn.0051a89c
add esp, 4
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4da84b
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x444], 1
jne 0x4da861
mov dword [ebp - 0x448], eax
jmp 0x4da867
inc dword [ebp - 0x448]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0051f290
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push 0x59aeec
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x428]
push 0x5a053c
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.0051f290
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 0x4da950
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4daace
mov ecx, dword [ebp - 0x440]
inc eax
cmp eax, 0x7fffffff
ja 0x4dab0c
add eax, eax
cmp eax, 0x1000
jb 0x4da93f
test cl, 0x1f
jne 0x4dab0c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4dab0c
sub ecx, eax
cmp ecx, 4
jb 0x4dab0c
cmp ecx, 0x23
ja 0x4dab0c
mov ecx, eax
push ecx
call fcn.0051a89c
add esp, 4
jmp 0x4daace
cmp word [ebp - 0x68c], 0x2e
je 0x4daa8f
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0051f290
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 0x5a45e4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
test byte [ebp - 0x6b8], 0x10
je 0x4daa86
xor eax, eax
mov dword [ebp - 0x6bc], 7
mov dword [ebp - 0x6c0], 0
mov word [ebp - 0x6d0], ax
cmp word [ebp - 0x220], ax
je 0x4da9ef
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4da9e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.0041c830
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x454]
call fcn.004ddce0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x4daa3a
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.0041ecb0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.0041b4a0
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x468]
call fcn.004ddce0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x4daa8f
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.0041ecb0
jmp 0x4daa8f
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 0x4da950
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4daace
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.0041ecb0
cmp dword [ebp - 0x444], 0
jne 0x4da770
cmp dword [ebp - 0x458], 0
je 0x4dab99
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x468]
call fcn.004de4a0
mov edx, eax
mov eax, dword [edx]
test eax, eax
jne 0x4dab11
jmp 0x4dab13
call fcn.00529b11
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.0041dbd0
lea ecx, [ebp - 0x468]
call fcn.004dd490
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 0x4dab8c
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.0041ecb0
cmp dword [ebp - 0x458], 0
jne 0x4daaf0
lea ecx, [ebp - 0x468]
call fcn.004dda30
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.004dda30
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.0051b15a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc