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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f0da
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f8], ecx
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2fc], ebx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x4432a9
xor ecx, ecx
jmp 0x4432bf
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4432b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004051a0
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmp edx, 8
mov esi, dword [ebp - 0x40]
cmovae ecx, esi
mov byte [ebp - 4], 1
lea edi, [eax + eax]
cmp word [edi + ecx - 2], 0x5c
jne 0x443300
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, esi
xor ecx, ecx
mov word [edi + eax - 2], cx
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 0x10
je 0x443680
push str..
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00438370
add esp, 0xc
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov edi, dword [ebp - 0x2f8]
mov dword [ebp - 0x300], eax
cmp eax, 0xffffffff
je 0x443668
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [ebp - 0x2c4], ax
jne 0x443391
xor ecx, ecx
jmp 0x4433af
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4433a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x70]
call fcn.004051a0
push 1
push 0x516c70
push dword [ebp - 0x60]
or ebx, 1
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2fc], ebx
call fcn.00408610
test eax, eax
je 0x443460
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [ebp - 0x2c4], ax
jne 0x443409
xor ecx, ecx
jmp 0x443421
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443412
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x58]
call fcn.004051a0
push 2
push 0x51d3f4
push dword [ebp - 0x48]
or ebx, 2
mov dword [ebp - 4], 4
push 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2fc], ebx
call fcn.00408610
mov byte [ebp - 0x2f1], 1
test eax, eax
jne 0x443467
mov byte [ebp - 0x2f1], 0
test bl, 2
je 0x443498
mov eax, dword [ebp - 0x44]
and ebx, 0xfffffffd
cmp eax, 8
jb 0x443484
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 2
test bl, 1
je 0x4434bc
mov eax, dword [ebp - 0x5c]
and ebx, 0xfffffffe
cmp eax, 8
jb 0x4434bc
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004052a0
cmp byte [ebp - 0x2f1], 0
je 0x443647
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [ebp - 0x2c4], ax
jne 0x4434ea
xor ecx, ecx
jmp 0x443502
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4434f3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x70]
call fcn.004051a0
push 0x518b40
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00438370
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00438300
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x44357b
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x44355e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404990
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x443590
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4435bf
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4435ef
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004052a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 1
je 0x44361b
and eax, 0xfffffffe
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test byte [ebp - 0x2f0], 0x10
lea eax, [ebp - 0x28]
mov ecx, edi
je 0x443639
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00443240
jmp 0x443647
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00442eb0
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x443370
mov eax, dword [ebp - 0x300]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00495b40
jmp 0x443686
mov edi, dword [ebp - 0x2f8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, edi
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00442eb0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4436ae
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4436d7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004052a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 4