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

Disassembly:
sub esp, 0x848
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x844], eax
push ebx
push esi
push edi
push 0x29c5
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 2
push 0xffffffffffffffff
push 0x100c
push ebx
call edi
push 0x7fc
mov esi, eax
mov dword [esp + 0x54], 0
lea eax, [esp + 0x58]
push 0
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x1c], 4
lea eax, [esp + 0x50]
mov dword [esp + 0x2c], 0x400
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push esi
push 0x1073
push ebx
call edi
cmp word [esp + 0x50], 0
jne 0x45a262
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x45a1f5
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]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.0048d925
add esp, 0x848
ret
push 0x7c
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x45a28e
lea ecx, [esp + 0x50]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x45a3f7
xor ecx, ecx
mov word [esp + eax + 0x50], cx
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x45a2b7
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 str.Kernel32.dll
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test esi, esi
jne 0x45a2e9
push str.Kernel32.dll
call ebx
mov esi, eax
test esi, esi
je 0x45a303
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45a300
lea ecx, [esp + 0xc]
push ecx
call eax
push esi
call edi
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x45a34c
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x54]
push eax
push 1
push 0
push str.LastKey
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
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]
cmp dword [esp + 0xc], 0
je 0x45a3df
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x45a3c6
push str.Kernel32.dll
call ebx
mov esi, eax
test esi, esi
je 0x45a3df
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45a3dc
push dword [esp + 0xc]
call eax
push esi
call edi
mov ecx, dword [esp + 0x850]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x848
ret
call fcn.0048da55
int3