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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6591b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x755898]
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.0044a680
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push str.SpecialKeys
mov ecx, dword [0x75abd8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, 4
mov dword [ebp - 0x14], ebx
test eax, eax
jne 0x531937
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 0x531786
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 0x5317aa
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 0x5317ce
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 0x5317f2
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 0x531816
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 0x53183a
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 0x53185e
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 0x531882
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 0x5318a6
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 0x5318ca
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 0x5318ee
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 0x531912
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 [0x75abd8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x53195d
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 [0x75abd8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x531985
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov ecx, esi
call fcn.00531570
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