Function at 0x43a45f
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x564
push ebx
push ebp
push esi
mov esi, dword [esp + 0x574]
xor ebx, ebx
xor ebp, ebp
test esi, esi
je 0x43a721
cmp byte [esi], bl
je 0x43a721
push edi
mov edi, dword [esp + 0x57c]
test edi, edi
je 0x43a720
cmp byte [edi], bl
je 0x43a720
push 0x104
lea eax, [esp + 0x18]
push edi
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [esp + 0x20]
mov byte [esp + 0x124], bl
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp byte [esp + eax + 0x13], 0x5c
jne 0x43a4ca
mov byte [esp + eax + 0x13], bl
push 0x104
lea eax, [esp + 0x260]
push esi
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [esp + 0x268]
mov byte [esp + 0x36c], bl
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x10
test eax, eax
je 0x43a516
cmp byte [esp + eax + 0x25b], 0x5c
je 0x43a516
lea eax, [esp + 0x25c]
push 0x4892f8
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [esp + 0x25c]
push eax
lea eax, [esp + 0x470]
push eax
call sub.MSVCRT.dll_strcpy
mov esi, dword [esp + 0x588]
mov eax, 0x489348
pop ecx
pop ecx
test esi, esi
je 0x43a541
cmp byte [esi], bl
jne 0x43a543
mov esi, eax
push eax
lea eax, [esp + 0x260]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x43a57f
test byte [esp + 0x11c], 0x10
je 0x43a578
xor ebp, ebp
inc ebp
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x43a720
test ebp, ebp
jne 0x43a5ce
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, eax
lea eax, [esp + 0x14]
cmp byte [ecx + eax - 1], 0x3a
je 0x43a5ce
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x43a715
mov ebp, dword [esp + 0x10]
xor ebx, ebx
inc ebx
lea eax, [esp + 0x46c]
push eax
lea eax, [esp + 0x368]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x370]
push eax
call sub.MSVCRT.dll_strcat
push 0x104
lea eax, [esp + 0x28]
push edi
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [esp + 0x30]
mov byte [esp + 0x134], 0
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x20
test eax, eax
je 0x43a640
cmp byte [esp + eax + 0x13], 0x5c
je 0x43a640
lea eax, [esp + 0x14]
push 0x4892f8
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x18]
push eax
call sub.MSVCRT.dll_strcat
test byte [esp + 0x124], 0x10
pop ecx
pop ecx
je 0x43a6b8
test byte [esp + 0x584], 1
je 0x43a6fc
lea eax, [esp + 0x148]
push 0x48935c
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x43a6fc
lea eax, [esp + 0x148]
push 0x489360
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x43a6fc
push dword [esp + 0x584]
lea eax, [esp + 0x18]
push esi
push eax
lea eax, [esp + 0x370]
push eax
call fcn.0043a45f
jmp 0x43a6fa
push esi
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.SHLWAPI.DLL_PathMatchSpecA]
test eax, eax
je 0x43a6fc
test byte [esp + 0x584], 2
je 0x43a6e5
push pe_nt_image_headers32
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
and ebx, eax
lea eax, [esp + 0x11c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43a5d5
jmp 0x43a719
mov ebp, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x564
ret 0x10