Function at 0xbe4001
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x38
mov eax, 0xb0544a
call fcn.00af8e2b
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], edi
call fcn.00be6832
mov dword [ebx + 0x9c], edi
mov eax, dword [esi]
push esi
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0xc99200]
call esi
cmp eax, 2
je 0xbe441f
cmp dword [ebp + 0x10], 3
je 0xbe441f
cmp dword [ebp + 0x10], 5
je 0xbe441f
mov esi, dword [ebp - 0x28]
mov ecx, ebx
push esi
call fcn.00be758c
test eax, eax
je 0xbe41a4
xor eax, eax
cmp dword [ebp + 0x10], 4
sete al
cmp dword [ebx + 0x140], edi
je 0xbe4089
xor eax, eax
cmp dword [ebp + 0x10], 4
setne al
test eax, eax
je 0xbe40aa
mov eax, dword [esi]
push esi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0xc99200]
call esi
push eax
mov ecx, ebx
call fcn.00be4b6c
jmp 0xbe44e8
cmp dword [ebx + 0xc4], edi
jne 0xbe44e8
cmp esi, dword [ebx + 0xe0]
jne 0xbe40df
mov eax, dword [ebx + 0xe4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0xc99200]
call esi
mov dword [ebp - 0x2c], 1
test eax, eax
jne 0xbe40e2
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebx + 0xe0]
test ecx, ecx
je 0xbe4101
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0xc99200]
call esi
mov dword [ebp - 0x34], eax
jmp 0xbe4104
mov dword [ebp - 0x34], edi
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0xbe411c
cmp dword [ebp + 0x10], edi
jne 0xbe418e
push edi
lea eax, [ebx + 0x14]
push eax
call fcn.00bddf50
jmp 0xbe418e
mov eax, dword [ebp + 0x18]
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
push dword [ebp + 0x14]
mov esi, dword [ebp - 0x28]
setne cl
neg eax
sbb eax, eax
lea ecx, [ecx*8 + 2]
and eax, 4
or ecx, eax
push ecx
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.00be27a3
test eax, eax
js 0xbe44e8
mov eax, dword [esi]
push 1
push edi
push esi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0xc99200]
call esi
push eax
lea esi, [ebx + 0x14]
push esi
call fcn.00a74800
mov eax, dword [ebp - 0x34]
test eax, eax
je 0xbe417e
push 1
push edi
push eax
push esi
call fcn.00a74800
mov ecx, dword [ebp - 0x28]
push 0xfffffffffffffffe
push ecx
mov ecx, ebx
call fcn.00a5a606
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0xbe44e8
cmp dword [ebp + 0x10], edi
je 0xbe44e8
jmp 0xbe43d7
cmp dword [ebp + 0x10], 1
je 0xbe41b0
cmp dword [ebp + 0x10], 2
jne 0xbe41cf
mov eax, dword [esi]
push esi
mov esi, dword [eax + 0xb8]
mov ecx, esi
call dword [0xc99200]
call esi
cmp eax, 1
jne 0xbe43b2
mov esi, dword [ebp - 0x28]
cmp dword [ebp + 0x14], edi
je 0xbe41dd
mov dword [ebp - 0x3c], 2
jmp 0xbe41ef
xor eax, eax
cmp dword [ebp + 0x18], eax
setne al
lea eax, [eax*2 + 1]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x2c], edi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0xc99200]
call esi
test eax, eax
je 0xbe422e
mov ecx, dword [ebp - 0x28]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0xc99200]
call esi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x4c]
mov ecx, esi
call dword [0xc99200]
call esi
mov dword [ebp - 0x2c], eax
jmp 0xbe4230
mov eax, edi
mov dword [ebp - 4], edi
lea edx, [ebp - 0x34]
mov ecx, eax
mov dword [ebp - 0x34], edi
call fcn.00bbf3cc
mov esi, dword [ebp - 0x34]
test esi, esi
je 0xbe424c
mov dword [ebp - 0x38], esi
jmp 0xbe4252
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], 2
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x30]
call fcn.00bd3965
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x40]
push ecx
mov eax, dword [ecx]
mov edi, dword [eax + 0xbc]
mov ecx, edi
call dword [0xc99200]
call edi
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0xbe438b
xor edx, edx
lea ecx, [ebx + 0x18]
push edx
push edi
push ecx
call fcn.00a41010
mov edx, dword [ebp - 0x2c]
mov ecx, 0x9fd468
call fcn.00a33c7c
mov ecx, 0xc96330
call fcn.00ae958f
test al, al
je 0xbe434a
mov eax, dword [edi]
push edi
mov edi, dword [eax + 0x30]
mov ecx, edi
call dword [0xc99200]
call edi
push 0xa920
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetPropW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0xbe4347
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x30]
mov ecx, edi
call dword [0xc99200]
call edi
mov ecx, eax
call fcn.00ae9751
mov ecx, dword [ebp - 0x28]
push ecx
mov eax, dword [ecx]
mov edi, dword [eax + 0x30]
mov ecx, edi
call dword [0xc99200]
call edi
push 0xa921
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetPropW]
test eax, eax
je 0xbe4347
mov ecx, dword [ebx + 0x30]
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ecx]
mov edi, dword [eax + 0xc]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x30]
push ecx
mov ecx, edi
call dword [0xc99200]
call edi
mov edi, dword [ebp - 0x38]
test eax, eax
jns 0xbe434a
mov edi, dword [ebp - 0x28]
cmp dword [ebx + 0xc4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x3c], eax
jne 0xbe4376
mov edx, dword [ebx + 0x8c]
mov ecx, edi
call fcn.00a403b5
test eax, eax
je 0xbe4376
xor eax, eax
jmp 0xbe4379
xor eax, eax
inc eax
push eax
push edi
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x3c]
mov ecx, edi
call dword [0xc99200]
call edi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0xbe44e8
mov eax, dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], eax
call fcn.00a4a6f6
jmp 0xbe44e8
mov eax, dword [ebx + 0xe4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0xc99200]
call esi
test eax, eax
je 0xbe4402
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebx + 0xe0]
jne 0xbe4402
mov ecx, dword [ebx + 0xe4]
xor eax, eax
cmp dword [ebp + 0x10], 1
sete al
mov esi, dword [ecx]
lea eax, [eax*2 - 1]
push eax
push ecx
mov ecx, dword [esi + 0x48]
call dword [0xc99200]
call dword [esi + 0x48]
jmp 0xbe44e8
push dword [ebp + 0x14]
mov ecx, ebx
push 0xa
push dword [ebx + 0xb0]
push dword [ebx + 0xac]
call fcn.00be27a3
jmp 0xbe44e8
cmp dword [ebx + 0xc4], edi
jne 0xbe44e8
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x24]
push ecx
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x28]
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x38]
call dword [0xc99200]
call dword [esi + 0x38]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_ClientToScreen]
cmp dword [ebp + 0x10], 5
jne 0xbe4474
mov dword [ebp - 0x2c], 3
jmp 0xbe44a7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0xffff8000
test si, ax
je 0xbe44a0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test si, ax
jne 0xbe44a0
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0xbe44a7
mov dword [ebp - 0x2c], 2
mov edi, dword [ebx + 0x30]
mov ecx, dword [ebp - 0x28]
push ecx
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0xc99200]
call esi
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push edx
push ecx
push eax
push edi
mov ecx, ebx
call dword [0xc99200]
call ebx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
push 4
push ecx
add eax, 0x1c
push eax
call fcn.00a515f0
call fcn.00af8dd5
ret 0x14