Function at 0x45c5fd
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x1c], edi
je 0x45c81f
cmp dword [ebp + 0x38], edi
je 0x45c81f
push edi
lea ecx, [ebp + 8]
call fcn.00416ac0
cmp word [eax], 0x5c
mov ebx, 0x4b27d0
je 0x45c653
push edi
lea ecx, [ebp + 8]
call fcn.00416ac0
cmp word [eax], 0x2f
je 0x45c653
push ebx
lea ecx, [ebp + 8]
call fcn.0040198a
push edi
lea ecx, [ebp + 0x24]
call fcn.00416ac0
cmp word [eax], 0x5c
je 0x45c67a
push edi
lea ecx, [ebp + 0x24]
call fcn.00416ac0
cmp word [eax], 0x2f
je 0x45c67a
push ebx
lea ecx, [ebp + 0x24]
call fcn.0040198a
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x45c686
lea eax, [ebp + 0x28]
push eax
call fcn.0046f24e
lea eax, [ebp + 8]
mov dword [esp], 0x4b2914
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413270
mov eax, dword [ebp - 0x54]
add esp, 0xc
cmp dword [ebp - 0x40], 8
jae 0x45c6af
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
inc esi
mov dword [ebp - 0x2ac], eax
cmp eax, 0xffffffff
je 0x45c813
lea eax, [ebp - 0x27c]
push 0x4b2918
push eax
call fcn.00479e37
pop ecx
pop ecx
test eax, eax
je 0x45c7ec
lea eax, [ebp - 0x27c]
push 0x4b27c8
push eax
call fcn.00479e37
pop ecx
pop ecx
test eax, eax
je 0x45c7ec
test byte [ebp - 0x2a8], 0x10
je 0x45c78c
sub esp, 0x1c
mov eax, esp
push ebx
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp + 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x2b0], eax
call fcn.00413270
add esp, 0xc
push eax
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.00413270
sub esp, 0x10
mov ebx, esp
push 0x4b27d0
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00413270
add esp, 0xc
push eax
push ebx
call fcn.00413270
add esp, 0xc
call fcn.0045c5fd
add esp, 0x38
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401a65
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.00401a65
mov ebx, 0x4b27d0
jmp 0x45c7ec
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00413270
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00413270
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
cmp dword [ebp - 8], 8
jae 0x45c7c3
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x45c7cf
lea eax, [ebp - 0x38]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.00401a65
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401a65
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45c6cf
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push esi
lea ecx, [ebp - 0x58]
call fcn.00401a65
jmp 0x45c822
xor esi, esi
inc esi
push edi
push esi
lea ecx, [ebp + 8]
call fcn.00401a65
push edi
push esi
lea ecx, [ebp + 0x24]
call fcn.00401a65
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret