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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9fd6
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x53f1e4]
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 edi, dword [ebp + 8]
push 0x206
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 0x422]
xor eax, eax
push esi
push ecx
mov dword [ebp - 0x6b0], edi
mov word [ebp - 0x424], ax
call fcn.004b96b0
add esp, 0xc
push edi
lea edx, [ebp - 0x424]
push 0x506820
push edx
call fcn.004b27ed
add esp, 0xc
lea eax, [ebp - 0x6ac]
push eax
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x6b4], edi
cmp edi, 0xffffffff
je 0x457112
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push esi
push eax
mov word [ebp - 0x21c], dx
call fcn.004b96b0
add esp, 0xc
lea ecx, [ebp - 0x6ac]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45710b
mov ecx, 0x506ae0
lea eax, [ebp - 0x680]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x456f48
cmp dx, si
je 0x456f44
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x456f48
add eax, 4
add ecx, 4
cmp dx, si
jne 0x456f22
xor eax, eax
jmp 0x456f4d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4570ef
mov ecx, 0x50682c
lea eax, [ebp - 0x680]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x456f86
cmp dx, si
je 0x456f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x456f86
add eax, 4
add ecx, 4
cmp dx, si
jne 0x456f60
xor eax, eax
jmp 0x456f8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4570ef
push 0x104
lea edx, [ebp - 0x21c]
push esi
push edx
call fcn.004b96b0
mov ecx, dword [ebp - 0x6b0]
add esp, 0xc
lea eax, [ebp - 0x680]
push eax
push ecx
lea edx, [ebp - 0x21c]
push 0x506834
push edx
call fcn.004b27ed
add esp, 0x10
test byte [ebp - 0x6ac], 0x10
lea eax, [ebp - 0x21c]
je 0x457062
push eax
mov ecx, ebx
call fcn.00456e50
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], esi
mov word [ebp - 0x45c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x457007
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x45c]
call fcn.00404960
lea edi, [ebx + 0x5c]
lea ecx, [ebp - 0x45c]
mov dword [ebp - 4], esi
call fcn.0040d670
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x448], 8
jb 0x4570ef
mov eax, dword [ebp - 0x45c]
push eax
call fcn.004b1676
add esp, 4
jmp 0x4570ef
xor ecx, ecx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], esi
mov word [ebp - 0x440], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x457080
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x440]
call fcn.00404960
lea edi, [ebx + 0x6c]
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], 1
call fcn.0040d670
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x42c], 8
jb 0x4570d6
mov eax, dword [ebp - 0x440]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], esi
mov word [ebp - 0x440], cx
mov edi, dword [ebp - 0x6b4]
lea edx, [ebp - 0x6ac]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x456f17
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
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.004b1681
mov esp, ebp
pop ebp
ret 4