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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x1c], edi
je 0x456b4c
cmp dword [ebp + 0x38], edi
je 0x456b4c
push edi
lea ecx, [ebp + 8]
call fcn.00403205
cmp word [eax], 0x5c
mov ebx, 0x4aca20
je 0x456980
push edi
lea ecx, [ebp + 8]
call fcn.00403205
cmp word [eax], 0x2f
je 0x456980
push ebx
lea ecx, [ebp + 8]
call fcn.0040197d
push edi
lea ecx, [ebp + 0x24]
call fcn.00403205
cmp word [eax], 0x5c
je 0x4569a7
push edi
lea ecx, [ebp + 0x24]
call fcn.00403205
cmp word [eax], 0x2f
je 0x4569a7
push ebx
lea ecx, [ebp + 0x24]
call fcn.0040197d
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x4569b3
lea eax, [ebp + 0x28]
push eax
call fcn.0046957e
lea eax, [ebp + 8]
mov dword [esp], 0x4acb64
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00410e7f
mov eax, dword [ebp - 0x54]
add esp, 0xc
cmp dword [ebp - 0x40], 8
jae 0x4569dc
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 0x456b40
lea eax, [ebp - 0x27c]
push 0x4acb68
push eax
call fcn.00474017
pop ecx
pop ecx
test eax, eax
je 0x456b19
lea eax, [ebp - 0x27c]
push 0x4aca18
push eax
call fcn.00474017
pop ecx
pop ecx
test eax, eax
je 0x456b19
test byte [ebp - 0x2a8], 0x10
je 0x456ab9
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.00410e7f
add esp, 0xc
push eax
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.00410e7f
sub esp, 0x10
mov ebx, esp
push 0x4aca20
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00410e7f
add esp, 0xc
push eax
push ebx
call fcn.00410e7f
add esp, 0xc
call fcn.0045692a
add esp, 0x38
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401a58
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.00401a58
mov ebx, 0x4aca20
jmp 0x456b19
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00410e7f
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00410e7f
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
cmp dword [ebp - 8], 8
jae 0x456af0
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x456afc
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.00401a58
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401a58
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4569fc
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push esi
lea ecx, [ebp - 0x58]
call fcn.00401a58
jmp 0x456b4f
xor esi, esi
inc esi
push edi
push esi
lea ecx, [ebp + 8]
call fcn.00401a58
push edi
push esi
lea ecx, [ebp + 0x24]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret