Function at 0x46f930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x18], ecx
push edi
push esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push str.0041585D_8160_4109_B95D_3D7ED71CADE9
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetPropW]
mov edi, eax
test edi, edi
jne 0x46f990
push 0x18
call fcn.004db155
add esp, 4
mov edi, eax
xorps xmm0, xmm0
push edi
push str.0041585D_8160_4109_B95D_3D7ED71CADE9
movups xmmword [edi], xmm0
push esi
movq qword [edi + 0x10], xmm0
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, 0x2b0d
call fcn.00464ce0
push eax
mov dword [edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46f9cc
cmp ebx, 0x2b20
je 0x46f9cc
push 0x52d4c8
push 0x52d4b8
call fcn.00464a70
add esp, 8
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x46fcbe
mov eax, dword [ebp - 0x1c]
push 1
or dword [eax + 0x58], 8
push dword [edi]
call dword [sym.imp.USER32.dll_GetAncestor]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
mov dword [edi + 4], eax
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0x14], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0x15], al
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
cmp dword [0x549340], 0
je 0x46fa25
push 1
push str.hideThis
mov ecx, 0x5492d0
call fcn.004347b0
mov dword [0x5492e0], eax
jmp 0x46fa2a
mov eax, dword [0x5492e0]
test eax, eax
setne al
mov byte [edi + 0x16], al
cmp dword [0x549340], 0
je 0x46fa53
push 1
push str.showInfo
mov ecx, 0x5492d0
call fcn.004347b0
mov dword [0x5492e4], eax
jmp 0x46fa58
mov eax, dword [0x5492e4]
test eax, eax
setne al
mov byte [edi + 0x17], al
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
sub ebx, 0x2b03
je 0x46fb9f
sub ebx, 1
je 0x46faf7
sub ebx, 0x1c
jne 0x46fca9
push dword [0x5484e0]
call dword [sym.imp.USER32.dll_SetCursor]
mov ebx, dword [0x5480b4]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push ebx
call edi
mov esi, eax
push eax
or esi, 0x20
test al, 0x20
push str.4E49BC02_FA4C_4051_8161_8E2ABCCEDD7C
push ebx
cmovne esi, eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, esi
or ecx, 0x80000
test esi, 0x80000
cmovne ecx, esi
push ecx
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push ebx
call edi
push 2
push 0x82
push 0
push dword [0x5480b4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
call fcn.00475480
jmp 0x46fca9
cmp byte [edi + 0x15], 0
je 0x46fb10
mov eax, 0x201
mov ecx, 0x204
cmp dword [edi + 8], eax
cmove eax, ecx
mov dword [edi + 8], eax
xor eax, eax
cmp dword [edi + 8], 0x204
setne al
push dword [eax*4 + 0x5484ec]
call dword [sym.imp.USER32.dll_SetCursor]
mov esi, dword [edi]
push 0x54a534
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 8]
cmp eax, 0x201
jne 0x46fb59
cmp byte [edi + 0x14], 0
mov eax, dword [0x54a53c]
mov ecx, dword [0x54a540]
je 0x46fb80
mov eax, dword [0x54a534]
jmp 0x46fb7a
cmp eax, 0x204
jne 0x46fca9
cmp byte [edi + 0x14], 0
mov eax, dword [0x54a534]
mov ecx, dword [0x54a540]
je 0x46fb80
mov eax, dword [0x54a53c]
mov ecx, dword [0x54a538]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x443
push 0
push 0
push 0
push 0
push 0
push 2
push esi
jmp 0x46fc3b
push dword [0x5484e8]
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [edi + 8], 0x201
jne 0x46fca9
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
cdq
sub eax, edx
mov edx, dword [ebp - 8]
mov esi, eax
mov ecx, edx
sar esi, 1
sub ecx, ebx
add esi, dword [ebp - 0x14]
cmp byte [edi + 0x14], 0
je 0x46fbfa
cmp byte [edi + 0x15], 0
jne 0x46fc0e
xor eax, eax
mov ebx, 0xa
cmp ecx, ebx
cmovg eax, ebx
sub edx, eax
jmp 0x46fc19
cmp byte [edi + 0x15], 0
je 0x46fc0e
mov eax, 0xa
xor edx, edx
cmp ecx, eax
cmovg edx, eax
jmp 0x46fc17
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, ebx
xor ecx, ecx
test edx, edx
cmovns ecx, edx
push ecx
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x443
push 0
push 0
push 0
push 0
push 0
push 2
push dword [edi]
mov eax, dword [sym.imp.USER32.dll_GetAncestor]
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [edi + 0x16], 0
je 0x46fca9
mov ebx, dword [0x5480b4]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push ebx
call edi
mov esi, eax
push eax
or esi, 0x20
test al, 0x20
push str.4E49BC02_FA4C_4051_8161_8E2ABCCEDD7C
push ebx
cmovne esi, eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, esi
or ecx, 0x80000
test esi, 0x80000
cmovne ecx, esi
push ecx
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push ebx
call edi
push 2
push 0x64
push 0
push dword [0x5480b4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.USER32.dll_SetCapture]
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dadd7
mov esp, ebp
pop ebp
ret