Function at 0x100d60d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov ebx, eax
cmp dword [0x10165bec], edi
je 0x100d61d8
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x28]
mov dword [0x1016ce44], 1
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100d61ce
mov eax, dword [0x1016ce58]
test eax, eax
je 0x100d6130
lea ecx, [ebp - 0x28]
push ecx
push dword [0x1016ce5c]
call eax
add esp, 8
test eax, eax
je 0x100d61b4
cmp dword [ebp - 0x24], 0x200
mov esi, dword [ebp - 0x18]
jne 0x100d6156
mov eax, dword [0x1016cee8]
test eax, eax
je 0x100d6156
sub eax, esi
inc eax
test eax, eax
jg 0x100d61b4
mov dword [0x1016cee8], 0
mov eax, dword [0x1016ce48]
test eax, eax
je 0x100d618a
cmp esi, eax
jae 0x100d618a
mov ecx, dword [0x1016ce50]
mov eax, ecx
mov edx, dword [0x1016ce54]
or eax, edx
je 0x100d618a
add ecx, 0
mov dword [0x1016ce50], ecx
adc edx, 0xf4240
mov dword [0x1016ce54], edx
lea eax, [ebp - 0x28]
mov dword [0x1016ce48], esi
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebx + 1]
sub eax, dword [ebp - 0x18]
test eax, eax
jg 0x100d61b4
inc edi
cmp edi, 3
jg 0x100d61ce
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x100d6110
mov dword [0x1016ce44], 0
push 0
call fcn.1008fd50
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, eax
add esp, 4
cmp byte [esi + 0xe1], 1
jne 0x100d6214
push 0xa0
call edi
bt ax, 0xf
jb 0x100d6214
push 0xe1
push 0
push 0
push 0
call fcn.10090160
add esp, 0x10
cmp byte [esi + 0xe5], 1
jne 0x100d623e
push 0xa1
call edi
bt ax, 0xf
jb 0x100d623e
push 0xe5
push 0
push 0
push 0
call fcn.10090160
add esp, 0x10
call fcn.1008fd40
test eax, eax
je 0x100d6250
test dword [eax + 0x38], 0x100000
jne 0x100d629e
cmp byte [esi + 0xe3], 1
jne 0x100d6277
push 0x5b
call edi
bt ax, 0xf
jb 0x100d6277
push 0xe3
push 0
push 0
push 0
call fcn.10090160
add esp, 0x10
cmp byte [esi + 0xe7], 1
jne 0x100d629e
push 0x5c
call edi
bt ax, 0xf
jb 0x100d629e
push 0xe7
push 0
push 0
push 0
call fcn.10090160
add esp, 0x10
call fcn.100c9560
mov esi, eax
call fcn.100c0db0
mov edi, eax
mov ebx, edx
test esi, esi
je 0x100d6305
mov esi, dword [esi + 0x18c]
test esi, esi
je 0x100d6305
lea esp, [esp]
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x100d62fb
cmp dword [eax + 0x48], 0
je 0x100d62d9
mov dword [eax + 0x48], 0
jmp 0x100d62f2
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
add ecx, 0xbb8
adc eax, 0
cmp ebx, eax
jb 0x100d62fb
ja 0x100d62f2
cmp edi, ecx
jb 0x100d62fb
push esi
call fcn.100e2d30
add esp, 4
mov esi, dword [esi + 0xf8]
test esi, esi
jne 0x100d62c0
call fcn.1008fd40
test eax, eax
je 0x100d6461
test dword [eax + 0x38], 0x4000
je 0x100d6461
mov edi, dword [eax + 0xf0]
mov dword [ebp - 4], edi
cmp dword [edi + 0xa0], 0
jne 0x100d6461
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100d6461
lea eax, [ebp - 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100d6461
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
call fcn.10092010
cvtsi2ss xmm0, dword [ebp - 8]
sub esp, 8
mov ebx, dword [eax + 0x28]
movss dword [esp + 4], xmm0
cvtsi2ss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
push 0
push ebx
push dword [edi]
call fcn.100d5980
push edx
push eax
call fcn.100931a0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0x1c
test esi, esi
setne al
lea eax, [eax*2 + 1]
push eax
push 1
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
mov eax, dword [ebp - 4]
push ebx
push dword [eax]
call fcn.100d5980
push edx
push eax
call fcn.10093170
add esp, 0x18
test esi, esi
sete al
lea eax, [eax*2 + 1]
push eax
push 2
call edi
mov esi, dword [ebp - 4]
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [esi]
call fcn.100d5980
push edx
push eax
call fcn.10093170
add esp, 0x18
push 2
push 4
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [esi]
call fcn.100d5980
push edx
push eax
call fcn.10093170
add esp, 0x18
push 4
push 5
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [esi]
call fcn.100d5980
push edx
push eax
call fcn.10093170
add esp, 0x18
push 5
push 6
call edi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push ebx
push dword [esi]
call fcn.100d5980
push edx
push eax
call fcn.10093170
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret