Function at 0x42c049
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.004487a4
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.0042aaf4
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x456]
push eax
call fcn.00442d2f
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.004266bc
test eax, eax
je 0x42c0df
cmp word [ebp - 0x458], 0
je 0x42c0df
push 0x44d0ac
push ebx
push edi
push esi
call fcn.00426902
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x500bd0
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.00442d2f
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], 0x46aad8
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42c2f6
push 0x2710
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x42c2e6
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 0x42c2e6
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 0x42c1d7
push str.RegEdit_RegEdit
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42c1e1
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42c192
cmp ebx, esi
je 0x42c2e6
push esi
push 0x46aa28
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x42c2e6
cmp dword [0x500ac0], 0x500
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x101
jne 0x42c277
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 0x42c220
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 0x42c2e6
mov eax, dword [ebp - 4]
movzx eax, word [eax]
push 0
cmp ax, 0x5c
jne 0x42c2b7
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 0x42c2cb
push eax
call fcn.0042abe5
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 0x42c28a
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