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

Disassembly:
push 0x30
mov eax, 0x4cbb47
call fcn.004ae233
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x30], esi
cmp dword [eax - 0xc], esi
jne 0x4135cc
lea ecx, [eax - 0x10]
jmp 0x413979
lea eax, [ebp - 0x20]
xor edi, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x15], 0
call fcn.00461ea4
test al, al
je 0x41360d
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 0x41360d
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x15], 1
call fcn.004473e7
pop ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
push 0x5236bc
xor ecx, ecx
lea esi, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004077b1
mov esi, eax
cmp esi, 0xffffffff
jne 0x413646
cmp byte [ebp - 0x15], 0
je 0x41396b
lea eax, [ebp - 0x20]
push eax
call fcn.0044741d
pop ecx
jmp 0x41396b
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.004078a9
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.0040c5ab
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.004025a1
call fcn.004139e5
pop ecx
push eax
mov eax, edi
lea edi, [ebp - 0x3c]
call fcn.00411f6e
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 0x413950
mov ecx, edi
call fcn.00411faa
lea edi, [ebp + 8]
call fcn.00411ade
lea edi, [ebp + 0xc]
call fcn.00411ade
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 0x413704
push esi
push esi
push 0x10
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x400
call esi
jmp 0x41370a
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3c
call fcn.0048961d
pop ecx
push 0x3c
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x30], ebx
call fcn.004adda0
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 0x413773
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 0x413942
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413942
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 0x520938
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 0x413939
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 0x41383f
lea eax, [ebp + 8]
call fcn.00402bdb
movzx eax, ax
cmp ax, 0x5c
jne 0x413818
push 0
push 0x27
push ebx
jmp 0x413831
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 0x4137f5
mov eax, dword [eax - 0xc]
test eax, eax
je 0x413936
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0xc]
test ecx, ecx
je 0x413936
test eax, eax
je 0x4138c4
test ecx, ecx
je 0x4138c4
push 0x520938
push 0x5248c0
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 0x4138c4
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 0x413898
push 0x520938
push 0x5248c0
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 0x413936
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0xe1
call esi
mov ecx, 0x5661a8
call fcn.00496f6a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax - 0xc]
jge 0x413936
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 0x413909
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 4], 3
jmp 0x4139a1
push 0
push 0x10
push str.Cant_run_Regedit.
call fcn.0048a5fe
cmp byte [ebp - 0x15], 0
je 0x413960
lea eax, [ebp - 0x20]
push eax
call fcn.0044741d
pop ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [ebp - 0x3c]
call fcn.00411faa
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.004ae2d8
ret
push ebx
call fcn.00489657
cmp byte [ebp - 0x15], 0
pop ecx
je 0x4139b7
push dword [ebp - 0x34]
call fcn.0044741d
pop ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [ebp - 0x3c]
call fcn.00411faa
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 0x41398b