Function at 0x42a815
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.00445f0b
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.00429429
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x456]
push eax
call fcn.0043fd94
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.004250c5
test eax, eax
je 0x42a8ab
cmp word [ebp - 0x458], 0
je 0x42a8ab
push 0x44ad64
push ebx
push edi
push esi
call fcn.0042530b
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x4face8
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.0043fd94
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], 0x468168
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42aac2
push 0x2710
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x42aab2
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 0x42aab2
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 0x42a9a3
push str.RegEdit_RegEdit
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42a9ad
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42a95e
cmp ebx, esi
je 0x42aab2
push esi
push 0x46809c
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x42aab2
cmp dword [0x4fabd8], 0x500
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x101
jne 0x42aa43
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 0x42a9ec
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 0x42aab2
mov eax, dword [ebp - 4]
movzx eax, word [eax]
push 0
cmp ax, 0x5c
jne 0x42aa83
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 0x42aa97
push eax
call fcn.0042951a
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 0x42aa56
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