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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1d0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x77d2f0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov edi, dword [edx + 0x10]
mov eax, edi
and eax, 0xfffffffc
cmp eax, 0x7ffffffc
je 0x779d9f
mov ebx, dword [edx]
mov eax, dword [edx + 0x14]
lea ecx, [edi + 4]
cmp ecx, 0x10
jb 0x7798b9
mov dword [ebp - 0x24], eax
cmp edi, 0xfffffffc
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ecx
jge 0x7798c5
mov dword [ebp - 0x20], 0x7fffffff
mov eax, 0x80000000
jmp 0x7798e1
mov dword [ebp - 0x20], 0xf
lea esi, [ebp - 0x44]
jmp 0x779925
or ecx, 0xf
cmp ecx, 0x17
mov edx, 0x16
cmovae edx, ecx
lea eax, [edx + 1]
cmp ecx, 0xfff
mov dword [ebp - 0x20], edx
jb 0x779901
add eax, 0x23
mov dword [ebp - 0x10], 5
push eax
call fcn.0091d7fd
add esp, 4
mov esi, eax
add esi, 0x23
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x779913
mov dword [ebp - 0x10], 5
push eax
call fcn.0091d7fd
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], esi
mov edx, dword [ebp + 8]
cmp eax, 0x10
cmovb ebx, edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
push edi
push ebx
push esi
call fcn.00935430
add esp, 0xc
mov dword [esi + edi], 0x2a2e2a5c
mov byte [esi + edi + 4], 0
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x77998d
mov ecx, dword [ebp - 0x88]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x77997c
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x779dab
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
mov dword [ebp - 0x10], 5
movsd xmm0, qword [ebp - 0x34]
movsd qword [ebp - 0x78], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x88], xmm0
cmp dword [ebp - 0x74], 0x10
jb 0x7799b0
mov eax, dword [ebp - 0x88]
jmp 0x7799b6
lea eax, [ebp - 0x88]
mov dword [ebp - 0x10], 5
lea ecx, [ebp - 0x1dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x779cde
mov ecx, dword [ebp + 0x10]
lea ebx, [ebp - 0x1b0]
cmp dword [ebp + 0xc], 0
setne al
test ecx, ecx
sete dl
and dl, al
mov byte [ebp - 0x28], dl
lea eax, [ecx + 1]
mov dword [ebp - 0x8c], eax
nop dword [eax + eax]
cmp byte [ebp - 0x1b0], 0x2e
je 0x779c90
cmp byte [ebp - 0x28], 0
je 0x779a27
push ebx
push dword [ebp + 0xc]
call fcn.00906fa0
add esp, 8
test eax, eax
je 0x779c90
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
jb 0x779a33
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x10]
cmp edi, 0x7fffffff
je 0x779d82
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x2c], edx
lea edx, [edi + 1]
mov dword [ebp - 0x70], 0xf
lea esi, [ebp - 0x44]
cmp edx, 0x10
jb 0x779ae8
mov dword [ebp - 0x60], ecx
cmp edi, 0xffffffff
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x90], edx
jge 0x779a88
mov dword [ebp - 0x70], 0x7fffffff
mov eax, 0x80000000
jmp 0x779aa6
mov ecx, edx
or ecx, 0xf
cmp ecx, 0x17
mov esi, 0x16
cmovae esi, ecx
lea eax, [esi + 1]
cmp ecx, 0xfff
mov dword [ebp - 0x70], esi
jb 0x779ac5
add eax, 0x23
push eax
call fcn.0091d7fd
add esp, 4
lea ebx, [ebp - 0x1b0]
mov esi, eax
add esi, 0x23
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x779ad6
push eax
call fcn.0091d7fd
lea ebx, [ebp - 0x1b0]
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x90]
cmp dword [ebp - 0x2c], 0x10
cmovb ecx, eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
push edi
push ecx
push esi
call fcn.00935430
add esp, 0xc
mov word [esi + edi], 0x5c
push ebx
call fcn.00903f50
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov esi, edx
sub esi, ecx
cmp esi, eax
jae 0x779b50
mov dword [ebp - 0x10], 6
sub esp, 0x10
movzx ecx, byte [ebp - 0x9c]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], eax
lea ecx, [ebp - 0x44]
call fcn.00671270
jmp 0x779b76
mov esi, eax
add esi, ecx
mov dword [ebp - 0x34], esi
lea edi, [ebp - 0x44]
cmp edx, 0x10
jb 0x779b62
mov edi, dword [ebp - 0x44]
add ecx, edi
push eax
push ebx
push ecx
call fcn.00935430
add esp, 0xc
mov byte [edi + esi], 0
lea eax, [ebp - 0x44]
mov esi, dword [eax]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x94], ecx
movsd xmm0, qword [eax + 4]
movsd qword [ebp - 0x9c], xmm0
movsd xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x779be4
mov ecx, dword [ebp - 0x5c]
lea edx, [eax + 1]
cmp edx, 0x1000
movups xmmword [ebp - 0x70], xmm1
jb 0x779bd6
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x779d87
add eax, 0x24
mov edx, eax
mov ecx, edi
push edx
push ecx
call fcn.0091d82d
add esp, 8
movups xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x58]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x9c]
movsd qword [ecx], xmm0
movlps qword [ebp - 0x4c], xmm1
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x779c3b
mov ecx, dword [ebp - 0x44]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x779c31
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x779d93
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
test byte [ebp - 0x1dc], 0x10
mov dword [ebp - 0x10], 5
jne 0x779c70
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
jb 0x779c57
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00779e60
add esp, 4
jmp 0x779c90
push dword [ebp - 0x8c]
push dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
push eax
call fcn.00779820
add esp, 0xc
test al, al
je 0x779d25
nop dword [eax]
lea eax, [ebp - 0x1dc]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ebx, [ebp - 0x1b0]
test eax, eax
jne 0x779a00
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x779d2e
cmp dword [ebp + 0x10], 0
je 0x779cde
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x779cd3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x779d2e
mov bl, 1
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x779d38
mov ecx, dword [ebp - 0x88]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x779d11
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x779db7
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jae 0x779d40
jmp 0x779d6c
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jae 0x779ce8
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x779d6c
mov ecx, dword [ebp - 0x5c]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x779d62
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x779dc3
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x1d0
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0066e300
mov dword [ebp - 0x10], 1
call fcn.00900ce1
mov dword [ebp - 0x10], 2
call fcn.00900ce1
mov dword [ebp - 0x10], 5
call fcn.0066e300
mov dword [ebp - 0x10], 0
call fcn.00900ce1
mov dword [ebp - 0x10], 3
call fcn.00900ce1
mov dword [ebp - 0x10], 4
call fcn.00900ce1
nop
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x44]
call fcn.0066ad50
add esp, 0x10
pop ebp
ret