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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d04cd
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov edi, 1
movups xmmword [ebp - 0x63c], xmm0
mov dword [ebp - 0x62c], 0
push 8
mov dword [ebp - 0x8d8], eax
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0
call fcn.004b4016
lea ecx, [ebp - 0x63c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x63c], eax
mov dword [eax], ecx
push esi
lea ecx, [ebp - 0x668]
mov dword [ebp - 4], 0
call fcn.00407f40
mov dword [ebp - 0x8dc], eax
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x634]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40bcdb
push ecx
lea ecx, [ebp - 0x63c]
call fcn.0040d3a0
mov esi, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x630]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x630], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x8d4], ecx
mov ecx, dword [ebp - 0x638]
lea esi, [eax*4]
cmp dword [ecx + esi], 0
jne 0x40bd2d
push 0x18
call fcn.004b4016
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x638]
mov dword [eax + esi], ecx
mov edx, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x8d4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x8dc]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [ebp - 0x668]
inc dword [ebp - 0x62c]
mov byte [ebp - 4], al
call fcn.00408bb0
xorps xmm0, xmm0
mov dword [ebp - 0x640], 0
movups xmmword [ebp - 0x650], xmm0
push 8
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x640], 0
call fcn.004b4016
lea ecx, [ebp - 0x650]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x650], eax
mov dword [eax], ecx
push dword [ebp - 0x8d8]
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 2
call fcn.00407f40
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x640]
mov edx, dword [ebp - 0x648]
inc eax
cmp edx, eax
ja 0x40be2d
push ecx
lea ecx, [ebp - 0x650]
call fcn.0040d3a0
mov edx, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x644]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x644], ecx
add ecx, dword [ebp - 0x640]
and eax, ecx
mov dword [ebp - 0x8dc], ecx
mov ecx, dword [ebp - 0x64c]
shl eax, 2
mov dword [ebp - 0x8d8], eax
cmp dword [eax + ecx], 0
jne 0x40be8b
push 0x18
call fcn.004b4016
mov edx, dword [ebp - 0x8d8]
mov ecx, eax
mov eax, dword [ebp - 0x64c]
add esp, 4
mov dword [eax + edx], ecx
mov edx, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x64c]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x8dc]
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x668]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
inc dword [ebp - 0x640]
mov byte [ebp - 4], 2
call fcn.00408bb0
cmp dword [ebp - 0x62c], 0
je 0x40c371
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
nop word [eax + eax]
mov ecx, dword [ebp - 0x634]
mov eax, dword [ebp - 0x638]
dec ecx
and ecx, dword [ebp - 0x630]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x680]
call fcn.0040c880
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x634]
mov eax, dword [ebp - 0x638]
dec ecx
and ecx, dword [ebp - 0x630]
mov ecx, dword [eax + ecx*4]
call fcn.00408bb0
sub dword [ebp - 0x62c], 1
jne 0x40bf55
mov dword [ebp - 0x630], 0
jmp 0x40bf5b
inc dword [ebp - 0x630]
mov ecx, dword [ebp - 0x648]
mov eax, dword [ebp - 0x64c]
dec ecx
and ecx, dword [ebp - 0x644]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x668]
call fcn.0040c880
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x648]
mov eax, dword [ebp - 0x64c]
dec ecx
and ecx, dword [ebp - 0x644]
mov ecx, dword [eax + ecx*4]
call fcn.00408bb0
sub dword [ebp - 0x640], 1
jne 0x40bfb0
mov dword [ebp - 0x644], 0
jmp 0x40bfb6
inc dword [ebp - 0x644]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b69d0
cmp dword [ebp - 0x66c], 7
lea eax, [ebp - 0x680]
cmova eax, dword [ebp - 0x680]
push eax
lea eax, [ebp - 0x420]
push 0x6344cc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x6344d4
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.004b69d0
add esp, 0xc
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8d4], eax
cmp eax, 0xffffffff
je 0x40c34a
nop
cmp word [ebp - 0x8a4], 0x2e
je 0x40c327
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004b69d0
cmp dword [ebp - 0x66c], 7
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x680]
cmova eax, dword [ebp - 0x680]
push eax
lea eax, [ebp - 0x628]
push 0x6344dc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b69d0
cmp dword [ebp - 0x654], 7
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x668]
cmova eax, dword [ebp - 0x668]
push eax
lea eax, [ebp - 0x218]
push 0x6344dc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x38
test byte [ebp - 0x8d0], 0x10
je 0x40c2d6
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.00407f40
mov dword [ebp - 0x8dc], eax
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x634]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40c127
push ecx
lea ecx, [ebp - 0x63c]
call fcn.0040d3a0
mov esi, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x630]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x630], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x8d8], ecx
mov ecx, dword [ebp - 0x638]
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x40c179
push 0x18
call fcn.004b4016
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x638]
mov dword [eax + esi], ecx
mov edx, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x8d8]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x8dc]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [ebp - 0x8f4]
inc dword [ebp - 0x62c]
mov byte [ebp - 4], 5
call fcn.00408bb0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.00407f40
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x640]
mov edx, dword [ebp - 0x648]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40c218
push ecx
lea ecx, [ebp - 0x650]
call fcn.0040d3a0
mov esi, dword [ebp - 0x640]
mov edx, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x644]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x644], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x8d8], ecx
mov ecx, dword [ebp - 0x64c]
lea esi, [eax*4]
cmp dword [ecx + esi], 0
jne 0x40c26a
push 0x18
call fcn.004b4016
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x64c]
mov dword [eax + esi], ecx
mov edx, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x64c]
movups xmm0, xmmword [ebp - 0x8f4]
lea eax, [edx - 1]
and eax, dword [ebp - 0x8d8]
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x8f4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x8e4]
movq qword [eax + 0x10], xmm0
xor eax, eax
inc dword [ebp - 0x640]
mov dword [ebp - 0x8e4], 0
mov dword [ebp - 0x8e0], 7
mov word [ebp - 0x8f4], ax
mov byte [ebp - 4], 5
call fcn.00408bb0
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
jmp 0x40c321
push str.LdsCefView.exe
lea eax, [ebp - 0x8a4]
push eax
call esi
test eax, eax
je 0x40c321
push str.LdsCefView.exe.manifest
lea eax, [ebp - 0x8a4]
push eax
call esi
test eax, eax
je 0x40c321
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40c31f
test edi, edi
je 0x40c31f
mov edi, 1
jmp 0x40c321
xor edi, edi
mov eax, dword [ebp - 0x8d4]
lea ecx, [ebp - 0x8d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x8d4]
jne 0x40c040
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x668]
call fcn.00408bb0
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 2
call fcn.00408bb0
cmp dword [ebp - 0x62c], 0
jne 0x40bf00
lea ecx, [ebp - 0x650]
call fcn.0040c560
lea ecx, [ebp - 0x63c]
call fcn.0040c560
mov eax, edi
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.004b3f1a
mov esp, ebp
pop ebp
ret 0xc