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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4a48
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4c9100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x2a0], edi
mov esi, ecx
mov dword [ebp - 0x2a4], esi
call fcn.0042b850
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 2
jb 0x42bfcf
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42ba5f
mov eax, dword [esi]
push 2
push 0x4bf438
push ecx
push eax
push ecx
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x48]
call fcn.0042a7e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x298]
cmp dword [ebp - 0x34], 7
lea eax, [ebp - 0x48]
push ecx
cmova eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x2a8], eax
cmp eax, 0xffffffff
je 0x42bf7e
nop word [eax + eax]
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42bfcf
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42bada
mov eax, dword [esi]
push 1
push 0x4bf434
push ecx
push eax
push ecx
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x2dc]
call fcn.0042a7e0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bb02
sub ecx, edx
lea eax, [ebp - 0x26c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2dc]
call fcn.0042d950
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c8]
cmp ecx, 7
jbe 0x42bba1
mov edx, dword [ebp - 0x2dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bb97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bfd4
push ecx
push edx
call fcn.004615bb
add esp, 8
mov ecx, dword [ebp - 0x298]
xor eax, eax
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 7
mov word [ebp - 0x2dc], ax
test cl, 0x10
je 0x42bd4f
mov ecx, 0x4bf440
lea eax, [ebp - 0x26c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42bbfe
test dx, dx
je 0x42bbfa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42bbfe
add eax, 4
add ecx, 4
test dx, dx
jne 0x42bbd8
xor eax, eax
jmp 0x42bc03
sbb eax, eax
or eax, 1
test eax, eax
je 0x42bd08
mov ecx, 0x4bf448
lea eax, [ebp - 0x26c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42bc3c
test dx, dx
je 0x42bc38
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42bc3c
add eax, 4
add ecx, 4
test dx, dx
jne 0x42bc16
xor eax, eax
jmp 0x42bc41
sbb eax, eax
or eax, 1
test eax, eax
je 0x42bd08
xorps xmm0, xmm0
mov dword [ebp - 0x2b0], 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x2ac], 0
movups xmmword [ebp - 0x2c0], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bc70
sub ecx, edx
lea eax, [ebp - 0x26c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00429760
lea eax, [ebp - 0x2c0]
mov edx, 0x4deb78
push eax
mov ecx, 0x4de8d8
call fcn.0042ab00
mov ecx, dword [ebp - 0x2ac]
add esp, 4
mov esi, eax
cmp ecx, 7
jbe 0x42bced
mov edx, dword [ebp - 0x2c0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bce3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bfd4
push ecx
push edx
call fcn.004615bb
add esp, 8
cmp esi, 0x4deb78
jne 0x42bf13
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0042ba00
jmp 0x42bf13
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x42bf57
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bd40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bfd4
push ecx
push edx
call fcn.004615bb
add esp, 8
jmp 0x42bf57
test cl, 1
je 0x42bd6a
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xorps xmm0, xmm0
mov dword [ebp - 0x2b0], 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x2ac], 0
movups xmmword [ebp - 0x2c0], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bd91
sub ecx, edx
lea eax, [ebp - 0x26c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00429760
lea eax, [ebp - 0x2c0]
mov edx, 0x4dec20
push eax
mov ecx, 0x4deb78
call fcn.0042ab00
mov ecx, dword [ebp - 0x2ac]
add esp, 4
mov esi, eax
cmp ecx, 7
jbe 0x42be0e
mov edx, dword [ebp - 0x2c0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42be04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bfd4
push ecx
push edx
call fcn.004615bb
add esp, 8
cmp esi, 0x4dec20
jne 0x42bf13
xorps xmm0, xmm0
add edi, 0x20
movlpd qword [ebp - 0x30], xmm0
push edi
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x2c], 0
call fcn.004635ab
add esp, 4
test eax, eax
jne 0x42bfe4
mov eax, dword [edi + 0x2c]
cmp eax, 0x7fffffff
je 0x42bfd9
mov byte [ebp - 0x2c], 1
mov esi, dword [ebp - 0x2a0]
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x1c]
inc eax
cmp dword [esi + 0x14], eax
ja 0x42be6b
push ecx
lea ecx, [esi + 0xc]
call fcn.0042d560
mov ecx, dword [esi + 0x14]
lea eax, [ecx - 1]
and dword [esi + 0x18], eax
lea eax, [ecx - 1]
mov edx, dword [esi + 0x1c]
add edx, dword [esi + 0x18]
and eax, edx
mov dword [ebp - 0x29c], edx
lea ecx, [eax*4]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2c4], ecx
cmp dword [ecx + eax], 0
jne 0x42beb7
push 0x18
call fcn.0046158b
mov edx, dword [ebp - 0x2c4]
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [edx + ecx], eax
mov edx, dword [ebp - 0x29c]
mov ecx, dword [esi + 0x14]
xorps xmm0, xmm0
mov eax, dword [esi + 0x10]
dec ecx
and ecx, edx
push edi
mov eax, dword [eax + ecx*4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
inc dword [esi + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004635bc
mov edi, esi
lea eax, [edi + 0x50]
push eax
call fcn.0046344b
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x42bf51
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bf47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bfd4
push ecx
push edx
call fcn.004615bb
add esp, 8
mov esi, dword [ebp - 0x2a4]
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2a8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x42bab0
push dword [ebp - 0x2a8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x42bfb4
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bfaa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bfd4
push ecx
push edx
call fcn.004615bb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046157d
mov esp, ebp
pop ebp
ret
call fcn.00422c60
call fcn.0048347f
dec eax
push 6
mov dword [edi + 0x2c], eax
call fcn.00463576
push 5
call fcn.00463576
int3