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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4f28
mov eax, dword fs:[0]
push eax
sub esp, 0x8fc
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8ec], ecx
mov esi, dword [ebp + 8]
mov ebx, 1
mov edi, dword [ebp + 0xc]
push 8
mov dword [ebp - 0x8d4], 0
mov dword [ebp - 0x8d0], 0
mov dword [ebp - 0x8cc], 0
mov dword [ebp - 0x8c8], 0
mov dword [ebp - 0x8c4], 0
call fcn.0058e5f1
add esp, 4
mov dword [ebp - 0x8d4], eax
test eax, eax
je 0x40c848
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x8d4]
lea ecx, [ebp - 0x8d4]
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 0x40c87d
xor ecx, ecx
jmp 0x40c891
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c882
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x640]
call fcn.00406d90
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x8d4]
call fcn.0040dba0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x40c8d6
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00408200
push 8
mov dword [ebp - 0x8e8], 0
mov dword [ebp - 0x8e4], 0
mov dword [ebp - 0x8e0], 0
mov dword [ebp - 0x8dc], 0
mov dword [ebp - 0x8d8], 0
call fcn.0058e5f1
add esp, 4
mov dword [ebp - 0x8e8], eax
test eax, eax
je 0x40c92f
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x8e8]
lea ecx, [ebp - 0x8e8]
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 0x40c961
xor ecx, ecx
jmp 0x40c975
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c966
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x640]
call fcn.00406d90
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x8e8]
call fcn.0040dba0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x40c9ba
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00408200
cmp dword [ebp - 0x8c4], 0
je 0x40ceb6
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
nop dword [eax]
lea eax, [ebp - 0x8fc]
push eax
lea ecx, [ebp - 0x8d4]
call fcn.0040dec0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x40c9ee
xor eax, eax
jmp 0x40c9f0
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.004075f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x8cc]
mov eax, dword [ebp - 0x8d0]
dec ecx
and ecx, dword [ebp - 0x8c8]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40ca56
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00408200
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40ca6c
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x8c4], 1
jne 0x40ca82
mov dword [ebp - 0x8c8], eax
jmp 0x40ca88
inc dword [ebp - 0x8c8]
lea eax, [ebp - 0x908]
push eax
lea ecx, [ebp - 0x8e8]
call fcn.0040dec0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x40caa6
xor eax, eax
jmp 0x40caa8
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 - 0x658], cx
lea ecx, [ebp - 0x658]
push eax
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], 0
call fcn.004075f0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x8e0]
mov eax, dword [ebp - 0x8e4]
dec ecx
and ecx, dword [ebp - 0x8dc]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40cb0e
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00408200
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40cb24
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x8d8], 1
jne 0x40cb3a
mov dword [ebp - 0x8dc], eax
jmp 0x40cb40
inc dword [ebp - 0x8dc]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005a7400
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
push 0x63a490
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00408890
add esp, 0x1c
lea eax, [ebp - 0x628]
push 0x63a498
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8c0]
push 0
push eax
call fcn.005a7400
add esp, 0xc
lea eax, [ebp - 0x8c0]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ce4c
nop dword [eax + eax]
cmp word [ebp - 0x894], 0x2e
je 0x40ce2f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005a7400
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x894]
push ecx
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
push 0x63a4a0
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00408890
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a7400
cmp dword [ebp - 0x644], 8
lea ecx, [ebp - 0x894]
push ecx
lea eax, [ebp - 0x658]
cmovae eax, dword [ebp - 0x658]
push eax
push 0x63a4a0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00408890
add esp, 0x40
test byte [ebp - 0x8c0], 0x10
je 0x40cdae
xor eax, eax
mov dword [ebp - 0x65c], 7
mov dword [ebp - 0x660], 0
mov word [ebp - 0x670], ax
cmp word [ebp - 0x420], ax
jne 0x40cca2
xor ecx, ecx
jmp 0x40ccbf
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ccb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x670]
call fcn.00406d90
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x8d4]
call fcn.0040dba0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x65c]
cmp eax, 8
jb 0x40cd0a
inc eax
lea ecx, [ebp - 0x670]
push eax
push dword [ebp - 0x670]
call fcn.00408200
xor eax, eax
mov dword [ebp - 0x65c], 7
mov dword [ebp - 0x660], 0
mov word [ebp - 0x670], ax
cmp word [ebp - 0x218], ax
je 0x40cd4f
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cd40
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x670]
call fcn.00406d90
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x8e8]
call fcn.0040dba0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x65c]
cmp eax, 8
jb 0x40cd9a
inc eax
lea ecx, [ebp - 0x670]
push eax
push dword [ebp - 0x670]
call fcn.00408200
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40ce2f
push str.LdsCefView.exe
lea eax, [ebp - 0x894]
push eax
call edi
test eax, eax
je 0x40ce2f
push str.LdsCefView.exe.manifest
lea eax, [ebp - 0x894]
push eax
call edi
test eax, eax
je 0x40ce2f
push str.WebView.dll
lea eax, [ebp - 0x894]
push eax
call edi
test eax, eax
je 0x40ce2f
push str.CefView.exe
lea eax, [ebp - 0x894]
push eax
call edi
test eax, eax
je 0x40ce2f
push str.CefView.exe.manifest
lea eax, [ebp - 0x894]
push eax
call edi
test eax, eax
je 0x40ce2f
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40ce2d
test ebx, ebx
je 0x40ce2d
mov ebx, 1
jmp 0x40ce2f
xor ebx, ebx
lea eax, [ebp - 0x8c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40cbd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x644]
cmp eax, 8
jb 0x40ce6a
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.00408200
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x658], ax
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 7
cmp eax, 8
jb 0x40cea9
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00408200
cmp dword [ebp - 0x8c4], 0
jne 0x40c9d0
mov ecx, 0x636100
test ebx, ebx
mov eax, 0x6360f8
push 0x634864
cmove eax, ecx
push eax
push str.cef_copy
call fcn.0046dbd0
mov eax, dword [ebp - 0x8ec]
add esp, 0xc
push 1
push ebx
push 0xdadb
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x8e8]
call fcn.0040db00
push dword [ebp - 0x8e8]
call fcn.0058e395
add esp, 4
mov dword [ebp - 0x8e8], 0
lea ecx, [ebp - 0x8d4]
call fcn.0040db00
push dword [ebp - 0x8d4]
call fcn.0058e395
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret 8