Function at 0x42f550
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ad23
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x2d0], ecx
xor esi, esi
push esi
push esi
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2c8], esi
call fcn.0042aa70
mov edi, eax
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 4], esi
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp word [ebx], ax
jne 0x42f5c3
xor ecx, ecx
jmp 0x42f5df
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x42f5d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f5d0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040a100
push 0x47ac4c
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.004122e0
push str..msp
mov edx, eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004122e0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x42f61b
mov eax, dword [eax]
lea ecx, [ebp - 0x2c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x48], 8
mov ebx, eax
jb 0x42f63c
push dword [ebp - 0x5c]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x42f661
push dword [ebp - 0x74]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x42f689
push dword [ebp - 0x2c]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp ebx, 0xffffffff
jne 0x42f6d1
mov ebx, dword [ebp - 0x2d0]
push eax
push eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
call fcn.0042aa70
mov dword [ebx], edi
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2cc], eax
mov dword [ebx + 4], 0
mov dword [ebp - 0x2c8], ecx
jmp 0x42f7b5
test byte [ebp - 0x2c4], 0x10
jne 0x42f768
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [ebp - 0x298], ax
je 0x42f713
lea eax, [ebp - 0x298]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f704
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a100
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 3
push dword [edi + 4]
push edi
call fcn.00431b50
mov ecx, 0x7fffffe
sub ecx, esi
cmp ecx, 1
jb 0x42f7ec
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
inc esi
mov dword [ecx], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x2c8], esi
jb 0x42f768
push dword [ebp - 0x44]
call fcn.0044d5f9
add esp, 4
lea eax, [ebp - 0x2c4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f6d1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x2d0]
push 0
push 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0042aa70
mov dword [ebx], edi
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 4], esi
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2cc]
call fcn.0042a830
push dword [ebp - 0x2cc]
call fcn.0044d5f9
mov eax, ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0044bb78
int3