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

Disassembly:
sub esp, 0x848
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x844], eax
push esi
push 0x7fc
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], 0
push 0
push eax
mov esi, ecx
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x14], 6
lea eax, [esp + 0x48]
mov dword [esp + 0x24], 0x400
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push esi
push 0x1073
push 0x27c9
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [esp + 0x48], 0
jne 0x41e10e
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41e0a3
push 0x4b34dc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push 0x4b34dc
push 1
push 0
push str.LastKey
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4e6030]
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movaps xmm0, xmmword [0x4c7840]
push eax
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x4c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], str.regedit.exe
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.0048ea75
add esp, 0x848
ret
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x41e137
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x2bc
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push str.Kernel32.dll
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
test esi, esi
jne 0x41e168
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41e182
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41e17f
lea ecx, [esp + 8]
push ecx
call eax
push esi
call edi
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41e1cb
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x50]
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 dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4e6030]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movaps xmm0, xmmword [0x4c7840]
push eax
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x4c
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], str.regedit.exe
movups xmmword [esp + 0x28], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 8], 0
je 0x41e262
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x41e249
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41e262
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41e25f
push dword [esp + 8]
call eax
push esi
call edi
mov ecx, dword [esp + 0x84c]
pop edi
pop esi
xor ecx, esp
call fcn.0048ea75
add esp, 0x848
ret