Function at 0x40a4e0
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.00553270
push 0
push 0x10
lea edx, [esp + 0x40]
push edx
push str.display
call fcn.0040a2c0
mov ebx, eax
add esp, 0x24
xor esi, esi
test ebx, ebx
jle 0x40a5aa
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 0x40a59c
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 0x40a550
pop edi
pop ebp
lea eax, [esp + 0x10]
push eax
call fcn.00554d7e
add esp, 4
pop esi
pop ebx
add esp, 0xdc
ret

Function at 0x40ab60
Capabilities:
Log keystrokes via polling

Disassembly:
cmp eax, 0x100
jne 0x40ac83
mov eax, dword [esi + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x40ac82
cmp ecx, 9
push ebp
push edi
jne 0x40ac0e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
mov ecx, dword [esi + 8]
jns 0x40aba0
mov eax, dword [ecx + 0xc]
cmp byte [eax + 0x15], bl
je 0x40abab
mov eax, dword [eax + 0xc]
jmp 0x40abab
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x15], bl
je 0x40abab
mov eax, dword [eax + 0x10]
cmp eax, ecx
jne 0x40abb4
or ebp, 0xffffffff
jmp 0x40abbc
mov ebp, dword [eax + 8]
cmp ebp, 0xffffffff
jne 0x40abd7
mov ecx, dword [esi + 0xc]
push ebx
push ebx
push 0xa
call fcn.00533a20
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x40abd7
call fcn.0040aa80
mov dword [esi + 8], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40ac80
mov eax, dword [eax + 4]
push ebp
push eax
mov ecx, esi
call fcn.00530810
mov ebp, eax
cmp ebp, ebx
je 0x40ac80
mov edi, dword [esi + 8]
call fcn.0040aa80
mov ebx, ebp
mov dword [esi + 8], ebp
call fcn.0040a9e0
pop edi
pop ebp
pop ebx
ret
cmp ecx, 0xd
jne 0x40ac60
mov ecx, dword [eax + 0x10]
cmp byte [ecx + 0x15], bl
je 0x40ac21
push ebx
push ebx
push 0xa
jmp 0x40ac69
mov ecx, dword [eax + 0x10]
cmp byte [ecx + 0x15], bl
je 0x40ac2c
mov ecx, dword [ecx + 0x10]
cmp ecx, eax
jne 0x40ac35
or ecx, 0xffffffff
jmp 0x40ac38
mov ecx, dword [ecx + 8]
mov edx, dword [eax + 4]
push ecx
push edx
mov ecx, esi
call fcn.00530810
mov ebp, eax
cmp ebp, ebx
je 0x40ac80
mov edi, dword [esi + 8]
call fcn.0040aa80
mov ebx, ebp
mov dword [esi + 8], ebp
call fcn.0040a9e0
pop edi
pop ebp
pop ebx
ret
cmp ecx, 0x1b
jne 0x40ac80
push ebx
push ebx
push 0xb
mov ecx, dword [esi + 0xc]
call fcn.00533a20
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x40ac80
call fcn.0040aa80
mov dword [esi + 8], ebx
pop edi
pop ebp
pop ebx
ret