Function at 0x100d2570
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10104280
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x154], edi
je 0x100d2ad8
mov ebx, dword [sym.imp.USER32.dll_GetCapture]
call ebx
test eax, eax
jne 0x100d2ad8
push ebp
call fcn.100beb50
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.100f6a7d
push esi
lea ecx, [esp + 0x94]
call fcn.100fbbd9
push esi
lea ecx, [esp + 0xa8]
mov dword [esp + 0xe4], edi
call fcn.100fbbd9
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe0], 1
push ecx
mov ecx, esi
call fcn.100d06a0
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x18]
push 1
push ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xb4]
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_DPtoLP]
lea eax, [esp + 0x4c]
push 1
push eax
mov ecx, esi
call fcn.100d0b80
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [ecx]
add edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], edx
add eax, ecx
lea edx, [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.100fba3d
mov edx, dword [esi + 0x1c]
push edi
push 0x64
push 0x65
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x14], edi
call ebx
push eax
call fcn.100f6a7d
mov ebp, dword [sym.imp.USER32.dll_DrawFocusRect]
cmp eax, esi
jne 0x100d28c6
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100d28c6
push 0
push 0
lea eax, [esp + 0x38]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x100d28bc
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.100d16f0
cmp eax, 1
je 0x100d28a6
mov eax, dword [esp + 0x34]
cmp eax, 0x100
jne 0x100d26ea
cmp dword [esp + 0x38], 0x1b
je 0x100d28c6
jmp 0x100d26f5
cmp eax, 0x204
je 0x100d28c6
test esi, esi
jne 0x100d26fd
xor ecx, ecx
jmp 0x100d2700
mov ecx, dword [esi + 0x1c]
cmp dword [esp + 0x30], ecx
je 0x100d2716
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x100d28a6
cmp eax, 0x113
jne 0x100d27b3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
or bl, 0xff
cmp eax, ecx
mov byte [esp + 0x13], 0xff
jg 0x100d273f
mov byte [esp + 0x13], 0
jmp 0x100d274d
cmp eax, dword [esp + 0x88]
jl 0x100d274d
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jg 0x100d2760
xor bl, bl
jmp 0x100d276b
cmp eax, dword [esp + 0x8c]
jl 0x100d276b
mov bl, 1
cmp byte [esp + 0x13], 0xff
jne 0x100d277b
cmp bl, 0xff
je 0x100d28a6
cmp edi, 1
jne 0x100d2791
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x6c]
push eax
push ecx
call ebp
xor edi, edi
mov edx, dword [esi]
xor eax, eax
mov ah, bl
push 1
mov al, byte [esp + 0x17]
push 0
push eax
mov ecx, esi
call dword [edx + 0xbc]
mov eax, dword [esp + 0x34]
cmp eax, 0x113
je 0x100d27d1
cmp eax, 0x1ff
jbe 0x100d27c1
cmp eax, 0x203
jbe 0x100d27d1
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x100d28a6
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esp + 0x34], 0x202
jne 0x100d2817
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x100d28a6
cmp edi, 1
jne 0x100d282b
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x6c]
push edx
push eax
call ebp
lea ecx, [esp + 0x4c]
push 1
push ecx
mov ecx, esi
call fcn.100d0b80
mov edx, eax
push 1
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x1c]
sub edx, eax
mov eax, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edi
call fcn.100fe0d3
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x6c]
push eax
push ecx
call ebp
mov edi, 1
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.100f6a7d
cmp eax, esi
je 0x100d2698
jmp 0x100d28c6
mov edx, dword [esp + 0x38]
push edx
call fcn.100ffe0d
mov eax, dword [esi + 0x1c]
push 0x65
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp edi, 1
jne 0x100d28ec
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x6c]
push ecx
push edx
call ebp
cmp dword [esp + 0x14], 1
jne 0x100d2aac
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov eax, ecx
test eax, eax
mov dword [esp + 0x7c], eax
jne 0x100d2919
push ecx
mov ecx, esi
call fcn.100d1920
lea edx, [esp + 0x4c]
push 1
push edx
mov ecx, esi
call fcn.100d0b80
mov edi, dword [eax]
mov ecx, dword [esp + 0xac]
push 1
mov ebx, dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add ecx, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.100fe0d3
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100d2aac
mov ecx, dword [esi + 0x154]
mov dword [esp + 0x14], 0
mov eax, dword [ecx + 0x14]
dec eax
mov dword [esp + 0x20], eax
js 0x100d2aac
mov edx, dword [esi + 0x154]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + ecx*4]
lea edx, [edi + 0xc]
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x5c], ebp
mov eax, dword [edx + 4]
mov dword [esp + 0x60], eax
mov ebx, dword [edx + 8]
mov dword [esp + 0x64], ebx
mov ecx, dword [edx + 0xc]
add eax, ecx
mov dword [esp + 0x68], ecx
cdq
sub eax, edx
mov ecx, eax
lea eax, [ebx + ebp]
cdq
sub eax, edx
lea edx, [esp + 0xd0]
sar eax, 1
sar ecx, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x24]
lea eax, [esp + 0x4c]
push eax
push ecx
lea eax, [esp + 0xd0]
push edx
lea ecx, [esp + 0xcc]
push eax
lea edx, [esp + 0xc8]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
call fcn.100bedd0
lea ecx, [esp + 0x78]
lea edx, [esp + 0xd4]
push ecx
push 4
push edx
call fcn.100bebe0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
add esp, 0x28
lea edx, [esp + 0x30]
push eax
push ecx
push edx
call ebx
cmp eax, 1
jne 0x100d2a97
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call ebx
cmp eax, 1
jne 0x100d2a97
cmp dword [esp + 0x7c], 1
jne 0x100d2a8d
push edi
mov ecx, esi
call fcn.100d0790
cmp eax, 1
jne 0x100d2a8d
push edi
mov ecx, esi
call fcn.100d1920
jmp 0x100d2a97
push 1
push edi
mov ecx, esi
call fcn.100d1780
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x100d29a5
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe0], 0
call fcn.100fbc4b
lea ecx, [esp + 0x90]
mov dword [esp + 0xe0], 0xffffffff
call fcn.100fbc4b
pop ebp
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret 4