Function at 0x131364f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x131f65a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [0x13233800]
test ecx, ecx
je 0x13136651
mov eax, dword [ebp + 8]
test eax, eax
jne 0x13136651
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x13136651
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
cmp eax, dword [0x1323319c]
je case.0x131365a8.263
cmp eax, dword [0x132331ec]
jne 0x13136584
cmp ecx, 1
je 0x13136563
cmp ecx, 0x10
jne case.0x131365a8.263
mov eax, dword [esi + 8]
push eax
call fcn.13128ea0
add esp, 4
mov dword [0x13233820], eax
mov dword [0x13233824], edx
call fcn.1313c3d0
jmp case.0x131365a8.263
mov ebx, 1
test byte [ebp + 0xc], bl
je case.0x131365a8.263
add eax, 0xfffffefe
cmp eax, 0xd
ja case.0x131365a8.263
xor edx, edx
mov dl, byte [eax + 0x1313675c]
jmp dword [edx*4 + 0x13136744]
cmp ecx, 0x40
jne 0x131365d6
test dword [esi + 0xc], 0xff0000
push edi
mov eax, dword [esi + 8]
push eax
mov ecx, dword [0x13233224]
push ecx
mov edx, dword [0x13233828]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x131365a8.263
cmp ecx, 0x1000000
jne 0x13136612
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
mov dword [ebp - 0x20], eax
mov ecx, dword [0x13233a3c]
test ecx, ecx
jne case.0x131365a8.263
test eax, eax
jne case.0x131365a8.263
cmp dword [esi + 8], 0xd
jne case.0x131365a8.263
push edi
push 3
mov eax, dword [0x1323318c]
push eax
mov ecx, dword [0x13233828]
push ecx
jmp 0x13136644
cmp ecx, 0x80
jne 0x13136662
cmp dword [0x13233820], 0x10004
jne case.0x131365a8.263
cmp dword [0x13233824], ecx
jne case.0x131365a8.263
cmp dword [esi + 8], 0xd
jne case.0x131365a8.263
push edi
push 3
mov edx, dword [0x1323318c]
push edx
mov eax, dword [0x13233828]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0x800
jne case.0x131365a8.263
cmp dword [0x13233820], 0x10010
jne case.0x131365a8.263
cmp dword [0x13233824], ecx
jne case.0x131365a8.263
cmp dword [esi + 8], 0xd
jne case.0x131365a8.263
push edi
push 3
mov ecx, dword [0x1323318c]
push ecx
mov edx, dword [0x13233828]
push edx
jmp 0x13136644
cmp ecx, 0x1000000
jne case.0x131365a8.263
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
mov dword [ebp - 0x24], eax
cmp dword [0x13233a3c], ebx
jne case.0x131365a8.263
test eax, eax
je case.0x131365a8.263
cmp dword [esi + 8], 0xd
jne case.0x131365a8.263
push edi
push 4
mov eax, dword [0x1323318c]
push eax
mov ecx, dword [0x13233828]
push ecx
jmp 0x13136644
cmp ecx, 0x40
jne case.0x131365a8.263
mov eax, dword [esi + 0xc]
test ah, 8
je case.0x131365a8.263
push edi
push 0
mov edx, dword [0x13233228]
push edx
mov eax, dword [0x13233828]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x131365a8.263
push 0
push ebx
mov ecx, dword [0x13233190]
push ecx
mov edx, dword [0x13233828]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x131365a8.263
push 0
push 0
mov eax, dword [0x13233190]
push eax
mov ecx, dword [0x13233828]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x131365a8.263