Function at 0x424570
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4245a6
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x424951
push esi
call fcn.00420390
add esp, 4
test al, al
je 0x424951
push esi
lea ecx, [ebp - 0x28]
call fcn.00405d50
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004317c0
add esp, 4
test eax, eax
jne 0x4245fc
push 0x609b38
lea ecx, [ebp - 0x28]
call fcn.00416f10
call fcn.0048bac0
test al, al
je 0x42461d
push esi
push eax
push edi
push eax
push ebp
push esp
pop esi
pop esp
pop ebx
pop esp
pop ecx
push ebx
pop edx
pop ebp
push esp
push edx
push ecx
push edi
push eax
push edx
push eax
push eax
pop esp
push ecx
call fcn.0048bcf0
test al, al
je 0x42463a
pop edx
pop esp
pop esp
push eax
pop esi
pop ecx
push ebx
pop esp
push esp
push esp
pop ebx
push esp
push edi
push esp
pop edi
push edx
push edx
pop ecx
push esp
pop ebp
call fcn.0048bf20
test al, al
je 0x42465e
pop esp
push eax
push esp
pop ecx
push esi
pop eax
pop eax
push ecx
pop ebx
pop edx
pop esp
pop ebp
push ecx
push esp
push ebx
push ecx
push eax
pop ebp
push edx
pop esi
pop edi
push edi
push ecx
pop edx
push ecx
pop eax
pop eax
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 7
call fcn.004071d0
push 3
push 0x60bd68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040fc50
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
call fcn.0048bc80
test al, al
je 0x4246e5
push esi
push edx
push edx
push ecx
pop eax
push ebp
push esp
pop edx
pop edi
push eax
push edx
pop ecx
pop ecx
push edi
push ebx
pop edx
pop esi
push esi
push edi
pop edx
pop eax
push eax
push eax
call fcn.0048bcf0
test al, al
je 0x424705
pop esi
push ebp
pop ebx
push ecx
pop esp
pop ebx
push esi
push ecx
pop ebp
pop esi
pop edi
pop ebp
push esp
pop esi
pop edx
push ebp
push esp
push ecx
pop edx
pop esi
pop esp
pop eax
pop ebx
call fcn.0048c310
test al, al
je 0x424721
pop esi
push eax
pop edx
pop esp
push edi
push ebp
push eax
push esp
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebx
pop eax
pop eax
pop edi
pop ebx
push esi
mov edi, dword [ebp - 0x2c4]
cmp edi, 0xffffffff
je 0x424889
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x2c0]
push eax
push edi
call esi
test eax, eax
je 0x424889
cmp word [ebp - 0x294], 0x2e
je 0x424736
mov ax, word [ebp - 0x292]
test ax, ax
je 0x424736
cmp ax, 0x2e
jne 0x42476e
cmp word [ebp - 0x290], 0
je 0x424736
test byte [ebp - 0x2c0], 0x10
push 0xffffffffffffffff
push 0
je 0x424824
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x60], 0
push eax
call fcn.004071d0
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 3
jne 0x4247b1
xor ecx, ecx
jmp 0x4247cf
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4247c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040fc50
push 1
push 0x609b38
lea ecx, [ebp - 0x70]
call fcn.0040fc50
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00424570
mov eax, dword [ebp - 0x5c]
add esp, 4
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x424736
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004073f0
jmp 0x424736
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.004071d0
cmp word [ebp - 0x294], 0
jne 0x42483e
xor ecx, ecx
jmp 0x424856
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424847
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040fc50
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405d50
call fcn.00427300
add esp, 0x18
jmp 0x424736
call fcn.0048bcf0
test al, al
je 0x4248a4
pop eax
push edx
push edi
pop esi
push edx
push esi
push edi
push esi
push eax
push eax
pop esp
pop ebp
push edi
pop ecx
push esp
pop esp
pop esi
push ebx
call fcn.0048c460
test al, al
je 0x4248bd
push ebx
pop esi
pop esi
push ebp
pop edx
push ecx
pop ebx
pop eax
pop ecx
pop esp
pop esi
pop ecx
pop edx
push ebp
pop edx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x20
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4248ff
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004073f0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x424928
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004073f0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x424951
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004073f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret