Function at 0x41d770
Capabilities:
Create process on windows
Set registry value

Disassembly:
sub esp, 0x8a4
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x8a0], eax
push ebx
push esi
push edi
push 0x204
lea eax, [esp + 0x6ac]
mov dword [esp + 0x6a8], 0
push 0
push eax
mov ebx, ecx
call fcn.0048e880
push 0x204
lea eax, [esp + 0x2a8]
mov dword [esp + 0x2a4], 0
push 0
push eax
call fcn.0048e880
mov eax, dword [0x4ae9a0]
movups xmm0, xmmword [str.SOFTWARE_]
push 0x1f4
mov dword [esp + 0x4c8], eax
lea eax, [esp + 0x4cc]
push 0
push eax
movups xmmword [esp + 0x4c0], xmm0
call fcn.0048e880
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [esp + 0x6c8]
add esp, 0x24
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0x104
push eax
push ebx
push 0x1073
push 0x27c4
push dword [0x4def88]
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
lea eax, [esp + 0x294]
mov dword [esp + 0x58], 1
mov dword [esp + 0x64], eax
lea eax, [esp + 0x50]
push eax
push ebx
push 0x1073
push 0x27c4
push dword [0x4def88]
mov dword [esp + 0x7c], 0x104
call edi
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x6a4]
push eax
lea eax, [esp + 0x4a0]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpW]
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x6a8]
push eax
call ebx
test eax, eax
jne 0x41d8af
mov word [esp + 0x294], ax
jmp 0x41d8d0
push 0x4ad2c0
lea eax, [esp + 0x4a0]
push eax
call esi
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x4a0]
push eax
call esi
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x41d8f9
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x2bc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea eax, [esp + 0x4a8]
push eax
push 0x80000002
call edi
test eax, eax
jne 0x41da87
movups xmm0, xmmword [str.HKEY_LOCAL_MACHINESoftware_]
mov ax, word [0x4ae9dc]
mov word [esp + 0xc4], ax
lea eax, [esp + 0xc6]
movups xmmword [esp + 0x8c], xmm0
push 0x1ce
movups xmm0, xmmword [0x4ae9b4]
movups xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [0x4ae9c4]
movups xmmword [esp + 0xb0], xmm0
movq xmm0, qword [0x4ae9d4]
movq qword [esp + 0xc0], xmm0
push 0
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x6a4]
push eax
lea eax, [esp + 0x90]
push eax
call esi
cmp word [esp + 0x294], 0
je 0x41d9c3
push 0x4ad2c0
lea eax, [esp + 0x90]
push eax
call esi
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x90]
push eax
call esi
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41da14
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x90]
push eax
push 1
push 0
push str.LastKey
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0xc]
call esi
mov eax, dword [0x4def88]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movaps xmm0, xmmword [0x4c1440]
push eax
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x4c
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], str.regedit.exe
movups xmmword [esp + 0x2c], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [esp + 0x10]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8a0]
xor ecx, esp
call fcn.0048d925
add esp, 0x8a4
ret
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea eax, [esp + 0x4a8]
push eax
push 0x80000001
call edi
test eax, eax
jne 0x41daec
movups xmm0, xmmword [str.HKEY_CURRENT_USERSoftware_]
push 0x1d0
lea eax, [esp + 0xc8]
movups xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [0x4ae9f0]
movups xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [0x4aea00]
movups xmmword [esp + 0xb0], xmm0
movq xmm0, qword [0x4aea10]
jmp 0x41d971
push str..DEFAULTSoftware_
lea eax, [esp + 0x4a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x6a4]
push eax
lea eax, [esp + 0x4a0]
push eax
call esi
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x6a8]
push eax
call ebx
test eax, eax
je 0x41db48
push 0x4ad2c0
lea eax, [esp + 0x4a0]
push eax
call esi
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x4a0]
push eax
call esi
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea eax, [esp + 0x4a8]
push eax
push 0x80000003
call edi
test eax, eax
jne 0x41dbb5
movups xmm0, xmmword [str.HKEY_USERSSoftware_]
mov ax, word [0x4aea40]
mov word [esp + 0xb4], ax
lea eax, [esp + 0xb6]
movups xmmword [esp + 0x8c], xmm0
push 0x1de
movups xmm0, xmmword [0x4aea28]
movups xmmword [esp + 0xa0], xmm0
movq xmm0, qword [0x4aea38]
movq qword [esp + 0xb0], xmm0
jmp 0x41d97a
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41dbfe
push 0x4ad29c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push 0x4ad29c
push 1
push 0
push str.LastKey
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4def88]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movaps xmm0, xmmword [0x4c1440]
push eax
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x4c
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], str.regedit.exe
movups xmmword [esp + 0x2c], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x8ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x8a4
ret