Function at 0x4135c1
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push 0x30
mov eax, 0x4cc25d
call fcn.004ae953
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x30], esi
cmp dword [eax - 0xc], esi
jne 0x4135e9
lea ecx, [eax - 0x10]
jmp 0x413996
lea eax, [ebp - 0x20]
xor edi, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x15], 0
call fcn.00460c64
test al, al
je 0x41362a
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
dec eax
and eax, 0xffffff00
add eax, 0x200
cmp byte [ebp + 0x10], 0
mov edi, eax
je 0x41362a
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x15], 1
call fcn.004473a9
pop ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
push 0x5257bc
xor ecx, ecx
lea esi, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004077ca
mov esi, eax
cmp esi, 0xffffffff
jne 0x413663
cmp byte [ebp - 0x15], 0
je 0x413988
lea eax, [ebp - 0x20]
push eax
call fcn.004473df
pop ecx
jmp 0x413988
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.004078c2
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
sub eax, esi
or edi, 0x20019
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.0040c5c4
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x28]
push ecx
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00402582
call fcn.00413a02
pop ecx
push eax
mov eax, edi
lea edi, [ebp - 0x3c]
call fcn.00411f8b
mov ebx, eax
neg ebx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402883
test bl, bl
je 0x41396d
mov ecx, edi
call fcn.00411fc7
lea edi, [ebp + 8]
call fcn.00411b13
lea edi, [ebp + 0xc]
call fcn.00411b13
xor esi, esi
push esi
push str.RegEdit_RegEdit
mov byte [ebp - 4], 5
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x413721
push esi
push esi
push 0x10
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x400
call esi
jmp 0x413727
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3c
call fcn.00489d45
pop ecx
push 0x3c
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x30], ebx
call fcn.004ae4c0
add esp, 0xc
push ebx
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x40
mov dword [ebx + 0xc], str.open
mov dword [ebx + 0x10], str.Regedit.exe
mov dword [ebx + 0x1c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x413790
push 0xffffffffffffffff
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0x400
call esi
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41395f
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41395f
push 0xe1
call esi
push 9
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xe1
call esi
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xe1
call esi
push 0x5229b8
push str.SysTreeView32
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413956
push 0
push 0x24
mov ebx, 0x100
push ebx
push dword [ebp - 0x2c]
call edi
push 0x1b
call esi
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax - 0xc]
jge 0x41385c
lea eax, [ebp + 8]
call fcn.00402bdb
movzx eax, ax
cmp ax, 0x5c
jne 0x413835
push 0
push 0x27
push ebx
jmp 0x41384e
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 8]
call fcn.00402bdb
movzx eax, ax
movzx eax, ax
push 0
push eax
push 0x102
push dword [ebp - 0x2c]
call edi
push 0x1b
call esi
inc dword [ebp - 0x24]
jmp 0x413812
mov eax, dword [eax - 0xc]
test eax, eax
je 0x413953
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0xc]
test ecx, ecx
je 0x413953
test eax, eax
je 0x4138e1
test ecx, ecx
je 0x4138e1
push 0x5229b8
push 0x5269cc
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0x24
push ebx
push dword [ebp - 0x2c]
call edi
push 0x1b
call esi
xor ebx, ebx
mov eax, dword [ebp + 0xc]
cmp ebx, dword [eax - 0xc]
jge 0x4138e1
mov ecx, ebx
lea eax, [ebp + 0xc]
call fcn.00402bdb
movzx eax, ax
push 0
movzx eax, ax
push eax
push 0x102
push dword [ebp - 0x2c]
call edi
push 0x1b
call esi
inc ebx
jmp 0x4138b5
push 0x5229b8
push 0x5269cc
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413953
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0xe1
call esi
mov ecx, 0x569448
call fcn.00497673
and dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax - 0xc]
jge 0x413953
lea eax, [ebp + 0xc]
call fcn.00402bdb
movzx eax, ax
push 0
movzx eax, ax
push eax
push 0x102
push ebx
call edi
push 0x1b
call esi
inc dword [ebp - 0x2c]
jmp 0x413926
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 4], 3
jmp 0x4139be
push 0
push 0x10
push str.Cant_run_Regedit.
call fcn.0048ad48
cmp byte [ebp - 0x15], 0
je 0x41397d
lea eax, [ebp - 0x20]
push eax
call fcn.004473df
pop ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [ebp - 0x3c]
call fcn.00411fc7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
call fcn.004ae9f8
ret
push ebx
call fcn.00489d7f
cmp byte [ebp - 0x15], 0
pop ecx
je 0x4139d4
push dword [ebp - 0x34]
call fcn.004473df
pop ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [ebp - 0x3c]
call fcn.00411fc7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
inc eax
jmp 0x4139a8