Function at 0x42f590
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ad63
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.0042aab0
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 0x42f603
xor ecx, ecx
jmp 0x42f61f
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x42f610
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f610
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040a110
push 0x47abf8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00412310
push str..msp
mov edx, eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00412310
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x42f65b
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 0x42f67c
push dword [ebp - 0x5c]
call fcn.0044d639
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 0x42f6a1
push dword [ebp - 0x74]
call fcn.0044d639
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 0x42f6c9
push dword [ebp - 0x2c]
call fcn.0044d639
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 0x42f711
mov ebx, dword [ebp - 0x2d0]
push eax
push eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
call fcn.0042aab0
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 0x42f7f5
test byte [ebp - 0x2c4], 0x10
jne 0x42f7a8
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [ebp - 0x298], ax
je 0x42f753
lea eax, [ebp - 0x298]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f744
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a110
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 3
push dword [edi + 4]
push edi
call fcn.00431b90
mov ecx, 0x7fffffe
sub ecx, esi
cmp ecx, 1
jb 0x42f82c
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 0x42f7a8
push dword [ebp - 0x44]
call fcn.0044d639
add esp, 4
lea eax, [ebp - 0x2c4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f711
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.0042aab0
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.0042a870
push dword [ebp - 0x2cc]
call fcn.0044d639
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.0044c32d
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0044bbb8
int3