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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2648
mov eax, dword fs:[0]
push eax
sub esp, 0x900
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8f4], ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x654], xmm0
mov dword [ebp - 0x644], 0
push 8
mov dword [ebp - 0x8d4], 1
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.0058a1e0
add esp, 4
mov dword [ebp - 0x654], eax
test eax, eax
je 0x40be20
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 0x40be55
xor ecx, ecx
jmp 0x40be6f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40be60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x640]
call fcn.00406f90
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x654]
call fcn.0040d090
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x40beb4
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00407c00
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.0058a1e0
add esp, 4
mov dword [ebp - 0x668], eax
test eax, eax
je 0x40bf21
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 0x40bf53
xor ecx, ecx
jmp 0x40bf6f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bf60
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x640]
call fcn.00406f90
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x668]
call fcn.0040d090
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x40bfb4
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00407c00
cmp dword [ebp - 0x644], 0
je 0x40c4d1
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
nop word [eax + eax]
lea eax, [ebp - 0x900]
push eax
lea ecx, [ebp - 0x654]
call fcn.0040d3b0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x40bfee
xor eax, eax
jmp 0x40bff0
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.00407440
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 0x40c056
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c06c
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x644], 1
jne 0x40c082
mov dword [ebp - 0x648], eax
jmp 0x40c088
inc dword [ebp - 0x648]
lea eax, [ebp - 0x90c]
push eax
lea ecx, [ebp - 0x668]
call fcn.0040d3b0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x40c0a6
xor eax, eax
jmp 0x40c0a8
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.00407440
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 0x40c10e
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c124
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x658], 1
jne 0x40c13a
mov dword [ebp - 0x65c], eax
jmp 0x40c140
inc dword [ebp - 0x65c]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005a2d80
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
push 0x639c14
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0040f280
add esp, 0x1c
lea eax, [ebp - 0x628]
push 0x639c1c
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.005a2d80
add esp, 0xc
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x8d8], esi
cmp esi, 0xffffffff
je 0x40c467
nop
cmp word [ebp - 0x8a4], 0x2e
je 0x40c44a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005a2d80
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
push 0x639c24
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0040f280
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a2d80
cmp dword [ebp - 0x66c], 8
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push eax
push 0x639c24
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040f280
add esp, 0x40
test byte [ebp - 0x8d0], 0x10
je 0x40c3ae
xor eax, eax
mov dword [ebp - 0x8dc], 7
mov dword [ebp - 0x8e0], 0
mov word [ebp - 0x8f0], ax
cmp word [ebp - 0x420], ax
jne 0x40c2a2
xor ecx, ecx
jmp 0x40c2bf
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c2b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x8f0]
call fcn.00406f90
lea eax, [ebp - 0x8f0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x654]
call fcn.0040d090
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x8dc]
cmp eax, 8
jb 0x40c30a
inc eax
lea ecx, [ebp - 0x8f0]
push eax
push dword [ebp - 0x8f0]
call fcn.00407c00
xor eax, eax
mov dword [ebp - 0x8dc], 7
mov dword [ebp - 0x8e0], 0
mov word [ebp - 0x8f0], ax
cmp word [ebp - 0x218], ax
je 0x40c34f
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c340
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8f0]
call fcn.00406f90
lea eax, [ebp - 0x8f0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x668]
call fcn.0040d090
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x8dc]
cmp eax, 8
jb 0x40c39a
inc eax
lea ecx, [ebp - 0x8f0]
push eax
push dword [ebp - 0x8f0]
call fcn.00407c00
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40c44a
push str.LdsCefView.exe
lea eax, [ebp - 0x8a4]
push eax
call edi
test eax, eax
je 0x40c44a
push str.LdsCefView.exe.manifest
lea eax, [ebp - 0x8a4]
push eax
call edi
test eax, eax
je 0x40c44a
push str.WebView.dll
lea eax, [ebp - 0x8a4]
push eax
call edi
test eax, eax
je 0x40c44a
push str.CefView.exe
lea eax, [ebp - 0x8a4]
push eax
call edi
test eax, eax
je 0x40c44a
push str.CefView.exe.manifest
lea eax, [ebp - 0x8a4]
push eax
call edi
test eax, eax
je 0x40c44a
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 0x40c440
mov esi, dword [ebp - 0x8d4]
test esi, esi
mov esi, dword [ebp - 0x8d8]
mov dword [ebp - 0x8d4], 1
jne 0x40c44a
mov dword [ebp - 0x8d4], 0
lea eax, [ebp - 0x8d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40c1d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x66c]
cmp eax, 8
jb 0x40c485
inc eax
lea ecx, [ebp - 0x680]
push eax
push dword [ebp - 0x680]
call fcn.00407c00
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 0x40c4c4
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00407c00
cmp dword [ebp - 0x644], 0
jne 0x40bfd0
mov esi, dword [ebp - 0x8d4]
mov ecx, 0x632714
test esi, esi
mov eax, 0x632720
push 0x6363e4
cmove eax, ecx
push eax
push str.cef_copy
call fcn.00485090
mov eax, dword [ebp - 0x8f4]
add esp, 0xc
push 1
push esi
push 0xdadb
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x668]
call fcn.0040cff0
push dword [ebp - 0x668]
call fcn.00589cce
add esp, 4
mov dword [ebp - 0x668], 0
lea ecx, [ebp - 0x654]
call fcn.0040cff0
push dword [ebp - 0x654]
call fcn.00589cce
add esp, 4
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.00589cd3
mov esp, ebp
pop ebp
ret 8