Function at 0x4389a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4f53
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2ac], edi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x2a0], eax
lea eax, [esi - 0x1000]
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x2b4], edx
cmp eax, 0xff
ja 0x438a15
push edx
push ecx
push esi
push dword [ebp - 0x2a0]
mov ecx, edi
call fcn.004367f0
jmp 0x439926
movzx eax, dx
mov dword [ebp - 0x298], eax
lea eax, [esi - 0x200]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xe
mov eax, dword [ebp - 0x298]
ja 0x438ab4
cwde
xorps xmm0, xmm0
mov dword [ebp - 0x230], eax
mov eax, edx
shr eax, 0x10
cwde
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x230]
push eax
push dword [edi + 0x2c]
mov dword [ebp - 0x24c], ecx
mov ecx, edi
mov dword [ebp - 0x248], edx
movq qword [ebp - 0x244], xmm0
mov dword [ebp - 0x23c], 0
call fcn.004387b0
lea eax, [ebp - 0x254]
push eax
push 0
push 0x407
push dword [edi + 0x2c]
call esi
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ebp - 0x2b4]
cmp dword [ebp + 0xc], 0x201
movzx eax, ax
mov dword [ebp - 0x298], eax
movzx eax, ax
jne 0x438ce8
cmp byte [edi + 0xb4], 0
je 0x438b1a
movsx esi, ax
mov eax, esi
sub eax, dword [edi + 0x90]
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jg 0x438b08
push dword [ebp - 0x2a0]
call dword [sym.imp.USER32.dll_SetCapture]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [edi + 0xb8], esi
jmp 0x438b1a
push 0xfffffffffffffff4
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetClassLongW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp - 0x2a0]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x298]
movzx edx, ax
mov eax, dword [ebp - 0x2b4]
movsx ecx, dx
lea edx, [ebp - 0x29c]
push edx
push 0
shr eax, 0x10
lea edx, [ebp - 0x2a4]
push edx
cwde
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x29c], 0
call fcn.00435a20
mov esi, dword [ebp - 0x29c]
mov dword [ebp - 0x2a4], eax
test al, 0xe0
je 0x438b92
push 0
push 0
push esi
push 0
push 0xfffffffffffffffe
push dword [edi + 8]
mov ecx, edi
call fcn.00433a90
mov eax, dword [ebp - 0x2a4]
test al, 0x40
je 0x438cd0
mov eax, dword [esi + 0x20]
shr eax, 4
mov cl, al
and al, 1
not cl
and cl, 1
mov byte [ebp - 0x2b5], cl
cmp cl, al
je case.0x439c30.259
mov eax, dword [edi + 8]
test cl, cl
push 0
push 0
push esi
push 0
mov ecx, edi
je 0x438be7
push 0x7d1
push eax
call fcn.00433a90
test eax, eax
jne case.0x439c30.259
or dword [esi + 0x20], 0x30
mov ecx, esi
call fcn.00435620
jmp 0x438c05
push 0x7d2
push eax
call fcn.00433a90
test eax, eax
jne case.0x439c30.259
mov ecx, esi
call fcn.00435620
and dword [esi + 0x20], 0xffffffef
mov dword [ebp - 0x2ac], eax
test eax, eax
je case.0x439c30.259
mov ecx, dword [edi + 0x54]
xor eax, eax
mov dword [ebp - 0x298], eax
test ecx, ecx
je 0x438c6e
cmp ecx, esi
je 0x438c77
mov edx, dword [ecx + 0x14]
inc eax
mov dword [ebp - 0x298], eax
test edx, edx
je 0x438c48
mov eax, dword [ecx + 0x20]
shr eax, 4
test al, 1
je 0x438c48
mov ecx, edx
mov eax, dword [ebp - 0x298]
jmp 0x438c22
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x438c59
mov ecx, eax
mov eax, dword [ebp - 0x298]
jmp 0x438c22
mov eax, dword [ecx + 8]
test eax, eax
je 0x438c6e
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x438c40
mov eax, dword [eax + 8]
test eax, eax
jne 0x438c60
or eax, 0xffffffff
mov dword [ebp - 0x298], eax
push eax
push eax
mov ecx, edi
call fcn.00437b00
mov ecx, dword [ebp - 0x298]
inc ecx
cmp byte [ebp - 0x2b5], 0
je 0x438ca3
push dword [ebp - 0x2ac]
push ecx
mov ecx, edi
call fcn.00436550
jmp case.0x439c30.259
mov eax, dword [ebp - 0x2ac]
neg eax
push eax
push ecx
mov ecx, edi
call fcn.00436550
mov eax, dword [edi + 0x7c]
test eax, eax
je case.0x439c30.259
nop
cmp eax, esi
je 0x438cdb
mov eax, dword [eax + 8]
test eax, eax
jne 0x438cc0
jmp case.0x439c30.259
test eax, 0x1e0
je case.0x439c30.259
push esi
mov ecx, edi
call fcn.00438140
jmp case.0x439c30.259
cmp dword [ebp + 0xc], 0x200
jne 0x438e55
cmp byte [edi + 0xb4], 0
je 0x439c18
movsx esi, ax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x2a0]
jne 0x438d9c
test byte [ebp - 0x2b0], 1
je 0x438d9c
sub esi, dword [edi + 0xb8]
mov dword [ebp - 0x29c], esi
je 0x438d8e
mov ecx, dword [edi + 0x94]
mov edx, ecx
mov esi, dword [edi + 0x90]
sub edx, esi
mov eax, dword [ebp - 0x29c]
add eax, esi
cmp eax, ecx
mov ecx, edi
cmovge edx, dword [ebp - 0x29c]
add dword [edi + 0xb8], edx
add esi, edx
push esi
call fcn.00437d10
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 1
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x120c
push dword [edi + 0xc]
mov dword [ebp - 0x264], esi
call eax
mov ecx, edi
call fcn.00437e90
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_SetCursor]
jmp case.0x439c30.259
mov eax, esi
sub eax, dword [edi + 0x90]
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jle 0x438d8e
push 0xfffffffffffffff4
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetClassLongW]
cmp dword [edi + 0xd4], 0
mov ecx, eax
mov dword [ebp - 0x298], ecx
je 0x438e49
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x29c]
push ecx
lea ecx, [ebp - 0x2ac]
shr eax, 0x10
push ecx
lea ecx, [ebp - 0x2a4]
cwde
push ecx
push eax
push esi
mov ecx, edi
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x29c], 0
call fcn.00435a20
mov ecx, dword [ebp - 0x29c]
test ecx, ecx
je 0x438e43
push dword [ebp - 0x2ac]
mov eax, dword [edi + 0xd4]
push ecx
call eax
mov ecx, dword [ebp - 0x298]
add esp, 8
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
invalid