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

Disassembly:
sub esp, 0x974
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x970], eax
push esi
mov esi, dword [esp + 0x980]
push edi
mov edi, dword [esp + 0x980]
push 0x1ff
lea eax, [esp + 0x57d]
push 0
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov byte [esp + 0x584], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea ecx, [esp + 0x389]
push 0
push ecx
mov byte [esp + 0x390], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea edx, [esp + 0x795]
push 0
push edx
mov byte [esp + 0x79c], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea eax, [esp + 0x1a1]
push 0
push eax
mov byte [esp + 0x1a8], 0
call sub.MSVCR90.dll_memset
lea edx, [esp + 0x3a8]
add esp, 0x30
mov eax, edi
sub edx, edi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4d8b60
lea eax, [esp + 0x378]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4d8b72
mov ecx, dword [0x5027e0]
mov dl, byte [0x5027e4]
push 0
mov dword [eax], ecx
push esi
mov byte [eax + 4], dl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x37c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x4d8bc9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x970]
xor ecx, esp
call fcn.004e0148
add esp, 0x974
ret
xor eax, eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
jmp 0x4d8c00
lea edx, [esp + 0x6c]
push edx
push edi
lea eax, [esp + 0x588]
push 0x5027d8
push eax
call ebp
add esp, 0x10
test byte [esp + 0x40], 0x10
je 0x4d8c71
cmp byte [esp + 0x6c], 0x2e
je 0x4d8d33
lea ecx, [esp + 0x6c]
push ecx
push edi
lea edx, [esp + 0x788]
push 0x5027d8
push edx
call ebp
lea eax, [esp + 0x7c]
push eax
push esi
lea ecx, [esp + 0x198]
push 0x5027d8
push ecx
call ebp
lea edx, [esp + 0x1a0]
push edx
lea eax, [esp + 0x7a4]
push eax
call fcn.004d8ab0
add esp, 0x28
jmp 0x4d8d33
lea ecx, [esp + 0x6c]
push ecx
push esi
lea edx, [esp + 0x188]
push 0x5027d8
push edx
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x588]
push ecx
call ebx
test eax, eax
je 0x4d8d33
mov edx, dword [esp + 0x34]
push 1
push 0
push 0
push edx
call fcn.004e0460
mov edi, eax
mov eax, dword [esp + 0x30]
mov esi, edx
xor ecx, ecx
lea edx, [esp + 0x1c]
push edx
add edi, eax
push ecx
lea eax, [esp + 0x188]
push eax
adc esi, ecx
call ebx
test eax, eax
setne bl
test bl, bl
je 0x4d8d01
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.004e0460
mov ecx, dword [esp + 0x30]
xor ebp, ebp
add eax, ecx
adc edx, ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x4d8d05
xor eax, eax
xor edx, edx
cmp esi, edx
ja 0x4d8d13
jb 0x4d8d0f
cmp edi, eax
ja 0x4d8d13
test bl, bl
jne 0x4d8d2b
push 0
lea edx, [esp + 0x184]
push edx
lea eax, [esp + 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4d8c00
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x980]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004e0148
add esp, 0x974
ret