Function at 0x42dd40
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5baa63
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2e0
mov eax, dword [0x6441a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2f0], edi
mov dword [ebp - 0x2e4], edi
mov dword [ebp - 0x2e4], edi
mov dword [ebp - 4], 0
xor eax, eax
xor esi, esi
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], esi
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 1
cmp dword [ebx + 0x18], eax
jne 0x42de60
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [edi + 8], 0
lea ecx, [ebp - 0x2e0]
call fcn.00437da0
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x42de40
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42de36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e30d
push edx
push ecx
call fcn.004ce396
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cdf2e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x42ddc9
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00403c70
mov byte [ebp - 4], 2
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 8
mov eax, dword [ebx + 0x18]
cmovae ecx, dword [ebx + 8]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x42deaf
push 1
push 0x6294f0
lea ecx, [ebp - 0x48]
call fcn.00403e30
push 1
push 0x62c4c0
lea ecx, [ebp - 0x48]
call fcn.00403e30
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x2d0]
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2e8], eax
cmp eax, 0xffffffff
jne 0x42df6b
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e0], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp edx, 8
jb 0x42df52
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42df48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e30d
push edx
push ecx
call fcn.004ce396
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x42ddfb
mov edi, dword [ebp - 0x2e8]
test byte [ebp - 0x2d0], 0x10
je 0x42e1fc
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x30], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dfa2
sub ecx, edx
lea eax, [ebp - 0x2a4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402460
mov byte [ebp - 4], 3
lea edi, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmovae edi, edx
mov dword [ebp - 0x2e4], edx
test eax, eax
je 0x42dff5
mov ecx, eax
mov eax, edi
cmp word [eax], 0x5b
je 0x42e0ab
add eax, 2
sub ecx, 1
jne 0x42dfe3
or eax, 0xffffffff
cmp dword [ebp - 0x1c], 8
lea edi, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
cmovae edi, edx
test ecx, ecx
je 0x42e022
mov edx, ecx
mov ecx, edi
nop dword [eax]
cmp word [ecx], 0x5d
je 0x42e0b4
add ecx, 2
sub edx, 1
jne 0x42e010
or ecx, 0xffffffff
test eax, eax
jne 0x42e0bd
mov eax, dword [ebp - 0x20]
dec eax
cmp ecx, eax
jne 0x42e0bd
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.00403c70
lea ecx, [ebp - 0x7c]
call fcn.0042da30
add esp, 0x18
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x7c], 0
setne byte [ebp - 0x2d1]
call fcn.00419d20
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x42e0a3
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e099
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e30d
push edx
push ecx
call fcn.004ce396
add esp, 8
mov al, byte [ebp - 0x2d1]
jmp 0x42e100
sub eax, edi
sar eax, 1
jmp 0x42dff8
sub ecx, edi
sar ecx, 1
jmp 0x42e025
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x42e0fe
mov edx, dword [ebp - 0x2e4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42e0f4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e30d
push ecx
push edx
call fcn.004ce396
add esp, 8
xor al, al
test al, al
je 0x42e1f6
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x30], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e130
sub ecx, edx
lea eax, [ebp - 0x2a4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402460
mov byte [ebp - 4], 4
cmp esi, dword [ebp - 0x2ec]
je 0x42e196
movups xmm0, xmmword [ebp - 0x30]
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov edx, 7
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x30], ax
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x2dc], esi
jmp 0x42e1bb
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x2e0]
call fcn.00438470
mov eax, dword [ebp - 0x2d8]
mov esi, dword [ebp - 0x2dc]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x42e1f6
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e1ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e30d
push edx
push ecx
call fcn.004ce396
add esp, 8
mov edi, dword [ebp - 0x2e8]
lea eax, [ebp - 0x2d0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42df71
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x2e0]
mov ecx, esi
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x42e24c
push dword [ebp - 0x2e4]
mov edx, esi
mov ecx, edi
push eax
call fcn.00438800
add esp, 8
mov eax, dword [ebp - 0x2f0]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2dc], 0
mov dword [eax], edi
mov edi, eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2e0], 0
mov dword [edi + 4], esi
mov dword [edi + 8], eax
cmp edx, 8
jb 0x42e2b6
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e2ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e30d
push edx
push ecx
call fcn.004ce396
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.00437da0
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x42de40
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42de36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42de36
call fcn.004d85d5
int3