Function at 0x6d19b484
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x94
mov eax, dword [0x6d208610]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
mov ebx, dword [ebp + 0x78]
push esi
push edi
mov esi, ecx
mov eax, dword [esi]
push ebx
mov dword [ebp - 0x18], ebx
call dword [eax + 0x50]
test eax, eax
je 0x6d19b547
mov eax, dword [esi]
lea ecx, [ebx + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x1d8]
mov edi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov dword [ebp], edi
call fcn.6d19b002
cmp edi, dword [ebp - 0x14]
jl 0x6d19b4de
cmp dword [ebp - 0x10], edi
jg 0x6d19b956
cmp dword [ebx + 4], 0x203
jne 0x6d19b519
mov eax, dword [esi + 0x28]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov ebx, 0x44c
push ebx
push eax
call edi
push dword [ebp]
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x28]
push 5
push ebx
push eax
call edi
mov ebx, dword [ebp - 0x18]
mov dword [esi + 0xa4], eax
jmp 0x6d19b525
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.6d19afa6
jmp 0x6d19b956
mov eax, dword [ebx + 4]
cmp eax, 0x202
jne 0x6d19b59a
or edi, 0xffffffff
cmp dword [esi + 0xa0], edi
jne 0x6d19b583
cmp dword [esi + 0xa4], edi
jne 0x6d19b583
mov eax, dword [esi]
lea ecx, [ebx + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x1d8]
mov dword [ebp - 4], eax
mov dword [ebp], eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.6d19afa6
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
jmp 0x6d19b956
cmp eax, 0x200
jne 0x6d19b70e
test byte [ebx + 8], 1
je 0x6d19b70e
mov eax, dword [ebx + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp], eax
lea eax, [ebp + 0x40]
xor edi, edi
push eax
push dword [esi + 0x28]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp - 4], edi
jge 0x6d19b5e7
mov dword [ebp - 8], 1
mov dword [ebp - 4], edi
jmp 0x6d19b5fa
mov eax, dword [ebp + 0x48]
cmp dword [ebp - 4], eax
jle 0x6d19b5fa
dec eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], eax
cmp dword [ebp], edi
jge 0x6d19b60b
mov dword [ebp - 0x1c], 1
mov dword [ebp], edi
jmp 0x6d19b61e
mov eax, dword [ebp + 0x4c]
cmp dword [ebp], eax
jle 0x6d19b61e
dec eax
mov dword [ebp - 0x10], 1
mov dword [ebp], eax
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 0x1d8]
mov edx, dword [esi + 0xa0]
cmp edx, 0xffffffff
je 0x6d19b65f
cmp dword [esi + 0xa4], 0xffffffff
je 0x6d19b65f
cmp eax, dword [esi + 0xa8]
je 0x6d19b65f
mov dword [esi + 0xa8], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
mov dword [ebp - 0x24], edx
call fcn.6d19afa6
cmp dword [ebp - 8], 1
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x6d19b671
cmp dword [ebp - 0xc], 1
jne 0x6d19b6e7
push 0x1c
pop ebx
push ebx
lea eax, [ebp + 0x50]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x50]
push eax
push 0
push dword [esi + 0x28]
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], 7
call dword [sym.imp.USER32.dll_GetScrollInfo]
cmp dword [ebp - 8], 1
jne 0x6d19b6b4
mov eax, dword [ebp + 0x60]
shr eax, 1
sub dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x58]
cmp eax, dword [ebp + 0x64]
jle 0x6d19b6cd
jmp 0x6d19b6ca
cmp dword [ebp - 0xc], 1
jne 0x6d19b6cd
mov eax, dword [ebp + 0x60]
shr eax, 1
add dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x5c]
cmp dword [ebp + 0x64], eax
jl 0x6d19b6cd
mov dword [ebp + 0x64], eax
movzx eax, word [ebp + 0x64]
push 0
shl eax, 0x10
or eax, 4
push eax
push 0x114
push dword [esi + 0x28]
call edi
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 1
jne 0x6d19b6f1
push 0xffffffffffffffff
jmp 0x6d19b6fd
cmp dword [ebp - 0x10], 1
jne 0x6d19b956
push 1
push 0
push 0xb6
push dword [esi + 0x28]
call edi
jmp 0x6d19b956
mov edi, 0x205
cmp eax, edi
je 0x6d19b8f5
cmp eax, 0x104
jne 0x6d19b73b
cmp dword [ebx + 8], 0x79
jne 0x6d19b73b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x6d19b8f5
cmp dword [ebx + 4], 0x20a
jne 0x6d19b8da
xor edi, edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push 0x68
mov dword [ebp - 0xc], 3
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebp - 0xc], edi
jbe 0x6d19b956
mov ebx, dword [esi + 0x28]
push 0xfffffffffffffff0
push ebx
mov dword [ebp], ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x40]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea eax, [ebp + 4]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 0x4c]
cdq
idiv dword [ebp + 4]
push 0
push 0
push 0xba
push ebx
lea edi, [eax + 1]
call dword [sym.imp.USER32.dll_SendMessageW]
test dword [ebp - 0x10], 0x200000
je 0x6d19b7cc
cmp eax, edi
jle 0x6d19b7cc
xor eax, eax
jmp 0x6d19b7cf
xor eax, eax
inc eax
lea edi, [esi + 0xc0]
mov dword [ebp - 8], 0x115
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x6d19b801
test dword [ebp - 0x10], 0x100000
je 0x6d19b801
and dword [ebp - 0x1c], 0
lea edi, [esi + 0xbc]
mov dword [ebp - 8], 0x114
mov eax, dword [ebp - 0x18]
movsx esi, word [eax + 0xa]
add dword [edi], esi
push dword [edi]
call sub.MSVCR100.dll_labs
pop ecx
cmp eax, 0x78
jl 0x6d19b834
cmp dword [ebp - 0xc], 0xffffffff
jne 0x6d19b83f
xor eax, eax
test esi, esi
setle al
push 0
add eax, 2
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [edi], 0
mov ebx, dword [ebp - 0x18]
jmp 0x6d19b956
push 0x1c
pop ebx
push ebx
xor esi, esi
lea eax, [ebp + 0x50]
push esi
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [edi]
cdq
push 0x78
pop ecx
idiv ecx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], 7
imul eax, dword [ebp - 0xc]
push eax
call sub.MSVCR100.dll_abs
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp eax, esi
jle 0x6d19b8cb
lea eax, [ebp + 0x50]
push eax
push dword [ebp - 0x1c]
push dword [ebp]
call dword [sym.imp.USER32.dll_GetScrollInfo]
test eax, eax
je 0x6d19b8b0
cmp dword [ebp - 8], 0x115
jne 0x6d19b8b0
mov eax, dword [edi]
mov ecx, dword [ebp + 0x64]
cmp eax, esi
jge 0x6d19b8a9
mov edx, dword [ebp + 0x5c]
sub edx, dword [ebp + 0x60]
cmp ecx, edx
jge 0x6d19b8cb
cmp eax, esi
jle 0x6d19b8b0
cmp ecx, dword [ebp + 0x58]
jle 0x6d19b8cb
xor eax, eax
cmp dword [edi], esi
push esi
setle al
push eax
push dword [ebp - 8]
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x6d19b877
mov eax, dword [edi]
push 0x78
cdq
pop ecx
idiv ecx
mov dword [edi], edx
jmp 0x6d19b837
mov eax, dword [ebp + 0x7c]
push eax
push ebx
mov ecx, esi
mov dword [esi + 0x9c], eax
call fcn.6d17da14
and dword [esi + 0x9c], 0
jmp 0x6d19b960
cmp dword [ebx + 4], edi
jne 0x6d19b906
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x6d19b90e
or dword [ebp - 4], 0xffffffff
or dword [ebp], 0xffffffff
movzx eax, word [ebp]
movzx ecx, word [ebp - 4]
mov esi, dword [esi + 0x28]
shl eax, 0x10
or eax, ecx
push eax
push esi
push 0x7b
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
jne 0x6d19b956
push 0x10002
push dword [0x6d20b1cc]
call sub.java.dll__JNU_GetEnv_8
mov esi, eax
push str.Message_not_posted__native_event_queue_may_be_full.
push esi
call sub.java.dll__JNU_ThrowInternalError_8
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
mov eax, dword [esi]
push esi
call dword [eax + 0x44]
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
push 2
pop eax
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d1c0acb
add ebp, 0x70
leave
ret 8