Function at 0x4ab5d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0xf8]
call eax
movzx ecx, al
test ecx, ecx
je 0x4ab628
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x104]
call edx
movzx eax, al
test eax, eax
jne 0x4ab62f
xor eax, eax
jmp 0x4abefa
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x10c]
call edx
movzx eax, al
test eax, eax
jne 0x4ab669
cmp dword [ebp + 8], 0x200
jb 0x4ab669
cmp dword [ebp + 8], 0x20d
ja 0x4ab669
xor eax, eax
jmp 0x4abefa
cmp dword [ebp + 8], 0x20a
jne 0x4ab68a
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
movzx edx, cx
and edx, 8
jne 0x4ab68a
xor eax, eax
jmp 0x4abefa
cmp dword [ebp + 8], 0x10f
jne 0x4ab726
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00462be0
push eax
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4ab71f
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.USER32.dll_GetCaretPos]
mov dword [ebp - 0x20], 2
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call sub.IMM32.dll_ImmSetCompositionWindow
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00462be0
push eax
call sub.IMM32.dll_ImmReleaseContext
xor eax, eax
jmp 0x4abefa
mov byte [ebp - 0x35], 1
cmp dword [ebp + 8], 0x200
jb 0x4ab73c
cmp dword [ebp + 8], 0x20d
jbe 0x4ab746
cmp dword [ebp + 8], 0x20
jne 0x4ab993
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
call fcn.004ab310
test eax, eax
jne case.default.0x4ab774
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
sub edx, 0x200
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 5
ja case.default.0x4ab774
mov eax, dword [ebp - 0x40]
jmp dword [eax*4 + 0x4abf0c]
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00461e90
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x34]
sub eax, 0x418
cmp dword [ebp - 0x80], eax
je case.default.0x4ab774
mov byte [ebp - 0x35], 0
xor eax, eax
jmp 0x4abefa
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 4]
call fcn.004ab310
test eax, eax
je 0x4ab800
mov dword [ebp - 0x68], 3
jmp 0x4ab807
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
jne 0x4ab8f6
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 4]
call fcn.004aab30
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x60], edx
cmp dword [ebp + 8], 0x20
jne 0x4ab882
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00462be0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x4ab8b4
cmp dword [ebp + 8], 0x20a
jne 0x4ab8b4
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00462be0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4ab8f6
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00463030
movzx ecx, al
test ecx, ecx
jne 0x4ab8f6
mov dword [ebp - 0x4c], 3
cmp dword [ebp - 0x4c], 3
je 0x4ab903
xor eax, eax
jmp 0x4abefa
cmp dword [ebp + 8], 0x20
jne 0x4ab90f
mov byte [ebp - 0x35], 0
jmp 0x4ab98e
cmp dword [ebp + 8], 0x201
je 0x4ab92a
cmp dword [ebp + 8], 0x203
je 0x4ab92a
cmp dword [ebp + 8], 0x204
jne 0x4ab98e
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00463070
movzx eax, al
test eax, eax
jne 0x4ab974
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00462be0
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0x120]
call eax
jmp 0x4abdbd
cmp dword [ebp + 8], 0x100
jb 0x4ab9a5
cmp dword [ebp + 8], 0x109
jbe 0x4ab9b7
cmp dword [ebp + 8], 0x102
je 0x4ab9b7
cmp dword [ebp + 8], 0x286
jne 0x4ab9e4
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x11c]
call edx
movzx eax, al
test eax, eax
jne 0x4ab9df
xor eax, eax
jmp 0x4abefa
jmp 0x4abdbd
cmp dword [ebp + 8], 0x7b
jne 0x4abcc6
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00462be0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00461e90
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
cmp dword [ebp - 0x84], ecx
je 0x4aba7f
mov byte [ebp - 0x35], 0
xor eax, eax
jmp 0x4abefa
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x3c], eax
push 0x7bde64
push 0x65
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x7bde70
push 0x6b
push 0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x861b3b
push 0
push 0x800
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x7bde7c
push 0x66
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x7bde88
push 0x67
push 0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x7bde94
push 0x68
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x7bdea0
push 0x69
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x861b3b
push 0
push 0x800
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push str._A_
push 0x6a
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004a9450
movzx edx, al
test edx, edx
je 0x4abb57
mov dword [ebp - 0x6c], 0
jmp 0x4abb5e
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
push 0x65
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004a93f0
movzx eax, al
test eax, eax
je 0x4abb98
mov dword [ebp - 0x70], 0
jmp 0x4abb9f
mov dword [ebp - 0x70], 1
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
push 0x6b
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004aabf0
movzx ecx, ax
test ecx, ecx
je 0x4abbd9
mov dword [ebp - 0x74], 0
jmp 0x4abbe0
mov dword [ebp - 0x74], 1
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004ab360
movzx eax, al
test eax, eax
je 0x4abc04
mov dword [ebp - 0x78], 1
jmp 0x4abc0b
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x50]
or edx, dword [ebp - 0x54]
push edx
push 0x66
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [ebp - 0x50]
push ecx
push 0x67
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [ebp - 0x50]
or eax, dword [ebp - 0x54]
push eax
push 0x69
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edx, dword [ebp - 0x54]
push edx
push 0x68
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0x418]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00462be0
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00462be0
push eax
push 0
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
push 2
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x4abdbd
cmp dword [ebp + 8], 0x111
jne 0x4abd9c
mov edx, dword [ebp + 0x14]
mov byte [edx], 0
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4abd01
xor eax, eax
jmp 0x4abefa
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
sub ecx, 0x65
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 6
ja case.default.0x4abd25
mov edx, dword [ebp - 0x44]
jmp dword [edx*4 + 0x4abf24]
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004aedf0
jmp case.default.0x4abd25
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004ac580
jmp case.default.0x4abd25
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004a9670
jmp case.default.0x4abd25
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004a94e0
jmp case.default.0x4abd25
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004ac4b0
jmp case.default.0x4abd25
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004a94b0
jmp case.default.0x4abd25
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004add70
jmp 0x4abdbd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x53
je 0x4abdb0
jmp 0x4abdb6
mov byte [ebp - 0x35], 0
jmp 0x4abdbd
xor eax, eax
jmp 0x4abefa
cmp dword [ebp + 8], 0x102
jne 0x4abe56
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004ab2f0
movzx ecx, al
test ecx, ecx
je 0x4abe56
push 0x15
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 1
je 0x4abe0b
push 0
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
call fcn.004ac6f0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x24], 0
jmp 0x4abe56
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x24], 0
jne 0x4abe39
movzx edx, byte [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x4abe37
movzx eax, word [ebp + 0xc]
shl eax, 8
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x24], eax
xor eax, eax
jmp 0x4abefa
jmp 0x4abe56
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0xc]
or eax, dword [edx + 0x24]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0x286
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x24], 0
mov dword [ebp - 0x7c], 0
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
sub ecx, 0x418
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0x418]
mov eax, dword [edx + 0x204]
call eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x4abea0
mov ecx, dword [ebp + 0x14]
mov dl, byte [ebp - 0x35]
mov byte [ecx], dl
jmp 0x4abef7
cmp dword [ebp + 8], 0x100
jb 0x4abeb2
cmp dword [ebp + 8], 0x109
jbe 0x4abec4
cmp dword [ebp + 8], 0x102
je 0x4abec4
cmp dword [ebp + 8], 0x286
jne 0x4abece
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x35]
mov byte [eax], cl
jmp 0x4abef7
cmp dword [ebp + 8], 0x200
jb 0x4abef7
cmp dword [ebp + 8], 0x20d
ja 0x4abef7
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 4]
call fcn.004ab310
test eax, eax
je 0x4abef7
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x35]
mov byte [eax], cl
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 0x10