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

Disassembly:
mov eax, 0x1a5c
call fcn.0046a1a0
mov eax, dword [0x4bcb20]
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 0x41f777
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.004683b0
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x127e]
push eax
mov word [esp + 0x1280], dx
call fcn.004683b0
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x28a]
push edx
mov word [esp + 0x28c], cx
call fcn.004683b0
mov eax, ebp
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f7d6
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 0x41f7ff
push 0x4a1380
push ebp
call esi
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f804
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 - 2], di
je 0x41f822
push 0x4a1380
push ebx
call esi
push ebp
lea eax, [esp + 0xa6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x48fc94
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 0x41f861
xor eax, eax
jmp 0x41f988
test edi, edi
je 0x41f97d
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 0x41f97d
lea edx, [esp + 0x44]
push edx
push ebp
lea eax, [esp + 0x1270]
push str._s_s
push eax
call esi
lea ecx, [esp + 0x54]
push ecx
push ebx
lea edx, [esp + 0x280]
push str._s_s
push edx
call esi
add esp, 0x20
test byte [esp + 0x18], 0x10
jne 0x41f8da
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 0x41f870
mov dword [esp + 0x10], eax
jmp 0x41f870
mov ecx, 0x4907a8
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f909
test dx, dx
je 0x41f905
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f909
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f8e3
xor eax, eax
jmp 0x41f90e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f870
mov ecx, 0x48fc78
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f946
test dx, dx
je 0x41f942
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f946
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f920
xor eax, eax
jmp 0x41f94b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f870
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x126c]
push eax
call fcn.0041f730
test eax, eax
jne 0x41f870
mov dword [esp + 0x10], eax
jmp 0x41f870
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.00469030
add esp, 0x1a5c
ret 8