Function at 0x1061f8b
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x538
mov eax, dword [0x1099a38]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x528], eax
mov eax, dword [ebp + 0x1c]
xor edi, edi
cmp dword [ebp + 0x28], edi
mov dword [ebp - 0x508], esi
mov dword [ebp - 0x514], eax
mov byte [ebp - 0x130], 0
jne 0x1061ffd
cmp dword [ebp + 0x24], edi
mov eax, 0x101fe54
jne 0x1061fe2
mov eax, 0x1009220
push eax
push esi
push 0x1020030
call fcn.010430af
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x534], eax
cmp dword [ebp + 0x10], edi
jne 0x1062009
mov dword [ebp + 0x10], 1
mov dword [ebp - 0x510], edi
lea edi, [ebp - 0x234]
sub edi, esi
mov eax, esi
mov dword [ebp - 0x524], edi
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x106201f
lea eax, [ebp - 0x234]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1062032
sub eax, ecx
lea esi, [ebp + eax - 0x234]
lea eax, [ebp - 0x4fc]
push eax
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x520], esi
mov word [esi], 0x2a
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x504], eax
je 0x106255f
call fcn.0103c20b
test eax, eax
jne 0x10626a6
test byte [ebp - 0x4fc], 0x10
jne 0x1062504
lea eax, [ebp - 0x4d0]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1062096
push esi
call dword [sym.imp.msvcrt.dll__mbslwr]
and dword [ebp - 0x52c], 0
pop ecx
push esi
push dword [ebp - 0x528]
call fcn.0107e305
test eax, eax
mov dword [ebp - 0x50c], eax
jne 0x10620e9
push esi
push dword [ebp - 0x514]
mov dword [ebp - 0x52c], 1
call fcn.0107e305
test eax, eax
mov dword [ebp - 0x50c], eax
je 0x1062504
mov eax, dword [eax + 0x10]
test eax, eax
mov dword [ebp - 0x500], eax
je 0x1062504
call fcn.0103c20b
test eax, eax
jne 0x1062559
push dword [ebp - 0x500]
call fcn.01042ec7
test eax, eax
je 0x10624e7
mov eax, dword [ebp - 0x508]
lea edx, [ebp - 0x344]
sub edx, eax
mov dword [ebp - 0x538], edx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x106212e
lea eax, [ebp - 0x344]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1062141
mov edi, dword [ebp - 0x50c]
sub eax, ecx
mov ecx, dword [edi + 0xc]
mov ebx, 0x3fffffff
lea esi, [ebp + eax - 0x344]
and ecx, ebx
lea eax, [edi + 0x14]
push ecx
push eax
push esi
mov dword [ebp - 0x530], eax
call dword [sym.imp.msvcrt.dll_strncpy]
mov eax, dword [edi + 0xc]
and eax, ebx
mov byte [eax + esi], 0
mov eax, dword [ebp - 0x500]
mov ebx, dword [eax + 0x60]
add esp, 0xc
test ebx, ebx
je 0x10621ca
lea esi, [ebp - 0x344]
lea edi, [ebx + 0x78]
mov cl, byte [edi]
mov al, cl
cmp cl, byte [esi]
jne 0x10621b7
test al, al
je 0x10621b3
mov cl, byte [edi + 1]
mov al, cl
cmp cl, byte [esi + 1]
jne 0x10621b7
inc edi
inc edi
inc esi
inc esi
test al, al
jne 0x1062195
xor eax, eax
jmp 0x10621bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10621c6
mov ebx, dword [ebx]
test ebx, ebx
jne 0x106218c
test ebx, ebx
jne 0x10621ec
push 0x1e
xor eax, eax
cmp dword [ebp - 0x52c], eax
pop ecx
lea edi, [ebp - 0x3bc]
rep stosd dword es:[edi], eax
lea ebx, [ebp - 0x3bc]
je 0x10621ec
or dword [ebp - 0x3b0], 0x10
push ebx
call fcn.01042dec
or eax, edx
je 0x106224a
mov eax, dword [ebp - 0x500]
mov edi, dword [eax + 0x60]
test edi, edi
je 0x106224a
cmp edi, ebx
je 0x106223c
cmp dword [edi + 0x20], 2
jne 0x106223c
push edi
call fcn.01042dec
mov ecx, dword [ebx + 0x6c]
cmp edx, ecx
mov esi, dword [ebx + 0x68]
jb 0x1062229
ja 0x1062223
cmp eax, esi
jbe 0x1062229
sub eax, esi
sbb edx, ecx
jmp 0x1062231
sub esi, eax
sbb ecx, edx
mov eax, esi
mov edx, ecx
test edx, edx
ja 0x106223c
cmp eax, 0x23c34600
jb 0x1062242
mov edi, dword [edi]
test edi, edi
jne 0x1062203
test edi, edi
jne 0x10624e7
test byte [ebx + 0xc], 0x10
je 0x10622b4
lea eax, [ebp - 0x3bc]
cmp ebx, eax
jne 0x10622b4
cmp byte [ebp - 0x130], 0
jne 0x106229f
push 0x104
lea eax, [ebp - 0x130]
push eax
push 0x1020020
push 0x10c6040
call fcn.01070fc9
mov eax, dword [ebp - 0x500]
push dword [eax + 0x70]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebx + 0x78]
push eax
call fcn.0104961c
test eax, eax
je 0x10624fe
xor eax, eax
mov cl, byte [ebp + eax - 0x130]
mov byte [ebp + eax - 0x344], cl
inc eax
test cl, cl
jne 0x10622a1
push 0x28
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x51c]
push ebx
push dword [ebp - 0x500]
call fcn.01042f03
cmp eax, 1
mov dword [ebp - 0x518], eax
je 0x10622e0
cmp eax, 2
jne 0x10624e7
lea eax, [ebp - 0x3bc]
cmp ebx, eax
jne 0x10623b4
mov eax, dword [ebp - 0x508]
mov cl, byte [eax]
mov edx, dword [ebp - 0x538]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10622f4
lea eax, [ebp - 0x344]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x106230d
mov ebx, dword [ebp - 0x50c]
sub eax, ecx
lea edi, [ebp + eax - 0x344]
mov eax, dword [ebx + 0xc]
mov esi, 0x3fffffff
and eax, esi
push eax
push dword [ebp - 0x530]
push edi
call dword [sym.imp.msvcrt.dll_strncpy]
mov eax, dword [ebx + 0xc]
add esp, 0xc
and eax, esi
mov byte [eax + edi], 0
lea eax, [ebp - 0x344]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1062350
sub eax, ecx
mov ecx, dword [0x109a5bc]
lea edx, [eax + 0x80]
call fcn.0106e037
mov ebx, eax
test ebx, ebx
je 0x10623b4
push 0x20
pop ecx
lea esi, [ebp - 0x3bc]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x344]
mov edx, eax
mov ecx, ebx
sub ecx, edx
lea edx, [ecx + 0x78]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x106238c
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax + 0x60]
mov dword [ebx], ecx
mov dword [eax + 0x60], ebx
or dword [ebx + 0xc], 4
test byte [ebx + 0xc], 0x10
je 0x10623b4
mov eax, dword [eax + 0x70]
mov dword [ebx + 0x54], eax
cmp dword [ebp - 0x518], 2
jne 0x10623f2
test ebx, ebx
je 0x10624e7
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.01042b65
test eax, eax
jne 0x10624e7
push 0x101ffd0
call fcn.01071aad
push 0xe
call fcn.010362fc
mov dword [0x10c65d0], 1
cmp dword [ebp - 0x518], 1
jne 0x10624e7
test ebx, ebx
je 0x10624e7
cmp byte [ebp - 0x130], 0
je 0x10624e7
mov edi, dword [ebp - 0x500]
lea esi, [edi + 0x17c]
push esi
push 0x101fe9c
call fcn.010430af
pop ecx
pop ecx
push 0x104
lea eax, [ebp - 0x344]
push eax
push esi
push 0x10c6040
call fcn.01070fc9
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x130]
push eax
call esi
test eax, eax
jne 0x10624c8
lea eax, [ebp - 0x344]
push eax
call fcn.010300d2
test eax, eax
je 0x1062486
push 0
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x130]
push eax
call esi
test eax, eax
jne 0x10624c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x130]
push eax
push 0x101fe64
call fcn.01071ac0
add esp, 0x10
cmp esi, 0x70
mov dword [ebx + 0x1c], 1
jne 0x10624e7
push esi
call fcn.010362fc
mov dword [0x10c65d0], 1
jmp 0x10624e7
cmp dword [0x109a02c], 0
je 0x10624e0
push dword [edi + 0x28]
lea eax, [ebp - 0x344]
push eax
call fcn.01044ba8
mov dword [edi + 0x18], 2
mov eax, dword [ebp - 0x500]
mov eax, dword [eax + 8]
test eax, eax
mov dword [ebp - 0x500], eax
jne 0x10620fa
mov esi, dword [ebp - 0x520]
cmp byte [ebp - 0x130], 0
je 0x1062521
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x130], 0
mov eax, dword [ebp - 0x510]
cmp eax, dword [ebp + 0x20]
jae 0x1062532
inc dword [ebp - 0x510]
lea eax, [ebp - 0x4fc]
push eax
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1062070
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x524]
call fcn.0103c20b
test eax, eax
jne 0x10626a6
cmp dword [ebp + 0x24], eax
je 0x1062687
mov eax, dword [ebp - 0x508]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x106257b
lea eax, [ebp - 0x234]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x106258e
sub eax, edx
lea ebx, [ebp + eax - 0x234]
lea eax, [ebp - 0x4fc]
push eax
lea eax, [ebp - 0x234]
push eax
mov word [ebx], 0x2a
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x504], eax
je 0x1062687
test byte [ebp - 0x4fc], 0x10
je 0x1062660
push 2
mov edi, 0x1016328
lea esi, [ebp - 0x4d0]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1062660
push 3
mov edi, 0x1016324
lea esi, [ebp - 0x4d0]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1062660
lea eax, [ebp - 0x4d0]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1062607
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1062614
mov esi, 0x10094ec
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.msvcrt.dll__mbslwr]
pop ecx
push 1
push dword [ebp + 0x24]
lea eax, [ebp - 0x234]
push dword [ebp + 0x20]
push dword [ebp - 0x514]
push dword [ebp - 0x528]
push dword [ebp - 0x51c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.01061f8b
call fcn.0103c20b
test eax, eax
jne 0x106267b
lea eax, [ebp - 0x4fc]
push eax
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10625c6
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x28], 0
jne 0x10626a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x534]
push eax
push 0x101ffa4
call fcn.010430af
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0106bc50
leave
ret 0x24