Function at 0x4e4ed0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fbf0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x90]
cmp eax, method.ui::CheckBoxTemplate_class_ui::Box_.virtual_144
jne 0x4e54a1
mov al, byte [esi + 0x82]
test al, al
jne 0x4e4f29
mov eax, dword [edi]
cmp eax, 0xd
jle 0x4e4f29
cmp eax, 0x19
jl 0x4e4f46
mov eax, dword [esi]
mov eax, dword [eax + 0x88]
cmp eax, method.ui::CheckBoxTemplate_class_ui::Box_.virtual_136
jne 0x4e54a8
mov al, byte [esi + 0x81]
test al, al
jne 0x4e4f67
mov ecx, dword [esi + 0x24]
push edi
test ecx, ecx
je 0x4e4f5b
mov eax, dword [ecx]
call dword [eax + 0xd0]
jmp 0x4e5483
mov ecx, esi
call fcn.004cb180
jmp 0x4e5483
mov ecx, dword [edi]
cmp ecx, 0x28
jne 0x4e501f
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
add edi, 0xc
lea eax, [ebp - 0x28]
push eax
sub esp, 8
mov eax, dword [edi]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov ecx, esi
call fcn.004e7570
test al, al
je 0x4e4ff4
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4e5483
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e5010
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e54b1
jmp 0x4e5010
mov ecx, dword [esi + 0x448]
test ecx, ecx
je 0x4e5009
push edi
push ecx
call fcn.004e3020
test eax, eax
jne 0x4e4fbe
push 0x7f01
jmp 0x4e4faf
push edx
push ecx
call fcn.0060223e
add esp, 8
jmp 0x4e5483
cmp ecx, 0xa
jne 0x4e5100
push 9
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4e50a5
cmp byte [esi + 0x44d], 0
jne 0x4e50a5
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4e5483
xor eax, eax
mov dword [ebp - 0x50], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0xf8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0xfc]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], 0x2e
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x58]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call dword [eax + 0xd0]
jmp 0x4e5483
cmp byte [esi + 0x454], 0
je 0x4e50c3
mov eax, dword [edi + 0x18]
cmp eax, 0x30
jb 0x4e5483
cmp eax, 0x39
ja 0x4e5483
mov eax, dword [esi]
mov edx, dword [edi + 0x1c]
mov edi, dword [edi + 0x18]
mov eax, dword [eax + 0x1dc]
cmp eax, method.ui::RichEdit.1.virtual_476
jne 0x4e54b6
mov ecx, dword [esi + 0x448]
test ecx, ecx
je 0x4e5483
mov ecx, dword [ecx + 0xc]
push 0
push edx
push edi
mov eax, dword [ecx]
push 0x102
call dword [eax + 0xc]
jmp 0x4e5483
cmp ecx, 8
jne 0x4e5112
push edi
mov ecx, esi
call fcn.004e54d0
jmp 0x4e5483
cmp ecx, 0xe
jne 0x4e5122
push edi
push 0x200
jmp 0x4e547c
cmp ecx, 0x18
jne 0x4e5145
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4e5483
push edi
mov ecx, esi
call fcn.004de4b0
jmp 0x4e5483
cmp ecx, 0x12
je 0x4e53b7
cmp ecx, 0x20
je 0x4e53b7
cmp ecx, 0x13
je 0x4e535b
cmp ecx, 0x22
je 0x4e535b
test ecx, ecx
jne 0x4e5191
cmp byte [esi + 0x451], 0
mov ecx, esi
je 0x4e5186
push 0xffffffffffffffff
push 0
call fcn.004e3c70
jmp 0x4e5483
push edi
push 0x203
jmp 0x4e547e
cmp ecx, 0x14
jne 0x4e51a1
push edi
push 0x204
jmp 0x4e547c
cmp ecx, 0x15
jne 0x4e51b1
push edi
push 0x205
jmp 0x4e547c
cmp ecx, 0x30
jne 0x4e5240
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, method.ui::CheckBoxTemplate_class_ui::Box_.virtual_0
jne 0x4e54c5
mov eax, dword [esi + 0x20]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4e5483
push edi
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov ebx, eax
test ebx, ebx
je 0x4e5483
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004d8ea0
mov ecx, dword [esi + 0x460]
mov edx, 1
sub ecx, dword [ebp - 0x34]
mov eax, dword [esi + 0x464]
sub eax, dword [ebp - 0x30]
cmp ecx, edx
mov dword [ebp - 0x2c], 2
cmovl ecx, edx
cmp eax, edx
mov dword [ebp - 0x28], ecx
cmovl eax, edx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.IMM32.dll_ImmSetCompositionWindow]
push ebx
push edi
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov byte [esi + 0x45c], 1
jmp 0x4e5483
cmp ecx, 0x31
jne 0x4e5251
mov byte [esi + 0x45c], 0
jmp 0x4e5483
cmp ecx, 2
jne 0x4e52a8
mov edi, dword [esi + 0x448]
test edi, edi
je 0x4e5295
mov ecx, dword [edi + 0xc]
or dword [edi + 0x14], 0x20
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jns 0x4e5276
and dword [edi + 0x14], 0xffffffdf
mov eax, dword [esi + 0x448]
push 0
push 0
push 0
mov ecx, dword [eax + 0xc]
push 7
mov eax, dword [ecx]
call dword [eax + 0xc]
push 1
mov ecx, esi
call fcn.004e6ee0
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 0x84], 1
call dword [eax + 0x2c]
jmp 0x4e5483
cmp ecx, 3
jne 0x4e5138
mov edi, dword [esi + 0x448]
test edi, edi
je 0x4e52f0
mov ecx, dword [edi + 0xc]
or dword [edi + 0x14], 0x20
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jns 0x4e52d1
and dword [edi + 0x14], 0xffffffdf
mov eax, dword [esi + 0x448]
push 0
push 0
push 0
mov ecx, dword [eax + 0xc]
push 8
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0
mov ecx, esi
call fcn.004e6ee0
cmp byte [esi + 0x458], 0
mov byte [esi + 0x84], 0
mov byte [esi + 0x457], 0
je 0x4e5324
cmp byte [esi + 0x451], 0
je 0x4e5324
cmp byte [esi + 0x81], 0
je 0x4e5324
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004e3c70
cmp byte [esi + 0x459], 0
je 0x4e5341
cmp byte [esi + 0x81], 0
je 0x4e5341
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004e3c70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
push 0
call fcn.004fda20
mov ecx, eax
call fcn.004fda70
jmp 0x4e5483
cmp byte [esi + 0x81], 0
je 0x4e53ac
cmp byte [esi + 0x457], 0
jne 0x4e53ac
cmp byte [esi + 0x459], 0
mov byte [esi + 0x457], 1
je 0x4e53ac
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004e3c70
test byte [esi + 0x48c], 4
mov ecx, esi
mov eax, dword [esi]
je 0x4e53a6
call dword [eax + 0x198]
push edi
push 0x202
jmp 0x4e547c
call dword [eax + 0x1a8]
push edi
push 0x202
jmp 0x4e547c
mov eax, dword [esi + 0x59c]
sub eax, dword [esi + 0x598]
sar eax, 5
test eax, eax
je 0x4e5463
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov eax, dword [edi + 0xc]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
mov ecx, esi
call fcn.004e7570
test al, al
je 0x4e5424
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4e4fbe
push 0
push 0
push 0x2f
push esi
call fcn.004c0c20
jmp 0x4e4fbe
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4e5461
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e5457
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e54b1
push edx
push ecx
call fcn.0060223e
add esp, 8
mov ecx, dword [edi]
cmp ecx, 0x20
jne 0x4e5476
push 1
call fcn.004fda20
mov ecx, eax
call fcn.004fda70
push edi
push 0x201
mov ecx, esi
call fcn.004e5850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 4
call eax
jmp 0x4e4f19
mov ecx, esi
call eax
jmp 0x4e4f42
call fcn.00621ffe
push 0
push edx
push edi
push 0x102
mov ecx, esi
call eax
jmp 0x4e5483
mov ecx, esi
call eax
jmp 0x4e51cc