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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536efb
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x628]
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x898], esi
call fcn.004edf00
push 0x250
lea eax, [ebp - 0x890]
push 0
push eax
call fcn.004edf00
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004edf00
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004edf00
add esp, 0x30
lea eax, [ebp - 0x420]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp word [ebp + eax*2 - 0x422], 0x5c
je 0x457c12
push 0x53ed68
lea eax, [ebp - 0x420]
push eax
call esi
push 0x542148
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x890], 0x10
mov dword [ebp - 0x894], eax
jne 0x457c78
cmp word [ebp - 0x864], 0x2e
je 0x457da7
push dword [ebp - 0x898]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrcpyW]
call eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
call eax
jmp 0x457df0
cmp word [ebp - 0x864], 0x2e
je 0x457da7
push 0x53fb94
lea eax, [ebp - 0x864]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x457da1
push dword [ebp - 0x898]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrcpyW]
call eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
call eax
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x457cdb
push 0x53ed68
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push 0x53fc00
push eax
call fcn.00420180
add esp, 0x10
mov dword [ebp - 0x630], 0
xor eax, eax
mov dword [ebp - 0x62c], 7
lea ecx, [ebp - 0x628]
mov word [ebp - 0x640], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457d23
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x640]
call fcn.00416d80
lea eax, [ebp - 0x640]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0043b4a0
mov edx, dword [ebp - 0x62c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x457da1
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457d97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457fb9
push edx
push ecx
call fcn.00461701
add esp, 8
mov eax, dword [ebp - 0x894]
lea ecx, [ebp - 0x890]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x457f8c
cmp dword [ebp - 0x890], 0x10
jne 0x457e39
cmp word [ebp - 0x864], 0x2e
je 0x457e39
push dword [ebp - 0x898]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x457e09
push 0x53ed68
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push 0x53ed68
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00457b50
jmp 0x457d9e
push 0x53fb90
lea eax, [ebp - 0x864]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
mov eax, dword [ebp - 0x894]
je 0x457da7
push 0x53fb94
lea eax, [ebp - 0x864]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
mov eax, dword [ebp - 0x894]
je 0x457da7
push dword [ebp - 0x898]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x457eb2
push 0x53ed68
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push 0x53fc00
push eax
call fcn.00420180
add esp, 0x10
mov dword [ebp - 0x630], 0
xor eax, eax
mov dword [ebp - 0x62c], 7
lea ecx, [ebp - 0x628]
mov word [ebp - 0x640], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457f00
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x640]
call fcn.00416d80
mov eax, dword [edi + 4]
mov dword [ebp - 4], 1
cmp eax, dword [edi + 8]
je 0x457f5c
movups xmm0, xmmword [ebp - 0x640]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x630]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x640], ax
jmp 0x457f71
lea ecx, [ebp - 0x640]
push ecx
push eax
mov ecx, edi
call fcn.004194f0
mov edx, dword [ebp - 0x62c]
mov eax, dword [ebp - 0x894]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x457da7
jmp 0x457d6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x894]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
call fcn.004f6f4a
int3