Function at 0x439600
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 0x439669
xor ecx, ecx
jmp 0x43967f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439670
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 0x4396c0
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 0x439a40
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 0x439a28
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 0x439751
xor ecx, ecx
jmp 0x43976f
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439760
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 0x439820
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [ebp - 0x2c4], ax
jne 0x4397c9
xor ecx, ecx
jmp 0x4397e1
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4397d2
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 0x439827
mov byte [ebp - 0x2f1], 0
test bl, 2
je 0x439858
mov eax, dword [ebp - 0x44]
and ebx, 0xfffffffd
cmp eax, 8
jb 0x439844
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 0x43987c
mov eax, dword [ebp - 0x5c]
and ebx, 0xfffffffe
cmp eax, 8
jb 0x43987c
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004052a0
cmp byte [ebp - 0x2f1], 0
je 0x439a07
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [ebp - 0x2c4], ax
jne 0x4398aa
xor ecx, ecx
jmp 0x4398c2
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4398b3
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 0x43993b
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43991e
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 0x439950
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 0x43997f
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 0x4399af
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 0x4399db
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 0x4399f9
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00439600
jmp 0x439a07
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00439190
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x439730
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 0x439a46
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.00439190
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x439a6e
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 0x439a97
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