Function at 0x60126660
Capabilities:
Query or enumerate registry value
Set registry value
Write file on windows

Disassembly:
sub esp, 0xa34
push ebx
push edi
lea eax, [esp + 0x10]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetControlSession_Manager
push SysStringLen
mov edi, ecx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x601268ae
push ebp
push esi
lea ecx, [esp + 0x10]
push ecx
lea esi, [edi + 8]
push esi
push ebx
push ebx
push str.BootStera
push eax
mov dword [esp + 0x28], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
jne 0x601266fd
push ebx
push ebx
push 3
push ebx
push 3
push 0x40000000
lea edx, [edi + 0x10]
push edx
call ebp
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x601266fd
push 2
push ebx
push ebx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x601267d7
lea eax, [edi + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.stera.job
push esi
call ebx
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push esi
call ebp
cmp eax, 0xffffffff
mov dword [edi], eax
jne 0x60126757
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x18], 0xfffffffb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xa34
ret
xor ebp, ebp
push ebp
lea ecx, [esp + 0x14]
push ecx
push 2
lea edx, [esp + 0x28]
push edx
push eax
mov word [esp + 0x30], 0xfeff
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x6014fac0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea ecx, [esp + 0x20]
push ecx
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x1c]
push edx
call ebx
mov ecx, dword [esp + 0x18]
shl eax, 1
push eax
lea eax, [esp + 0x20]
push eax
push 1
push ebp
push str.BootStera
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x601267c0
mov dword [esp + 0x14], ebp
mov edx, dword [edi]
push 2
push ebp
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x14], ebp
jne 0x60126894
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
lea esi, [esp + 0x278]
mov ecx, esi
push ecx
push 0
push 0
push str.BootExecute
push edx
mov dword [esp + 0x28], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x60126841
mov eax, esi
push eax
call ebx
test eax, eax
mov dword [esp + 0x10], eax
je 0x60126849
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea esp, [esp]
push str.stera
push esi
call edi
test eax, eax
je 0x60126841
mov ecx, dword [esp + 0x10]
lea esi, [esi + ecx*2 + 2]
push esi
call ebx
test eax, eax
mov dword [esp + 0x10], eax
jne 0x60126820
jmp 0x60126849
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x60126894
push str.stera
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esi, 0xc
mov word [esi], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x274]
sub esi, edx
sar esi, 1
lea esi, [esi + esi + 2]
push esi
mov eax, edx
push eax
push 7
push 0
push str.BootExecute
push ecx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x60126894
mov dword [esp + 0x14], 0xfffffff9
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xa34
ret
pop edi
mov eax, 0xfffffffc
pop ebx
add esp, 0xa34
ret