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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
mov eax, dword [0x5ad124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x654], xmm0
mov dword [ebp - 0x644], 0
push 8
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
call fcn.00507050
add esp, 4
mov dword [ebp - 0x654], eax
test eax, eax
je 0x4c796f
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x654]
lea ecx, [ebp - 0x654]
mov dword [eax], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
cmp word [esi], ax
jne 0x4c79a4
xor ecx, ecx
jmp 0x4c79bf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c79b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x640]
call fcn.004122f0
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x654]
call fcn.004caa60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x4c7a04
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00414a40
xorps xmm0, xmm0
mov dword [ebp - 0x658], 0
movups xmmword [ebp - 0x668], xmm0
push 8
mov dword [ebp - 0x668], 0
mov dword [ebp - 0x664], 0
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 0
mov dword [ebp - 0x658], 0
call fcn.00507050
add esp, 4
mov dword [ebp - 0x668], eax
test eax, eax
je 0x4c7a71
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x668]
lea ecx, [ebp - 0x668]
mov dword [eax], ecx
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
cmp word [edi], ax
jne 0x4c7aa3
xor ecx, ecx
jmp 0x4c7abf
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c7ab0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x640]
call fcn.004122f0
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x668]
call fcn.004caa60
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x4c7b04
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00414a40
cmp dword [ebp - 0x644], 0
je 0x4c7f38
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop word [eax + eax]
lea eax, [ebp - 0x8f8]
push eax
lea ecx, [ebp - 0x654]
call fcn.004cb2f0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x4c7b3e
xor eax, eax
jmp 0x4c7b40
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x640], cx
lea ecx, [ebp - 0x640]
push eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
call fcn.00413750
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64c]
mov eax, dword [ebp - 0x650]
dec ecx
and ecx, dword [ebp - 0x648]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4c7be5
mov ecx, dword [esi]
inc eax
cmp eax, 0x7fffffff
ja 0x4c7f9e
add eax, eax
cmp eax, 0x1000
jb 0x4c7bdc
test cl, 0x1f
jne 0x4c7f9e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4c7f9e
sub ecx, eax
cmp ecx, 4
jb 0x4c7f9e
cmp ecx, 0x23
ja 0x4c7f9e
mov ecx, eax
push ecx
call fcn.00506ed8
add esp, 4
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4c7bfb
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x644], 1
jne 0x4c7c11
mov dword [ebp - 0x648], eax
jmp 0x4c7c17
inc dword [ebp - 0x648]
lea eax, [ebp - 0x904]
push eax
lea ecx, [ebp - 0x668]
call fcn.004cb2f0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x4c7c35
xor eax, eax
jmp 0x4c7c37
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x680], cx
lea ecx, [ebp - 0x680]
push eax
mov dword [ebp - 0x66c], 7
mov dword [ebp - 0x670], 0
call fcn.00413750
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x660]
mov eax, dword [ebp - 0x664]
dec ecx
and ecx, dword [ebp - 0x65c]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4c7c9d
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00414a40
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4c7cb3
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x658], 1
jne 0x4c7cc9
mov dword [ebp - 0x65c], eax
jmp 0x4c7ccf
inc dword [ebp - 0x65c]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0050b5d0
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
lea eax, [ebp - 0x420]
push 0x585dbc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x58c3e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.0050b5d0
add esp, 0xc
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c7ece
nop dword [eax]
nop word [eax + eax]
cmp word [ebp - 0x8a4], 0x2e
je 0x4c7eb1
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0050b5d0
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
lea eax, [ebp - 0x628]
push 0x58e8dc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0050b5d0
cmp dword [ebp - 0x66c], 8
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push eax
lea eax, [ebp - 0x218]
push 0x58e8dc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x38
test byte [ebp - 0x8d0], 0x10
je 0x4c7e9b
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x8ec]
call fcn.00411150
push eax
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 6
call fcn.004caa60
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x8d8]
cmp eax, 8
jb 0x4c7e44
inc eax
lea ecx, [ebp - 0x8ec]
push eax
push dword [ebp - 0x8ec]
call fcn.00414a40
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8ec]
call fcn.00411150
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x668]
call fcn.004caa60
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x8d8]
cmp eax, 8
jb 0x4c7e8e
inc eax
lea ecx, [ebp - 0x8ec]
push eax
push dword [ebp - 0x8ec]
call fcn.00414a40
push 0
lea eax, [ebp - 0x218]
push eax
call edi
jmp 0x4c7eb1
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x8d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c7d60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x66c]
cmp eax, 8
jb 0x4c7eec
inc eax
lea ecx, [ebp - 0x680]
push eax
push dword [ebp - 0x680]
call fcn.00414a40
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x680], ax
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x66c], 7
cmp eax, 8
jb 0x4c7f2b
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00414a40
cmp dword [ebp - 0x644], 0
jne 0x4c7b20
lea ecx, [ebp - 0x668]
call fcn.004ca7b0
push 8
push 1
push dword [ebp - 0x668]
call fcn.00407890
add esp, 0xc
mov dword [ebp - 0x668], 0
lea ecx, [ebp - 0x654]
call fcn.004ca7b0
push 8
push 1
push dword [ebp - 0x654]
call fcn.00407890
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507796
mov esp, ebp
pop ebp
ret 4
call fcn.00515e51
int3