Function at 0x51f170
Capabilities:
Access peb ldr_data
Get ntdll base address
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633700
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [esi], vtable.CSpecialKeys.0
xor edi, edi
mov dword [esi + 4], edi
mov ebx, 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [ebp - 4], edi
call fcn.00449a50
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push str.SpecialKeys
mov ecx, dword [0x70f604]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, 4
mov dword [ebp - 0x14], ebx
test eax, eax
jne 0x51f3d7
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push str.UseKeyToPrevent
mov ecx, dword [ebp - 0x1c]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x51f226
mov edx, dword [ebp - 0x18]
mov dword [esi + 8], edx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.UseKeyToForce
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
jne 0x51f24a
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.AltP
mov eax, dword [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x51f26e
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0xc], ecx
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.ShiftP
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
test eax, eax
jne 0x51f292
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x10], edx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.CtrlP
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
jne 0x51f2b6
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.DelP
mov eax, dword [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x51f2da
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x18], ecx
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.AltF
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
test eax, eax
jne 0x51f2fe
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x1c], edx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.CtrlF
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
jne 0x51f322
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x20], eax
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.ShiftF
mov eax, dword [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x51f346
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x24], ecx
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.InsF
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
test eax, eax
jne 0x51f36a
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x28], edx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.CheckMouse
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
jne 0x51f38e
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.SkipHtml
mov eax, dword [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x51f3b2
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x30], ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push edi
push edi
push str.bUseAltKey
mov edx, dword [0x70f604]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x51f3fd
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push edi
push edi
push str.bUseControlKey
mov eax, dword [0x70f604]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x51f425
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov ecx, esi
call fcn.0051f010
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret