Function at 0x42a4a0
Capabilities:
Check for time delay via gettickcount
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc68
push ebx
push esi
push edi
push dword [ebp + 8]
push str.StartRegedit__s_
push 2
call fcn.004453fb
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc68]
push eax
call fcn.004290b5
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x456]
push eax
call fcn.0043f481
add esp, 0xc
push 0x200
lea eax, [ebp - 0x458]
push eax
mov ebx, str.LastKey
push ebx
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionAppletsRegedit
push edi
mov esi, 0x80000001
push esi
call fcn.00424d51
test eax, eax
je 0x42a536
cmp word [ebp - 0x458], 0
je 0x42a536
push 0x449d34
push ebx
push edi
push esi
call fcn.00424f97
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x4f9c70
lea eax, [ebp - 0x660]
push str._s_regedit.exe
push eax
call esi
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x868]
push str.__s___m
push eax
call esi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3c
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x54], esi
call fcn.0043f481
add esp, 0x24
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x660]
push eax
mov dword [ebp - 0x50], 0x4670a0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42a74d
push 0x2710
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x42a73d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 8], eax
mov edi, 0x100
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 8]
cmp eax, 0x1388
jae 0x42a73d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
push edi
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x42a62e
push str.RegEdit_RegEdit
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42a638
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42a5e9
cmp ebx, esi
je 0x42a73d
push esi
push 0x466fd4
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x42a73d
cmp dword [0x4f9b60], 0x500
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x101
jne 0x42a6ce
mov dword [ebp - 4], 0x14
push 0
push 0x25
push edi
push dword [ebp + 8]
call esi
push 0xc0000000
push 0x25
push ebx
push dword [ebp + 8]
call esi
push 0x3e8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
dec dword [ebp - 4]
jne 0x42a677
push 0
push 0x24
push edi
push dword [ebp + 8]
call esi
push 0xc0000000
push 0x24
push ebx
push dword [ebp + 8]
call esi
push 0x3e8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp word [ebp - 0xc68], 0
lea eax, [ebp - 0xc68]
mov dword [ebp - 4], eax
je 0x42a73d
mov eax, dword [ebp - 4]
movzx eax, word [eax]
push 0
cmp ax, 0x5c
jne 0x42a70e
push 0x27
push edi
push dword [ebp + 8]
call esi
push 0xc0000000
push 0x27
push ebx
push dword [ebp + 8]
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42a722
push eax
call fcn.004291a6
movzx eax, ax
push eax
push 0x102
push dword [ebp + 8]
call esi
push 0x3e8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], 0
jne 0x42a6e1
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
pop edi
pop esi
pop ebx
leave
ret 4