Function at 0x432650
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496e3a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4c206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebx + 0x34]
cmp ecx, eax
je 0x432698
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [ebx + 0xc0]
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x30], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x4326bf
mov ecx, dword [ecx + 0x4c]
jmp 0x4326c1
xor ecx, ecx
test al, al
je 0x4326e1
test ecx, ecx
sete al
movzx eax, al
push eax
push ecx
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.004392b0
mov ebx, 1
jmp 0x4326fb
test ecx, ecx
sete al
movzx eax, al
push eax
push ecx
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.004394c0
mov ebx, 2
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [eax + 4], 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
mov dword [eax], 0
or edi, 0xffffffff
mov dword [ebp - 4], 1
test bl, 2
je 0x432767
and ebx, 0xfffffffd
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x432767
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x432767
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x432767
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 3
test bl, 1
je 0x4327b3
and ebx, 0xfffffffe
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x4327af
lea eax, [edx + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4327af
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4327af
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x20], 0
jne 0x43287a
cmp byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0x18]
push 1
push 0
je 0x4327d8
lea eax, [ebp - 0x24]
push eax
call fcn.004392b0
or ebx, 4
jmp 0x4327e4
lea eax, [ebp - 0x2c]
push eax
call fcn.004394c0
or ebx, 8
push eax
lea ecx, [ebp - 0x38]
call fcn.004339b0
test bl, 8
je 0x432830
and ebx, 0xfffffff7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 6
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x432830
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x432830
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x432830
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [ebp - 4], 3
test bl, 4
je 0x432871
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x432871
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x432871
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x432871
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
cmp dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x34]
je 0x43289a
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx]
test ecx, ecx
je 0x432888
call fcn.00434b90
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.004237e0
mov ecx, dword [ebx]
call fcn.00434bf0
mov dword [ebp - 4], 8
test esi, esi
je 0x4328cd
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4328cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x4328cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4