Function at 0x4166b0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x1a5c
call fcn.00465640
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0x1a58], eax
push ebx
mov ebx, dword [esp + 0x1a68]
push ebp
mov ebp, dword [esp + 0x1a68]
push esi
push edi
push 0
push ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4166f7
mov dword [esp + 0x10], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xa72]
push ecx
mov word [esp + 0xa74], ax
call fcn.00463850
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x127e]
push eax
mov word [esp + 0x1280], dx
call fcn.00463850
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x28a]
push edx
mov word [esp + 0x28c], cx
call fcn.00463850
mov eax, ebp
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416756
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
mov edi, 0x5c
cmp word [ebp + eax*2 - 2], di
je 0x41677f
push 0x4a2058
push ebp
call esi
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416784
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 - 2], di
je 0x4167a2
push 0x4a2058
push ebx
call esi
push ebp
lea eax, [esp + 0xa6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x48dca4
lea ecx, [esp + 0xa6c]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xa6c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4167e1
xor eax, eax
jmp 0x416908
test edi, edi
je 0x4168fd
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
nop
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4168fd
lea edx, [esp + 0x44]
push edx
push ebp
lea eax, [esp + 0x1270]
push 0x48e758
push eax
call esi
lea ecx, [esp + 0x54]
push ecx
push ebx
lea edx, [esp + 0x280]
push 0x48e758
push edx
call esi
add esp, 0x20
test byte [esp + 0x18], 0x10
jne 0x41685a
push 0
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x1270]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4167f0
mov dword [esp + 0x10], eax
jmp 0x4167f0
mov ecx, 0x48e754
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416889
test dx, dx
je 0x416885
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416889
add eax, 4
add ecx, 4
test dx, dx
jne 0x416863
xor eax, eax
jmp 0x41688e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4167f0
mov ecx, 0x48dc88
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4168c6
test dx, dx
je 0x4168c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4168c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4168a0
xor eax, eax
jmp 0x4168cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4167f0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x126c]
push eax
call fcn.004166b0
test eax, eax
jne 0x4167f0
mov dword [esp + 0x10], eax
jmp 0x4167f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1a68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004644d0
add esp, 0x1a5c
ret 8