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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x1c], edi
je 0x453a77
cmp dword [ebp + 0x38], edi
je 0x453a77
push edi
lea ecx, [ebp + 8]
call fcn.0041258c
cmp word [eax], 0x5c
mov ebx, 0x4a7ca8
je 0x4538ab
push edi
lea ecx, [ebp + 8]
call fcn.0041258c
cmp word [eax], 0x2f
je 0x4538ab
push ebx
lea ecx, [ebp + 8]
call fcn.00401941
push edi
lea ecx, [ebp + 0x24]
call fcn.0041258c
cmp word [eax], 0x5c
je 0x4538d2
push edi
lea ecx, [ebp + 0x24]
call fcn.0041258c
cmp word [eax], 0x2f
je 0x4538d2
push ebx
lea ecx, [ebp + 0x24]
call fcn.00401941
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x4538de
lea eax, [ebp + 0x28]
push eax
call fcn.0046649e
lea eax, [ebp + 8]
mov dword [esp], 0x4a7dec
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040f2de
mov eax, dword [ebp - 0x54]
add esp, 0xc
cmp dword [ebp - 0x40], 8
jae 0x453907
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 0x453a6b
lea eax, [ebp - 0x27c]
push 0x4a7c50
push eax
call fcn.00470da7
pop ecx
pop ecx
test eax, eax
je 0x453a44
lea eax, [ebp - 0x27c]
push 0x4a7ca0
push eax
call fcn.00470da7
pop ecx
pop ecx
test eax, eax
je 0x453a44
test byte [ebp - 0x2a8], 0x10
je 0x4539e4
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.0040f2de
add esp, 0xc
push eax
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.0040f2de
sub esp, 0x10
mov ebx, esp
push 0x4a7ca8
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040f2de
add esp, 0xc
push eax
push ebx
call fcn.0040f2de
add esp, 0xc
call fcn.00453855
add esp, 0x38
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401a1c
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.00401a1c
mov ebx, 0x4a7ca8
jmp 0x453a44
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040f2de
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040f2de
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
cmp dword [ebp - 8], 8
jae 0x453a1b
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x453a27
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.00401a1c
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401a1c
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x453927
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push esi
lea ecx, [ebp - 0x58]
call fcn.00401a1c
jmp 0x453a7a
xor esi, esi
inc esi
push edi
push esi
lea ecx, [ebp + 8]
call fcn.00401a1c
push edi
push esi
lea ecx, [ebp + 0x24]
call fcn.00401a1c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret