Function at 0x40a430
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xdc
xor eax, eax
mov dword [esp + 9], eax
push ebx
mov dword [esp + 0x11], eax
push esi
mov dword [esp + 0x19], eax
push ecx
mov word [esp + 0x21], ax
push edx
mov byte [esp + 0x27], al
mov eax, dword [esp + 0xf0]
push eax
lea ecx, [esp + 0x70]
push str.modes_d_d__d
push ecx
mov byte [esp + 0x24], 0
call fcn.00550730
push 0
push 0x10
lea edx, [esp + 0x40]
push edx
push str.display
call fcn.0040a210
mov ebx, eax
add esp, 0x24
xor esi, esi
test ebx, ebx
jle 0x40a4fa
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [esp]
mov edx, dword [esp + esi*4 + 0x2c]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x78]
push ecx
push edx
call ebp
test eax, eax
jne 0x40a4ec
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push str.RefreshRate
push eax
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + esi*4 + 0x2c]
push edx
call edi
inc esi
cmp esi, ebx
jl 0x40a4a0
pop edi
pop ebp
lea eax, [esp + 0x10]
push eax
call fcn.00552251
add esp, 4
pop esi
pop ebx
add esp, 0xdc
ret

Function at 0x40ab00
Capabilities:
Log keystrokes via polling

Disassembly:
cmp eax, 0x100
jne 0x40ac23
mov eax, dword [esi + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x40ac22
cmp ecx, 9
push ebp
push edi
jne 0x40abae
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
mov ecx, dword [esi + 8]
jns 0x40ab40
mov eax, dword [ecx + 0xc]
cmp byte [eax + 0x15], bl
je 0x40ab4b
mov eax, dword [eax + 0xc]
jmp 0x40ab4b
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x15], bl
je 0x40ab4b
mov eax, dword [eax + 0x10]
cmp eax, ecx
jne 0x40ab54
or ebp, 0xffffffff
jmp 0x40ab5c
mov ebp, dword [eax + 8]
cmp ebp, 0xffffffff
jne 0x40ab77
mov ecx, dword [esi + 0xc]
push ebx
push ebx
push 0xa
call fcn.00530ee0
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x40ab77
call fcn.0040a9d0
mov dword [esi + 8], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40ac20
mov eax, dword [eax + 4]
push ebp
push eax
mov ecx, esi
call fcn.0052dcd0
mov ebp, eax
cmp ebp, ebx
je 0x40ac20
mov edi, dword [esi + 8]
call fcn.0040a9d0
mov ebx, ebp
mov dword [esi + 8], ebp
call fcn.0040a930
pop edi
pop ebp
pop ebx
ret
cmp ecx, 0xd
jne 0x40ac00
mov ecx, dword [eax + 0x10]
cmp byte [ecx + 0x15], bl
je 0x40abc1
push ebx
push ebx
push 0xa
jmp 0x40ac09
mov ecx, dword [eax + 0x10]
cmp byte [ecx + 0x15], bl
je 0x40abcc
mov ecx, dword [ecx + 0x10]
cmp ecx, eax
jne 0x40abd5
or ecx, 0xffffffff
jmp 0x40abd8
mov ecx, dword [ecx + 8]
mov edx, dword [eax + 4]
push ecx
push edx
mov ecx, esi
call fcn.0052dcd0
mov ebp, eax
cmp ebp, ebx
je 0x40ac20
mov edi, dword [esi + 8]
call fcn.0040a9d0
mov ebx, ebp
mov dword [esi + 8], ebp
call fcn.0040a930
pop edi
pop ebp
pop ebx
ret
cmp ecx, 0x1b
jne 0x40ac20
push ebx
push ebx
push 0xb
mov ecx, dword [esi + 0xc]
call fcn.00530ee0
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x40ac20
call fcn.0040a9d0
mov dword [esi + 8], ebx
pop edi
pop ebp
pop ebx
ret