Function at 0x426ef6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5d14b8], 0
push edi
mov edi, ecx
mov dword [ebp - 0x14], str.Desktop
mov dword [ebp - 0x10], str.Immersive
mov dword [ebp - 0xc], str.SysLauncher
mov dword [ebp - 8], 0x552b3c
je 0x426f38
mov eax, dword [0x5d14bc]
jmp 0x42713b
cmp dword [edi + 0xcc], 3
jne 0x426f56
and dword [0x5d14bc], 0
xor eax, eax
mov byte [0x5d14b8], 1
jmp 0x42713b
push esi
lea ecx, [ebp - 0x44]
call fcn.00407a00
lea eax, [ebp - 0x44]
push eax
call fcn.00426da3
pop ecx
test al, al
je 0x42711d
lea eax, [ebp - 0x44]
push eax
call fcn.0042ca50
pop ecx
cmp eax, 2
jne 0x42711d
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
je 0x426fae
push 0x7a
call esi
test ax, ax
je 0x426fae
xor eax, eax
inc eax
mov dword [0x5d14bc], eax
mov byte [0x5d14b8], al
jmp 0x42712e
push ebx
push str.force_immersive
lea ecx, [ebp - 0x2c]
call fcn.00403770
lea eax, [edi + 0x24]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], eax
push ecx
mov ecx, eax
call fcn.00403070
xor esi, esi
lea ecx, [ebp - 0x2c]
xor edi, edi
mov bl, al
push esi
inc edi
push edi
call fcn.00404150
lea ecx, [ebp - 0x2c]
test bl, bl
je 0x42700d
xor ebx, ebx
inc ebx
mov dword [0x5d14bc], ebx
push esi
mov byte [0x5d14b8], bl
call fcn.004024d0
mov ecx, dword [ebp - 0x48]
push eax
call fcn.00425f82
lea ecx, [ebp - 0x2c]
call fcn.00402620
jmp 0x427044
push str.force_desktop
call fcn.00403770
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
call fcn.00403070
push esi
push edi
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.00404150
test bl, bl
je 0x427041
xor ebx, ebx
mov dword [0x5d14bc], esi
inc ebx
lea ecx, [ebp - 0x2c]
jmp 0x426fee
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x58]
call fcn.0040d230
push 0xf003f
mov edi, str.SoftwareWunderBrowserMetro
lea ecx, [ebp - 0x58]
push edi
push SysReAllocString
call fcn.0040d300
test eax, eax
je 0x42708e
push eax
push edi
push str.Failed_to_open_HKCU__ls_key__error_0x_x_n
call fcn.004016d0
add esp, 0xc
cmp byte [0x5d14b8], 0
jne 0x4270bb
mov dword [0x5d14bc], esi
mov byte [0x5d14b8], bl
jmp 0x4270bb
cmp byte [0x5d14b8], 0
je 0x4270c3
mov esi, dword [0x5d14bc]
push dword [ebp + esi*4 - 0x14]
push str.Launch_mode_forced_by_cmdline_to__s_n
call fcn.004016d0
pop ecx
pop ecx
push esi
push str.launch_mode
lea ecx, [ebp - 0x58]
call fcn.0040d5f0
mov esi, dword [0x5d14bc]
jmp 0x427112
lea eax, [ebp - 0x4c]
push eax
push str.launch_mode
lea ecx, [ebp - 0x58]
call fcn.0040d410
test eax, eax
je 0x4270e4
push str.Desktop
push str.Cant_read_registry__defaulting_to__s_n
jmp 0x4270ff
mov eax, dword [ebp - 0x4c]
cmp eax, 2
jb 0x4270f4
mov dword [0x5d14bc], esi
jmp 0x42710c
push dword [ebp + eax*4 - 0x14]
mov esi, eax
push str.Launch_mode_forced_by_registry_to__s_n
mov dword [0x5d14bc], esi
call fcn.004016d0
pop ecx
pop ecx
mov byte [0x5d14b8], bl
lea ecx, [ebp - 0x58]
call fcn.0040d2c0
pop ebx
jmp 0x427130
xor esi, esi
mov byte [0x5d14b8], 1
mov dword [0x5d14bc], esi
mov eax, esi
mov esi, eax
lea ecx, [ebp - 0x44]
call fcn.004039f0
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00527f3e
mov esp, ebp
pop ebp
ret