Function at 0x42ddb0
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 0x42ded0
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.00437e20
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x42deb0
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dea6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e37d
push edx
push ecx
call fcn.004ce3c6
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.004cdf5d
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 0x42de39
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 0x42df1f
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 0x42dfdb
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 0x42dfc2
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dfb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e37d
push edx
push ecx
call fcn.004ce3c6
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x42de6b
mov edi, dword [ebp - 0x2e8]
test byte [ebp - 0x2d0], 0x10
je 0x42e26c
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 0x42e012
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 0x42e065
mov ecx, eax
mov eax, edi
cmp word [eax], 0x5b
je 0x42e11b
add eax, 2
sub ecx, 1
jne 0x42e053
or eax, 0xffffffff
cmp dword [ebp - 0x1c], 8
lea edi, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
cmovae edi, edx
test ecx, ecx
je 0x42e092
mov edx, ecx
mov ecx, edi
nop dword [eax]
cmp word [ecx], 0x5d
je 0x42e124
add ecx, 2
sub edx, 1
jne 0x42e080
or ecx, 0xffffffff
test eax, eax
jne 0x42e12d
mov eax, dword [ebp - 0x20]
dec eax
cmp ecx, eax
jne 0x42e12d
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.00403c70
lea ecx, [ebp - 0x7c]
call fcn.0042daa0
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 0x42e113
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e109
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e37d
push edx
push ecx
call fcn.004ce3c6
add esp, 8
mov al, byte [ebp - 0x2d1]
jmp 0x42e170
sub eax, edi
sar eax, 1
jmp 0x42e068
sub ecx, edi
sar ecx, 1
jmp 0x42e095
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x42e16e
mov edx, dword [ebp - 0x2e4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42e164
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e37d
push ecx
push edx
call fcn.004ce3c6
add esp, 8
xor al, al
test al, al
je 0x42e266
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 0x42e1a0
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 0x42e206
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 0x42e22b
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x2e0]
call fcn.004384f0
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 0x42e266
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e25c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e37d
push edx
push ecx
call fcn.004ce3c6
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 0x42dfe1
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 0x42e2bc
push dword [ebp - 0x2e4]
mov edx, esi
mov ecx, edi
push eax
call fcn.00438880
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 0x42e326
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e31c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e37d
push edx
push ecx
call fcn.004ce3c6
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.00437e20
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x42deb0
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dea6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42dea6
call fcn.004d8605
int3