Function at 0x552770
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x6137e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x114], 0
mov edi, dword [esp + 0x54]
je 0x5529f2
mov eax, dword [ebp]
mov edx, dword [eax + 0xb0]
call edx
test eax, 0x80000
je 0x5529f2
cmp dword [edi + 4], 0x100
jne case.0x55282c.10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
push 0x10
setl bl
call esi
push 0
push 0
test ax, ax
mov eax, dword [edi]
push 0x87
push eax
setl byte [esp + 0x26]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 4
je 0x552802
or eax, 3
mov ecx, dword [edi + 8]
add ecx, 0xfffffff7
mov byte [esp + 0x54], 1
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x17], 1
cmp ecx, 0x1f
ja case.0x55282c.10
movzx ecx, byte [ecx + 0x552a44]
jmp dword [ecx*4 + 0x552a28]
test al, 2
je 0x55283f
test bl, bl
je case.0x55282c.10
cmp byte [esp + 0x16], 0
mov byte [esp + 0x14], bl
sete byte [esp + 0x54]
mov byte [esp + 0x15], 1
jmp 0x55293e
test al, 1
jne case.0x55282c.10
test bl, bl
jne case.0x55282c.10
mov byte [esp + 0x54], bl
jmp 0x55293e
test al, 1
jne case.0x55282c.10
test bl, bl
je 0x55293e
jmp case.0x55282c.10
mov byte [esp + 0x54], 0
test al, 1
je 0x552896
test bl, bl
je case.0x55282c.10
mov byte [esp + 0x14], 1
jmp 0x55293e
test al, 4
je 0x5528ac
test bl, bl
je 0x552a0d
xor esi, esi
test al, 0x10
je 0x5528d5
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xb
cmp al, 0xb
jne 0x5528d1
mov eax, dword [edi]
push eax
call fcn.0054fad0
add esp, 4
mov esi, eax
xor bl, bl
jmp 0x55290b
push 0x6de9b4
push ebp
call fcn.005595f0
add esp, 4
push eax
call fcn.00543e40
add esp, 8
test eax, eax
je 0x55293e
push 0x6ded7c
mov ecx, eax
call fcn.0054e0b0
push eax
call fcn.00543e40
mov bl, byte [esp + 0x1f]
add esp, 8
mov esi, eax
test esi, esi
je 0x552936
mov edx, dword [esi]
mov eax, dword [edx + 0xa4]
mov ecx, esi
call eax
test al, al
je 0x552936
mov edx, dword [esi]
mov eax, dword [edx + 0x264]
push 0
push 0
mov ecx, esi
call eax
mov al, 1
jmp 0x552a0f
test bl, bl
je case.0x55282c.10
lea ecx, [esp + 0x18]
call fcn.00544790
cmp byte [esp + 0x54], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], 0
je 0x55295f
or eax, 1
jmp 0x552962
and eax, 0xfffffffe
cmp byte [esp + 0x14], 0
je 0x55296e
or eax, 2
jmp 0x552971
and eax, 0xfffffffd
cmp byte [esp + 0x15], 0
je 0x55297d
or eax, 4
jmp 0x552980
and eax, 0xfffffffb
mov ecx, dword [ebp + 0x5c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x18]
push eax
call edx
test al, al
je 0x5529c3
push 1
push 2
mov ecx, ebp
call fcn.0054e700
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x18], vtable.wxObject.0
call fcn.00511800
mov al, 1
jmp 0x552a0f
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x18], vtable.wxObject.0
call fcn.00511800
mov eax, dword [ebp + 0x114]
push edi
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x55292f
cmp dword [ebp + 0xb4], 0
je 0x552a0d
cmp dword [edi + 4], 0x200
jne 0x552a0d
push edi
call fcn.005838e0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4