Function at 0x42f683
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0xdc
lea ebp, [esp - 4]
mov eax, dword [0x4a3028]
xor eax, ebp
mov dword [ebp + 0xdc], eax
push 0x114
mov eax, 0x43e6b9
call fcn.0043d0b2
movzx edi, byte [0x4a4b50]
mov esi, ecx
call dword [sym.imp.K9PCUhelper.dll_unsigned_long_int___cdecl__winmajor_void_]
xor ebx, ebx
cmp eax, 5
jbe 0x42f6f8
cmp edi, ebx
jne 0x42f6f8
push 0x479624
push str.IDS_STR_LACK_OF_PERMISSION
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4a4588
call dword [sym.imp.K9PCUhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
push ebx
push ebx
mov dword [ebp - 4], ebx
push ebx
push dword [eax]
call dword [sym.imp.K9PCUhelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
add esp, 0x14
lea ecx, [ebp - 0x1c]
jmp 0x42fbc5
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 9
push 0x110a
push dword [esi + 0x20]
call edi
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call sub.mfc90u.dll_CTreeCtrl::GetItemText
push ebx
push 0x482d9c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
mov esi, eax
push esi
push ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
push dword [eax - 0xc]
inc esi
push esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push ebx
push 0x482da0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
mov esi, eax
push esi
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push esi
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push ebx
push 0x4786f8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
cmp eax, ebx
jle 0x42f7f9
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push esi
push ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
add esi, 2
push esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
lea ecx, [ebp - 0x34]
call dword [0x474bb4]
mov byte [ebp - 4], 9
push dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
push dword [ebp - 0x38]
push 0x478b24
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push 0x38
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], ebx
call sub.MSVCR90.dll_memset
xor eax, eax
push 0x3e
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call sub.MSVCR90.dll_memset
push 0x9c
lea eax, [ebp + 0x40]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0x34
push dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x20]
call dword [0x474bb4]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xb
call fcn.0043be84
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xc
call fcn.0043be84
push ebx
mov byte [ebp - 4], 0xd
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x482da4
call esi
push eax
call sub.mfc90u.dll_CWnd::FromHandle
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x42f908
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 0x6c], str.open
mov dword [ebp - 0x68], str.regedit.exe
mov dword [ebp - 0x5c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push ebx
push 0x482da4
call esi
push eax
call sub.mfc90u.dll_CWnd::FromHandle
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x42fb5c
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x20]
mov esi, dword [sym.imp.USER32.dll_SetForegroundWindow]
call esi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
push ebx
push 0x482ddc
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
lea ecx, [ebp - 0xcc]
call sub.mfc90u.dll_CWnd::Attach
push dword [ebp - 0xac]
call esi
lea ecx, [ebp - 0xcc]
call sub.mfc90u.dll_CWnd::SetFocus
push 0x1e
pop esi
push ebx
push 0x25
push 0x100
push dword [ebp - 0xac]
call edi
dec esi
jne 0x42f94c
mov eax, 0xdc
mov word [ebp + 0x44], ax
lea eax, [ebp]
push eax
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
cmp ecx, 1
jne 0x42f9a0
push ebx
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
mov byte [ebp - 0x15], bl
cmp ax, 0x5c
je 0x42f9a4
mov byte [ebp - 0x15], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [ebp - 0x15], bl
je 0x42f9dc
lea eax, [ebp - 0x10]
push 0x5c
push eax
lea esi, [ebp - 0x14]
call fcn.0042fc42
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x5c
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
mov esi, eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
cmp eax, ebx
mov esi, dword [sym.imp.MSVCR90.dll_toupper]
mov dword [ebp - 0x10], ebx
jle 0x42fa90
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
movzx eax, ax
cmp eax, 0x5c
jne 0x42fa6f
push ebx
push 0x27
push 0x100
jmp 0x42fa7a
push eax
call esi
pop ecx
push ebx
push eax
push 0x102
push dword [ebp - 0xac]
call edi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax - 0xc]
jl 0x42fa51
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], ebx
je 0x42fb3e
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
push ebx
push 0x482f58
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
lea ecx, [ebp - 0x120]
call sub.mfc90u.dll_CWnd::Attach
push dword [ebp - 0x100]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x120]
call sub.mfc90u.dll_CWnd::SetFocus
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x24
push 0x100
push dword [ebp - 0x100]
call edi
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], ebx
mov dword [ebp - 0x10], ebx
jle 0x42fb33
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
movzx eax, ax
push eax
call esi
pop ecx
push ebx
push eax
push 0x102
push dword [ebp - 0x100]
call edi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax - 0xc]
jl 0x42fb03
lea ecx, [ebp - 0x120]
call sub.mfc90u.dll_CWnd::Detach
lea ecx, [ebp - 0xcc]
call sub.mfc90u.dll_CWnd::Detach
mov esi, dword [ebp - 0x1c]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, esi
call sub.mfc90u.dll_CWnd::SetFocus
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xc
call sub.mfc90u.dll_CWnd::CWnd
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xb
call sub.mfc90u.dll_CWnd::CWnd
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xdc]
xor ecx, ebp
call fcn.0043c4b0
add ebp, 0xe0
leave
ret