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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6082
mov eax, dword fs:[0]
push eax
sub esp, 0xbf8
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x140
mov dword [ebp - 0xbfc], eax
lea eax, [ebp - 0x9a4]
push 0
push eax
call fcn.0048d420
add esp, 0xc
mov byte [ebp - 0x414], 0
lea eax, [ebp - 0x413]
push 0x3ff
push 0
push eax
call fcn.0048d420
add esp, 0xc
mov byte [ebp - 0x814], 0
lea eax, [ebp - 0x813]
push 0x3ff
push 0
push eax
call fcn.0048d420
add esp, 0xc
mov dword [ebp - 0x850], 0xf
mov dword [ebp - 0x854], 0
mov byte [ebp - 0x864], 0
push dword [ebp - 0xbfc]
lea eax, [ebp - 0x414]
mov dword [ebp - 4], 1
push str._s.
push 0x400
xor bl, bl
push eax
mov byte [ebp - 0xbf5], bl
call fcn.00488e61
add esp, 0x10
lea eax, [ebp - 0x9a4]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0xc00], ebx
cmp ebx, 0xffffffff
jne 0x40516d
xor bl, bl
jmp 0x40550c
mov ebx, dword [ebp + 0x10]
cmp byte [ebp - 0x978], 0x2e
je 0x4054df
push 0x4b3100
lea eax, [ebp - 0x978]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4054df
test byte [ebp - 0x9a4], 0x10
lea eax, [ebp - 0x978]
push eax
push dword [ebp - 0xbfc]
lea eax, [ebp - 0x414]
mov byte [ebp - 0xbf5], 1
push 0x4b2e38
push 0x400
push eax
je 0x405395
call fcn.00488e61
add esp, 0x14
test bl, bl
je 0x405200
push edi
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp - 0x9a4]
push eax
call fcn.00405550
push ebx
push edi
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.00405070
jmp 0x4054df
cmp byte [ebp - 0x414], 0
jne 0x40520d
xor ecx, ecx
jmp 0x40521f
lea ecx, [ebp - 0x414]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405216
sub ecx, edx
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x864]
call fcn.00401d20
push 0
push 0x4b2e3e
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], 0
mov byte [ebp - 0x82c], 0
call fcn.00401d20
push edi
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 2
call fcn.00403e30
push ecx
lea eax, [ebp - 0x82c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x864]
call fcn.00409360
cmp dword [eax + 0x14], 0x10
jb 0x405295
mov eax, dword [eax]
push eax
lea eax, [esi + 0x74]
push eax
push 0x4b2e38
lea eax, [ebp - 0x814]
push 0x400
push eax
call fcn.00488e61
add esp, 0x14
cmp dword [ebp - 0x834], 0x10
jb 0x4052ca
push dword [ebp - 0x848]
call fcn.00488361
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x818], 0x10
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
jb 0x405300
push dword [ebp - 0x82c]
call fcn.00488361
add esp, 4
push ecx
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x830]
call fcn.00402fa0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40531d
mov eax, dword [eax]
lea ecx, [ebp - 0xbf4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x405334
xor bl, bl
jmp 0x405353
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xbd8], 0
jne 0x405351
cmp dword [ebp - 0xbd4], 0
jne 0x405351
xor bl, bl
jmp 0x405353
mov bl, 1
cmp dword [ebp - 0x81c], 8
jb 0x40536a
push dword [ebp - 0x830]
call fcn.00488361
add esp, 4
test bl, bl
jne 0x40537d
push 0
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push ebx
push edi
push eax
mov ecx, esi
call fcn.00405070
jmp 0x4054df
call fcn.00488e61
add esp, 0x14
test bl, bl
je 0x4053bc
push edi
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp - 0x9a4]
push eax
call fcn.00405550
jmp 0x4054df
cmp byte [ebp - 0x414], 0
jne 0x4053c9
xor ecx, ecx
jmp 0x4053db
lea ecx, [ebp - 0x414]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4053d2
sub ecx, edx
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x864]
call fcn.00401d20
push 0
push 0x4b2e3e
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
call fcn.00401d20
push edi
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 4
call fcn.00403e30
push ecx
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x864]
call fcn.00409360
cmp dword [eax + 0x14], 0x10
jb 0x405451
mov eax, dword [eax]
push eax
lea eax, [esi + 0x74]
push eax
push 0x4b2e38
lea eax, [ebp - 0x814]
push 0x400
push eax
call fcn.00488e61
add esp, 0x14
cmp dword [ebp - 0x818], 0x10
jb 0x405486
push dword [ebp - 0x82c]
call fcn.00488361
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x834], 0x10
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], 0
mov byte [ebp - 0x82c], 0
jb 0x4054bc
push dword [ebp - 0x848]
call fcn.00488361
add esp, 4
push 0
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x9a4]
push eax
push dword [ebp - 0xc00]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405170
push dword [ebp - 0xc00]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, byte [ebp - 0xbf5]
cmp dword [ebp - 0x850], 0x10
jb 0x405523
push dword [ebp - 0x864]
call fcn.00488361
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret 0xc