Function at 0x43113d
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.00451479
add esp, 0xc
push 0x476070
call fcn.0042d453
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor ebx, ebx
test eax, eax
je 0x431188
cmp dword [0x512cb4], ebx
je 0x431188
call fcn.0042a23f
test eax, eax
je 0x431188
xor edi, edi
inc edi
jmp 0x43118a
xor edi, edi
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x43119f
mov ecx, dword [0x512c6c]
call fcn.0044ac22
mov dword [ebp - 4], eax
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.0042e6e8
mov esi, 0x4561e0
push esi
push str.LastKey
cmp edi, ebx
je 0x4311d6
push str.S_1_5_18SOFTWAREMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000003
jmp 0x4311e0
push str.SOFTWAREMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call fcn.00429932
cmp dword [0x5067d0], ebx
jne 0x43120d
push str.AdvApi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x43120d
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5067d0], eax
cmp edi, ebx
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x260]
je 0x431249
push 0x50fa68
push 0x4591e8
push eax
call edi
lea eax, [ebp - 0xc68]
push eax
push 0x50fa68
lea eax, [ebp - 0x468]
push str.__s___z_s
push eax
call edi
add esp, 0x1c
jmp 0x43126e
push 0x510190
push str._s_regedit.exe
push eax
call edi
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x468]
push str.__s___m
push eax
call edi
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x14], ebx
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 ebx
push eax
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x54], ebx
call fcn.0044b15e
add esp, 0xc
cmp dword [0x510068], 5
mov dword [ebp - 0x50], esi
jne 0x4312a5
mov dword [ebp - 0x50], str.Winsta0default
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], ax
cmp dword [ebp - 4], ebx
je 0x431316
mov eax, dword [0x512c6c]
cmp dword [eax + 0x2c], ebx
je 0x431316
mov ecx, dword [0x5067d0]
cmp ecx, ebx
je 0x4312e9
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x58]
push edx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x468]
push edx
lea edx, [ebp - 0x260]
push edx
push ebx
push dword [eax + 0x2c]
call ecx
jmp 0x43130e
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x468]
push ecx
lea ecx, [ebp - 0x260]
push ecx
push dword [eax + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp eax, ebx
jne 0x4313df
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x4313df
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x431578
push 5
pop ecx
push 0x3ec
lea eax, [ebp - 0x854]
push ebx
mov esi, str.Computer_
lea edi, [ebp - 0x868]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044b15e
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x868]
push eax
call fcn.0042e6e8
push 0x5c
lea eax, [ebp - 0x868]
push eax
call fcn.00429123
lea eax, [ebp - 0x868]
push eax
push str.LastKey
push str.SOFTWAREMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call fcn.00429932
push 1
push 0x510190
push 0x475edc
lea eax, [ebp - 0x260]
push eax
push str.runas
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x431578
push 0x2710
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x431568
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 0x431568
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
push edi
lea eax, [ebp - 0x668]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x431448
push str.RegEdit_RegEdit
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x431452
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x431403
cmp esi, ebx
je 0x431568
push ebx
push 0x4753f8
push ebx
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x431568
cmp dword [0x510080], 0x500
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x4314e9
mov dword [ebp - 4], 0x14
push ebx
push 0x25
push edi
push dword [ebp + 8]
call esi
push 0xc0000000
push 0x25
push 0x101
push dword [ebp + 8]
call esi
push 0x3e8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
dec dword [ebp - 4]
jne 0x43148c
push ebx
push 0x24
push edi
push dword [ebp + 8]
call esi
push 0xc0000000
push 0x24
push 0x101
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]
push 0x2710
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
lea eax, [ebp - 0xc68]
mov dword [ebp - 4], eax
cmp word [ebp - 0xc68], bx
je 0x431568
mov eax, dword [ebp - 4]
movzx eax, word [eax]
push ebx
cmp ax, 0x5c
jne 0x431539
push 0x27
push edi
push dword [ebp + 8]
call esi
push 0xc0000000
push 0x27
push 0x101
push dword [ebp + 8]
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43154d
push eax
call fcn.0042e7d9
movzx eax, ax
push eax
push 0x102
push dword [ebp + 8]
call esi
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp word [eax], bx
jne 0x431509
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