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

Disassembly:
push ebp
lea ebp, [esp - 0x2a54]
mov eax, 0x2a54
call fcn.004ab4d0
push 0xffffffffffffffff
push 0x4ca670
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp + 0x2a50], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x2a5c]
mov edi, dword [ebp + 0x2a60]
mov ebx, dword [ebp + 0x2a68]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 4], 0
test esi, esi
je 0x45d887
test edi, edi
je 0x45d887
mov eax, esi
lea edx, [eax + 2]
jmp 0x45d5f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d5f0
sub eax, edx
sar eax, 1
je 0x45d887
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d610
sub eax, edx
sar eax, 1
je 0x45d887
push 0x800
push 0
lea eax, [ebp + 0x1250]
push eax
call fcn.004ab450
push 0x800
push 0
lea ecx, [ebp + 0xa50]
push ecx
call fcn.004ab450
push esi
push 0x400
lea edx, [ebp + 0x1250]
push edx
call fcn.004a9ecb
push edi
push 0x400
lea eax, [ebp + 0xa50]
push eax
call fcn.004a9ecb
mov ecx, 0x4dbd14
lea edx, [ebp + 0x1250]
call fcn.00442540
mov ecx, 0x4f192c
lea edx, [ebp + 0x1250]
call fcn.004426f0
mov ecx, 0x4dbd14
lea edx, [ebp + 0xa50]
call fcn.00442540
mov ecx, 0x4f192c
lea edx, [ebp + 0xa50]
call fcn.004426f0
mov edi, dword [ebp + 0x2a6c]
push edi
push ebx
lea edx, [ebp + 0xa50]
call fcn.0045e440
add esp, 0x38
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x45d6df
mov dword [ebp - 0x24], esi
push 0x5042a0
lea ecx, [ebp - 0x24]
push ecx
call fcn.004abd6e
push 0x800
push 0
lea edx, [ebp + 0x250]
push edx
call fcn.004ab450
lea eax, [ebp + 0x1250]
push eax
push 0x4ee1f8
lea edx, [ebp + 0x250]
call fcn.00411a00
add esp, 0x14
lea ecx, [ebp]
push ecx
lea edx, [ebp + 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
je 0x45d87e
lea eax, [ebp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d731
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x45d75a
mov eax, 0x2e
cmp word [ebp + 0x2c], ax
jne 0x45d75a
cmp word [ebp + 0x2e], ax
je 0x45d856
lea eax, [ebp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d760
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x45d77f
cmp word [ebp + 0x2c], 0x2e
je 0x45d856
push 0x800
push 0
lea eax, [ebp + 0x2250]
push eax
call fcn.004ab450
push 0x800
push 0
lea ecx, [ebp + 0x1a50]
push ecx
call fcn.004ab450
lea edx, [ebp + 0x2c]
push edx
lea eax, [ebp + 0x1250]
push eax
push 0x4dd780
lea edx, [ebp + 0x2250]
call fcn.00411a00
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [ebp + 0xa50]
push edx
push 0x4dd780
lea edx, [ebp + 0x1a50]
call fcn.00411a00
add esp, 0x30
test byte [ebp], 0x10
je 0x45d837
mov eax, dword [ebp + 0x2a64]
test al, al
je 0x45d837
push edi
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp + 0x1a50]
push edx
lea eax, [ebp + 0x2250]
push eax
call fcn.0045d570
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x45d856
lea ecx, [ebp + 0x1a50]
push ecx
lea edx, [ebp + 0x2250]
push edx
push str.Copy_Directory_:__s______s_
mov ecx, esi
mov edx, 0x527b30
call fcn.00448ec0
add esp, 0xc
jmp 0x45d856
push 0
push 1
push edi
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x1a50]
push ecx
lea edx, [ebp + 0x2250]
push edx
call fcn.0045d0a0
add esp, 0x18
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d722
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0x12
jne 0x45d87e
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x45d8cd
mov eax, 0x57
jmp 0x45d8db
cmp ebx, 0xffffffff
je 0x45d8d9
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a50]
xor ecx, ebp
call fcn.004a998e
add ebp, 0x2a54
mov esp, ebp
pop ebp
ret