Function at 0x1167de35
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x1167e0ff
push esi
call fcn.116e0997
test eax, eax
pop ecx
je 0x1167e0ff
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push ebx
push eax
push esi
mov dword [ebp - 4], ebx
call fcn.11679bdc
add esp, 0x1c
cmp dword [ebp - 4], 0xffffffff
je 0x1167de8c
test byte [ebp - 4], 1
je 0x1167de8c
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1167e0fa
mov ecx, dword [ebp - 4]
and ecx, 0x10
cmp cl, 0x10
jne 0x1167e101
push 0x5c
push esi
call fcn.116e0ec5
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x1167dfe3
inc esi
push str.mails
inc esi
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push str.MailsTemp
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push str.MailsLeave
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push str.files
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push str.WinPatch
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push str.tsdocbak
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push 0x117b58b0
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push 0x117b58a4
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push str.SCDT
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
mov edi, str.Temp_Docerr_
push edi
call fcn.116e0997
push eax
push edi
push esi
call fcn.116e089f
add esp, 0x10
test eax, eax
je 0x1167e0fa
push str.tsdlogonsetting
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push str.tsduserolwarrant
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
push 0x117b5824
push esi
call fcn.116e0da5
pop ecx
test eax, eax
pop ecx
je 0x1167e0fa
mov word [ebp - 0x66c], bx
mov ebx, 0x81
push dword [ebp + 8]
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x66a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x103
push 0x117b5818
lea eax, [ebp - 0x66c]
push esi
push eax
call fcn.116e1000
add esp, 0x10
test eax, eax
jl 0x1167e0ff
and dword [ebp - 0x25c], 0
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x258]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x1167e0fa
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x230]
push 0x117b54ec
push eax
call edi
test eax, eax
je 0x1167e0d3
lea eax, [ebp - 0x230]
push 0x117b54e8
push eax
call edi
test eax, eax
je 0x1167e0d3
and word [ebp - 0x464], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x462]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x464]
push dword [ebp + 8]
push 0x117b01ec
push esi
push eax
call fcn.116e1000
add esp, 0x14
test eax, eax
jl 0x1167e0d3
push dword [ebp + 0x10]
lea eax, [ebp - 0x464]
push dword [ebp + 0xc]
push eax
call fcn.1167de35
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1167e0f1
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1167e058
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 8]
jmp 0x1167e101
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret