Function at 0x514a70
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623da0
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x4999c8
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 1
push eax
call fcn.00511760
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x514b62
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x514b2e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x514b24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x514e6b
push edx
push ecx
call fcn.006084e7
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x514b84
inc eax
lea ecx, [ebp - 0x1ac]
push eax
push dword [ebp - 0x1ac]
call fcn.004c84c0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x188], esi
cmp esi, 0xffffffff
je 0x514dbb
cmp byte [ebp - 0x154], 0x2e
je 0x514d60
test edi, edi
je 0x514bff
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x514bff
lea eax, [ebp - 0x154]
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x514bf2
test dl, dl
je 0x514bee
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x514bf2
add ecx, 2
add eax, 2
test dl, dl
jne 0x514bd2
xor eax, eax
jmp 0x514bf7
sbb eax, eax
or eax, 1
test eax, eax
je 0x514d63
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x498e24
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x18c]
mov dword [ebp - 0x30], 0
mov byte [eax], 0
lea eax, [ebp - 0x1c4]
push eax
call fcn.00511760
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 4
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514c40
sub ecx, esi
lea eax, [ebp - 0x154]
push ecx
push eax
mov ecx, edx
call fcn.004c8070
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x2c]
movq qword [ebp - 0x194], xmm1
movups xmmword [ebp - 0x1a4], xmm0
cmp edx, 0x10
jb 0x514cc7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x514cae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x514e6b
push edx
push ecx
call fcn.006084e7
movups xmm0, xmmword [ebp - 0x1a4]
add esp, 8
movq xmm1, qword [ebp - 0x194]
mov edx, dword [ebp - 0x1b0]
movq qword [ebp - 0x30], xmm1
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x40], xmm0
cmp edx, 0x10
jb 0x514d16
mov ecx, dword [ebp - 0x1c4]
inc edx
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x514d08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x514e6b
push edx
push ecx
call fcn.006084e7
add esp, 8
mov byte [ebp - 4], 1
test byte [ebp - 0x180], 0x10
je 0x514d4c
mov esi, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00514a70
add esp, 0xc
test al, al
jne 0x514d63
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x181], 0
jmp 0x514dc2
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.005169e0
add esp, 4
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x514bb2
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x514db2
test esi, esi
je 0x514dbb
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0x14], 0x10
jb 0x514da7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x514dbb
mov byte [ebp - 0x181], 0
jmp 0x514dc2
mov byte [ebp - 0x181], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x514dfa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xe
cmp edx, 0x1000
jb 0x514df0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x514e70
push edx
push ecx
call fcn.006084e7
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x514e4a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov dword [ebp - 4], 0xf
cmp edx, 0x1000
jb 0x514e40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x514e70
push edx
push ecx
call fcn.006084e7
add esp, 8
mov al, byte [ebp - 0x181]
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.00608a00
mov esp, ebp
pop ebp
ret
call fcn.00540ccc
call fcn.00540ccc
int3