Function at 0x10061ee0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x5c
mov eax, dword [0x102a0600]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, ecx
mov dword [esp + 0x48], esi
mov ecx, dword [edi + 0x384]
test ecx, ecx
je case.0x10062474.515
mov eax, dword [esp + 0x68]
cmp eax, 0x200
ja 0x1006245d
je 0x10062333
cmp eax, 0x24
ja 0x10062141
je 0x10062120
add eax, 0xfffffffe
cmp eax, 0x1e
ja case.0x10062474.515
movzx eax, byte [eax + 0x10062700]
jmp dword [eax*4 + 0x100626e4]
cmp dword [0x102a6aec], edi
jne 0x10061f62
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
mov dword [0x102a6aec], 0
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x24]
mov eax, dword [edi + 0x384]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], 0x80000000
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.USER32.dll_TrackMouseEvent]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
cmp si, 1
jne case.0x10062474.515
cmp byte [edi + 0x38c], 0
je 0x10061fe4
mov eax, dword [edi + 0x390]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
mov ecx, edi
call fcn.1005dea0
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
cmp dword [esp + 0x6c], 1
je case.0x10062474.515
cmp byte [edi + 0x3a4], 0
jne case.0x10062474.515
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
lea esi, [edi + 0x39c]
mov eax, dword [eax + 0x10]
call eax
push eax
push esi
call fcn.100616c0
add esp, 8
test al, al
je case.0x10062474.515
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], ecx
mov dword [esi], ecx
mov ecx, edi
push eax
call fcn.1005dea0
movzx eax, byte [edi + 0x3aa]
mov ecx, edi
push eax
call fcn.10061e60
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
movzx eax, byte [edi + 0x3aa]
mov ecx, edi
push eax
call fcn.10061e60
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 3
push eax
mov ecx, edi
call fcn.1005dea0
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 2
push eax
mov ecx, edi
call fcn.1005dea0
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
pop edi
mov dword [esi + 0x20], 0xc350
mov dword [esi + 0x24], 0xc350
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
add eax, 0xffffff00
cmp eax, 5
ja case.0x10062474.515
jmp dword [eax*4 + 0x10062720]
cmp byte [edi + 0x398], 0
jne 0x1006216b
test esi, 0x40000000
jne case.0x10062474.515
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x48], ecx
lea eax, [ecx - 0xd800]
cmp eax, 0x3ff
ja 0x1006219a
mov word [edi + 0x3a6], cx
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
lea eax, [ecx - 0xdc00]
cmp eax, 0x3ff
ja 0x10062238
mov ax, word [edi + 0x3a6]
lea esi, [esp + 0x48]
mov word [esp + 0x36], cx
lea ecx, [esp + 0x34]
mov word [esp + 0x34], ax
mov dword [esp + 0x1c], 0x3ff
nop dword [eax]
movzx edx, word [ecx]
add ecx, 2
lea eax, [edx + 0x2800]
cmp ax, word [esp + 0x1c]
ja 0x1006221c
lea eax, [esp + 0x38]
cmp ecx, eax
jae 0x10062214
movzx eax, word [ecx]
add ecx, 2
mov dword [esp + 0x44], eax
add eax, 0xffff2400
cmp eax, 0x3ff
ja 0x10062218
mov eax, edx
mov edx, dword [esp + 0x44]
shl eax, 0xa
add edx, 0xfca02400
add eax, edx
jmp 0x1006221e
lea ecx, [esp + 0x38]
xor eax, eax
jmp 0x1006221e
mov eax, edx
mov dword [esi], eax
lea eax, [esp + 0x38]
add esi, 4
cmp ecx, eax
jb 0x100621d0
mov ecx, dword [esp + 0x48]
xor eax, eax
mov word [edi + 0x3a6], ax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ecx
push eax
mov ecx, edi
mov dword [esp + 0x24], 4
call fcn.1005dea0
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
cmp byte [edi + 0x398], 0
jne 0x1006227c
mov eax, esi
shr eax, 0x10
test eax, 0x4000
jne case.0x10062474.515
mov dword [esp + 0x4c], 5
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
push 0x11
setne byte [esp + 0x5c]
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
push 0x10
setne byte [esp + 0x5d]
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
push 0x5b
setne byte [esp + 0x5e]
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
jne 0x100622e2
push 0x5c
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
mov byte [esp + 0x5b], 0
test eax, eax
je 0x100622e7
mov byte [esp + 0x5b], 1
push esi
mov esi, dword [esp + 0x70]
push esi
call fcn.10063510
push dword [esp + 0x50]
mov dword [esp + 0x5c], eax
push esi
call fcn.10062e10
add esp, 0x10
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call fcn.1005dea0
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
mov dword [esp + 0x4c], 6
jmp 0x10062284
movsx eax, si
mov dword [esp + 0x44], eax
shr esi, 0x10
movsx eax, si
mov dword [esp + 0x48], eax
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [esp + 0x6c], 0x73
jne 0x1006236d
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0x384]
jne 0x10062384
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x10062384
mov esi, dword [edi + 0x384]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, esi
je 0x10062384
push esi
call dword [sym.imp.USER32.dll_SetCapture]
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x50]
jl 0x100623ef
cmp esi, dword [esp + 0x58]
jg 0x100623ef
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x54]
jl 0x100623ef
cmp eax, dword [esp + 0x5c]
jg 0x100623ef
cmp byte [edi + 0x3a8], 0
jne 0x10062440
mov eax, dword [edi + 0x384]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
mov byte [edi + 0x3a8], 1
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], 2
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [esp + 8], 0xc
jmp 0x10062434
cmp byte [edi + 0x3a8], 0
je 0x10062440
mov eax, dword [edi + 0x384]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
mov byte [edi + 0x3a8], 0
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], 0x80000000
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [esp + 8], 0xd
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.1005dea0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xb
mov dword [esp + 0x24], esi
jmp 0x1006230b
add eax, 0xfffffdff
cmp eax, 0xa2
ja case.0x10062474.515
movzx eax, byte [eax + 0x10062774]
jmp dword [eax*4 + 0x10062738]
push 0
mov byte [edi + 0x3a4], 1
call dword [sym.imp.USER32.dll_ClipCursor]
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov byte [edi + 0x3a4], 0
lea esi, [edi + 0x39c]
mov eax, dword [eax + 0x10]
call eax
push eax
push esi
call fcn.100616c0
add esp, 8
test al, al
je 0x10062099
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ecx
jmp 0x1006208f
movsx eax, si
mov dword [esp + 0x40], eax
shr esi, 0x10
movsx eax, si
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x6c]
mov ecx, edi
shr eax, 0x10
movsx esi, ax
mov eax, 0x88888889
imul esi
mov dword [esp + 0x4c], 7
add edx, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
call fcn.1005dea0
movd xmm0, esi
mov dword [esp + 0x50], 0
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1016da14]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], 8
mov dword [esp + 0x5c], eax
movss dword [esp + 0x54], xmm0
jmp 0x10062307
movsx eax, si
mov dword [esp + 0x40], eax
shr esi, 0x10
movsx eax, si
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x6c]
shr eax, 0x10
cwde
mov dword [esp + 0x50], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
xorps xmm0, xmmword [0x1016a3a0]
jmp 0x1006256a
mov dword [esp + 0x4c], 9
mov dword [esp + 0x50], 0
movsx eax, si
shr esi, 0x10
mov dword [esp + 0x54], eax
movsx eax, si
mov dword [esp + 0x58], eax
jmp 0x10062307
mov dword [esp + 0x4c], 0xa
jmp 0x100625da
mov dword [esp + 0x4c], 9
mov dword [esp + 0x50], 1
jmp 0x100625e2
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x50], 1
jmp 0x100625e2
mov dword [esp + 0x4c], 9
mov dword [esp + 0x50], 2
jmp 0x100625e2
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x50], 2
jmp 0x100625e2
mov eax, dword [esp + 0x6c]
shr eax, 0x10
dec eax
mov dword [esp + 0x4c], 9
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [esp + 0x50], eax
jmp 0x100625e2
mov eax, dword [esp + 0x6c]
shr eax, 0x10
dec eax
mov dword [esp + 0x4c], 0xa
neg eax
sbb eax, eax
neg eax
add eax, 3
mov dword [esp + 0x50], eax
jmp 0x100625e2
cmp byte [edi + 0x3a8], 0
je case.0x10062474.515
mov byte [edi + 0x3a8], 0
lea eax, [esp + 8]
mov dword [esp + 8], 0xd
jmp 0x1006230b
mov eax, dword [esp + 0x6c]
cmp eax, 0x8000
je 0x100626c1
cmp eax, 0x8004
jne case.0x10062474.515
test esi, esi
je case.0x10062474.515
cmp dword [esi + 4], 5
jne case.0x10062474.515
call fcn.10068aa0
mov ecx, dword [esp + 0x60]
pop edi
pop esi
xor ecx, esp
call fcn.10084465
add esp, 0x5c
ret 0xc