Function at 0x55a341
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, 0x105
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov edx, dword [esi + 4]
cmp edx, eax
ja 0x55a5af
je 0x55a4d6
cmp edx, 0xa8
ja 0x55a3b9
cmp edx, 0xa7
jae 0x55a39c
cmp edx, 0x7b
je 0x55a3e8
cmp edx, 0xa0
jbe 0x55a6b3
cmp edx, 0xa2
jbe 0x55a39c
lea eax, [edx - 0xa4]
cmp eax, 1
ja 0x55a6b3
push dword [esi]
movsx eax, word [esi + 0xe]
movsx ecx, word [esi + 0xc]
push eax
push ecx
push edx
lea ecx, [edi + 0x350]
call fcn.00589782
jmp 0x55a6ab
sub edx, 0x100
je 0x55a453
sub edx, 4
jne 0x55a6b3
mov ecx, dword [edi + 0x44c]
test ecx, ecx
je 0x55a3e8
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.005c15a3
test eax, eax
jne 0x55a436
call fcn.004d622b
cmp dword [eax + 0x1a4], 0
jne 0x55a418
call fcn.004d622b
cmp dword [eax + 0x1a0], 0
jne 0x55a418
call fcn.004d622b
mov dword [eax + 0x1a0], 1
call fcn.0050b37a
call fcn.005254a2
test eax, eax
je 0x55a43e
cmp dword [esi + 8], 0x12
jne 0x55a43e
push 0
push 0
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
jmp 0x55a6bb
push 0
push dword [esi + 8]
lea ecx, [edi + 0x350]
call fcn.005894b2
jmp 0x55a6ab
push esi
call fcn.00587ffc
test eax, eax
jne 0x55a470
push eax
push dword [esi + 8]
lea ecx, [edi + 0x350]
call fcn.005894b2
test eax, eax
jne 0x55a436
cmp dword [esi + 8], 0x1b
jne 0x55a6b3
cmp dword [edi + 0x420], 0
je 0x55a48f
push edi
lea ecx, [edi + 0x408]
call fcn.005cfc4d
mov ecx, dword [edi + 0x318]
test ecx, ecx
je 0x55a4aa
cmp dword [ecx + 8], 0
je 0x55a4aa
cmp dword [ecx + 4], 0
je 0x55a4aa
call fcn.0056e8fa
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004b154c
push eax
push 0x64a390
call fcn.004b89d0
pop ecx
pop ecx
test eax, eax
je 0x55a6b3
push 0
push 0
push 0x1f
jmp 0x55a42d
mov ecx, dword [edi + 0x44c]
test ecx, ecx
je 0x55a4f4
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.005c16dc
test eax, eax
jne 0x55a436
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
push 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetKeyState]
push dword [edi + 0x20]
cwde
mov dword [ebp - 0x14], eax
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 4], eax
test eax, eax
je 0x55a531
push eax
call sub.IMM32.dll_ImmGetOpenStatus
test eax, eax
mov eax, dword [ebp - 4]
je 0x55a531
mov dword [ebp - 8], 1
jmp 0x55a53a
xor ecx, ecx
mov dword [ebp - 8], ecx
test eax, eax
je 0x55a546
push eax
push dword [edi + 0x20]
call sub.IMM32.dll_ImmReleaseContext
mov ecx, dword [ebp - 8]
cmp dword [edi + 0x3fc], 0
je 0x55a5a5
cmp dword [esi + 8], 0x12
je 0x55a56e
cmp dword [esi + 8], 0x79
jne 0x55a5a5
mov eax, 0x8000
test dword [ebp - 0xc], eax
jne 0x55a5a5
test dword [ebp - 0x14], eax
jne 0x55a5a5
test ecx, ecx
jne 0x55a5a5
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004b154c
mov ecx, dword [edi + 0x3fc]
cmp ecx, eax
jne 0x55a588
mov ecx, edi
jmp 0x55a59b
cmp dword [esi + 8], 0x12
je 0x55a59b
test dword [esi + 0xc], 0x20000000
jne 0x55a436
call fcn.004b6e65
jmp 0x55a436
call fcn.005254a2
jmp 0x55a6ab
cmp edx, 0x200
je 0x55a674
cmp edx, 0x201
je 0x55a60d
cmp edx, 0x203
jbe 0x55a6b3
cmp edx, 0x205
jbe 0x55a60d
cmp edx, 0x206
jbe 0x55a6b3
cmp edx, 0x208
jbe 0x55a60d
cmp edx, 0x20a
jne 0x55a6b3
push dword [esi + 0xc]
lea ecx, [edi + 0x350]
push dword [esi + 8]
call fcn.00589ec9
jmp 0x55a6ab
movsx eax, word [esi + 0xc]
push dword [esi]
mov dword [ebp - 0x10], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0xc], eax
call fcn.004b154c
mov dword [ebp - 0x14], eax
test eax, eax
je 0x55a645
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x55a645
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esi]
lea ecx, [edi + 0x350]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 4]
call fcn.00589782
test eax, eax
jne 0x55a436
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x55a6b3
jmp 0x55a436
movsx eax, word [esi + 0xc]
push dword [esi]
mov dword [ebp - 0x18], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x14], eax
call fcn.004b154c
test eax, eax
je 0x55a69a
lea ecx, [ebp - 0x18]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x14]
lea ecx, [edi + 0x350]
push dword [ebp - 0x18]
call fcn.00589dd1
test eax, eax
jne 0x55a436
push esi
mov ecx, edi
call fcn.005b0fb7
pop edi
pop esi
leave
ret 4