Function at 0x10028c60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x101f9e44]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
push 1
push eax
mov dword [esi + 0x530], eax
lea eax, [ebp - 0x10]
push ecx
mov dword [esi + 0x52c], ecx
mov ecx, esi
push eax
mov dword [esi + 0xf4], 1
mov dword [esi + 0xbc], 1
mov dword [esi + 0xb8], 1
mov dword [esi + 0x524], 1
call fcn.10023ef0
mov edi, dword [esi + 0x94]
lea ebx, [esi + 0x53c]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov dword [esi + 0x94], 0
call fcn.10042940
mov dword [esi + 0x94], edi
mov eax, dword [ebx]
test eax, eax
js 0x10029750
mov ecx, dword [esi + 0x2c4]
cmp eax, ecx
jge 0x10029750
mov eax, dword [ebx + 4]
test eax, eax
js 0x10029750
mov edx, dword [esi + 0x2cc]
cmp eax, edx
jge 0x10029750
test byte [ebp + 8], 4
jne 0x10028d32
mov eax, dword [ebx]
mov dword [esi + 0x544], eax
mov eax, dword [ebx + 4]
jmp 0x10028d60
mov eax, dword [esi + 0x544]
test eax, eax
js 0x10028d4e
cmp eax, ecx
jge 0x10028d4e
mov eax, dword [esi + 0x548]
test eax, eax
js 0x10028d4e
cmp eax, edx
jl 0x10028d66
mov eax, dword [esi + 0x54c]
mov dword [esi + 0x544], eax
mov eax, dword [esi + 0x550]
mov dword [esi + 0x548], eax
cmp dword [esi + 0x134], 0
jl 0x10028d7c
cmp dword [esi + 0x138], 0
jge 0x10029750
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1ac]
mov eax, dword [esi + 0x80]
test eax, eax
je 0x10028d9a
mov dword [eax + 0x1744], 0
cmp dword [esi + 0xbc], 0
je 0x10028dc8
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
push dword [esi + 0x540]
push dword [ebx]
push 0x4a0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x540]
mov ecx, dword [ebx]
push eax
mov dword [esi + 0x88], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x8c], eax
call fcn.1000eb30
mov edi, eax
test edi, edi
je 0x10028e53
mov edx, dword [edi]
mov ecx, edi
push 0x101d6ae8
call dword [edx]
mov ecx, eax
call fcn.10046e2e
mov ecx, dword [edi]
test eax, eax
mov edx, dword [esi + 0x53c]
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 0x104], ecx
lea eax, [ebp - 0x10]
mov ecx, dword [esi + 0x540]
push ecx
push edx
mov ecx, esi
push eax
je 0x10028e3b
call fcn.100287c0
mov ecx, edi
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x104]
call dword [eax + 0xd8]
jmp 0x10028e53
call fcn.100287c0
mov ecx, edi
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x104]
call dword [eax + 0xdc]
xor ecx, ecx
test edi, edi
je 0x10028eee
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push dword [esi + 0x540]
mov ecx, esi
push dword [ebx]
movups xmmword [ebp - 0x18], xmm0
call fcn.10024cc0
test eax, eax
je 0x10028eec
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, edi
call dword [eax + 0xa8]
test eax, eax
je 0x10028eec
lea ecx, [ebp - 0xec]
call fcn.100155e0
lea eax, [ebp - 0xec]
push eax
push dword [esi + 0x540]
lea ecx, [esi + 0x178]
push dword [ebx]
call fcn.100193e0
cmp dword [ebp - 0xe4], 1
jne 0x10028eca
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x10]
add ecx, eax
jmp 0x10028ecd
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x10]
dec dword [ebp - 0x18]
inc ecx
push dword [ebp + 0xc]
dec dword [ebp - 0x14]
inc dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x18]
call fcn.100140d0
mov ecx, eax
jmp 0x10028eee
xor ecx, ecx
mov edx, dword [ebx]
cmp edx, dword [esi + 0x54c]
jne 0x10028f50
mov eax, dword [ebx + 4]
cmp eax, dword [esi + 0x550]
jne 0x10028f50
test byte [ebp + 8], 8
jne 0x10028f50
test ecx, ecx
je 0x10028f50
cmp dword [esi + 0x268], 0
je 0x10028f50
push dword [esi + 0x540]
mov ecx, esi
push edx
call fcn.1000eb30
mov ecx, eax
test ecx, ecx
je 0x10028f2f
mov eax, dword [ecx]
call dword [eax + 0x48]
test al, 8
jne 0x10028f50
mov dword [esi + 0x520], 0xa
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
push dword [ebx + 4]
mov ecx, esi
push dword [ebx]
call fcn.10027550
test eax, eax
je 0x10028fe5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, dword [ebp + 8]
test al, 1
je 0x10028fd2
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.10021a30
cmp dword [esi + 0x274], 0
mov ecx, esi
je 0x10028fb1
push 0
push 1
push dword [ebx + 4]
push dword [ebx]
call fcn.10022200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
push dword [ebx + 4]
push dword [ebx]
push 0
push 1
call fcn.100222b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x270], 0
je 0x10028fe5
mov dword [esi + 0x520], 0xb
mov eax, dword [esi + 0x520]
cmp eax, 8
je 0x10029020
cmp eax, 6
je 0x10029020
mov eax, dword [ebx]
cmp eax, dword [esi + 0x2c8]
jl 0x10029011
mov ecx, dword [esi + 0x540]
cmp ecx, dword [esi + 0x2d0]
jl 0x10029011
push ecx
push eax
jmp 0x10029015
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.10021a30
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.1003c24a
cmp dword [esi + 0x520], 0
jne 0x100290c6
cmp dword [esi + 0x56c], 0
je 0x10029082
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.10023e20
test eax, eax
je 0x10029082
cmp dword [esi + 0x520], 8
je 0x100290c6
call fcn.10039fc9
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esi + 0x520], 8
jmp 0x100290c6
cmp dword [esi + 0x568], 0
je 0x100290c6
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.10023d70
test eax, eax
je 0x100290c6
cmp dword [esi + 0x520], 6
je 0x100290c6
call fcn.10039fc9
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esi + 0x520], 6
mov eax, dword [esi + 0x520]
cmp eax, 8
jne 0x1002934e
mov eax, dword [esi + 0x2cc]
mov dword [esi + 0x520], 9
lea ecx, [eax - 1]
test ecx, ecx
js 0x10029107
cmp ecx, eax
jge 0x10029107
cmp ecx, dword [esi + 0x2f0]
jge 0x10029763
mov eax, dword [esi + 0x2ec]
mov eax, dword [eax + ecx*4]
jmp 0x1002910a
or eax, 0xffffffff
cmp eax, dword [esi + 0x564]
jge 0x10029155
push ecx
lea eax, [ebp - 0x114]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0xfc]
mov ecx, esi
push eax
movups xmmword [ebp - 0x114], xmm0
call fcn.10024200
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esi + 0x564]
jge 0x10029155
mov eax, dword [esi + 0x2cc]
dec eax
mov dword [esi + 0x540], eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
push eax
push dword [esi + 0x540]
mov ecx, esi
mov dword [ebp - 0x108], 0
push 0
call fcn.10024a40
test eax, eax
je 0x10029750
cmp dword [esi + 0x2a4], 0
mov ebx, dword [ebp - 0x10c]
jne 0x10029221
mov ecx, dword [ebp + 0xc]
mov edi, dword [esi + 0x564]
sub ecx, ebx
cmp ecx, edi
jl 0x100291be
mov edx, dword [esi + 0x540]
lea eax, [edx + 1]
cmp eax, dword [esi + 0x2cc]
jl 0x100291be
test edx, edx
jns 0x10029221
mov edx, dword [esi + 0x540]
xor ebx, ebx
cmp ecx, edi
mov eax, edx
setl bl
sub eax, ebx
js 0x10029750
mov ecx, edx
sub ecx, ebx
js 0x100291fb
cmp ecx, dword [esi + 0x2cc]
jge 0x100291fb
cmp ecx, dword [esi + 0x2f0]
jge 0x10029763
mov eax, dword [esi + 0x2ec]
cmp dword [eax + ecx*4], 0
jg 0x1002921b
dec edx
mov eax, edx
mov dword [esi + 0x540], edx
sub eax, ebx
jns 0x100291d5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp - 0x10c]
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.10044f11
test eax, eax
je 0x10029254
push dword [eax + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x564]
sub eax, ebx
cmp eax, edx
jge 0x100292be
mov eax, dword [esi + 0x2cc]
mov edi, dword [esi + 0x540]
lea ecx, [eax - 1]
cmp edi, ecx
jl 0x1002929c
test ecx, ecx
js 0x10029295
cmp ecx, eax
jge 0x10029295
cmp ecx, dword [esi + 0x2f0]
jge 0x10029763
mov eax, dword [esi + 0x2ec]
mov eax, dword [eax + ecx*4]
jmp 0x10029298
or eax, 0xffffffff
cmp eax, edx
jle 0x100292be
lea ecx, [ebp - 0x10c]
push ecx
lea eax, [edi - 1]
mov ecx, esi
push eax
push 0
mov dword [esi + 0x540], eax
call fcn.10024a40
test eax, eax
je 0x10029750
mov edi, dword [ebp - 0x20]
mov ecx, esi
sub edi, dword [ebp - 0x28]
call fcn.10026d40
push 0
mov ecx, esi
sub edi, eax
call fcn.1003c606
mov eax, dword [esi + 0x540]
cmp eax, dword [esi + 0x2d0]
jge 0x100292f1
mov edi, dword [ebp - 0x20]
mov edx, 5
add edi, 0xfffffff6
jmp 0x100292fa
mov ecx, esi
call fcn.10026d40
mov edx, eax
lea eax, [edx + 1]
add eax, edi
lea ecx, [edx + 1]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov ecx, esi
push eax
call fcn.10044d03
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
inc dword [ebp - 0x18]
inc dword [ebp - 0x14]
mov eax, dword [esi + 0x540]
cmp eax, dword [esi + 0x2d0]
jg 0x1002933f
sub dword [ebp - 0x10], 5
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
jmp 0x10029731
cmp eax, 6
jne 0x1002958c
mov eax, dword [esi + 0x2c4]
mov dword [esi + 0x520], 7
lea ecx, [eax - 1]
test ecx, ecx
js 0x10029389
cmp ecx, eax
jge 0x10029389
cmp ecx, dword [esi + 0x2dc]
jge 0x10029763
mov eax, dword [esi + 0x2d8]
mov eax, dword [eax + ecx*4]
jmp 0x1002938c
or eax, 0xffffffff
cmp eax, dword [esi + 0x564]
jge 0x100293d3
push ecx
lea eax, [ebp - 0x114]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0xfc]
mov ecx, esi
push eax
movups xmmword [ebp - 0x114], xmm0
call fcn.10024200
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x108]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esi + 0x564]
jge 0x100293d3
mov eax, dword [esi + 0x2c4]
dec eax
mov dword [ebx], eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
push eax
push dword [ebx + 4]
mov ecx, esi
mov dword [ebp - 0x108], 0
push dword [ebx]
call fcn.10024a40
test eax, eax
je 0x10029750
cmp dword [esi + 0x2a8], 0
jne 0x10029492
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x108]
mov edi, dword [esi + 0x564]
cmp edx, edi
jl 0x10029433
mov ecx, dword [ebx]
lea eax, [ecx + 1]
cmp eax, dword [esi + 0x2c4]
jl 0x10029433
test ecx, ecx
jns 0x10029492
xor ecx, ecx
cmp edx, edi
mov edx, dword [ebx]
mov eax, edx
setl cl
sub eax, ecx
mov dword [ebp - 0x104], ecx
js 0x10029750
mov edi, ecx
nop
mov ecx, edx
sub ecx, edi
js 0x10029476
cmp ecx, dword [esi + 0x2c4]
jge 0x10029476
cmp ecx, dword [esi + 0x2dc]
jge 0x10029763
mov eax, dword [esi + 0x2d8]
cmp dword [eax + ecx*4], 0
jg 0x10029492
dec edx
mov eax, edx
mov dword [ebx], edx
sub eax, edi
jns 0x10029450
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.10044f11
test eax, eax
je 0x100294c5
push dword [eax + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x108]
mov edx, dword [esi + 0x564]
cmp eax, edx
jge 0x1002952b
mov eax, dword [esi + 0x2c4]
mov edi, dword [ebx]
lea ecx, [eax - 1]
cmp edi, ecx
jl 0x1002950d
test ecx, ecx
js 0x10029506
cmp ecx, eax
jge 0x10029506
cmp ecx, dword [esi + 0x2dc]
jge 0x10029763
mov eax, dword [esi + 0x2d8]
mov eax, dword [eax + ecx*4]
jmp 0x10029509
or eax, 0xffffffff
cmp eax, edx
jl 0x1002952b
lea ecx, [ebp - 0x10c]
push ecx
lea eax, [edi - 1]
mov ecx, esi
push 0
push eax
mov dword [ebx], eax
call fcn.10024a40
test eax, eax
je 0x10029750
mov edi, dword [ebp - 0x1c]
mov ecx, esi
sub edi, dword [ebp - 0x24]
call fcn.10026cf0
sub edi, eax
mov ecx, esi
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x24], eax
add eax, edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10044d03
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
inc dword [ebp - 0x18]
add dword [ebp - 0x14], 3
mov eax, dword [ebx]
cmp eax, dword [esi + 0x2c8]
jg 0x1002957d
sub dword [ebp - 0xc], 5
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
jmp 0x10029731
cmp eax, 0xb
je 0x10029731
mov eax, dword [ebx]
push dword [esi + 0x20]
mov edi, dword [esi + 0x540]
mov dword [ebp - 0x104], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10029623
mov eax, dword [ebp - 0x104]
mov ecx, esi
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0x100], eax
call fcn.10041fe1
mov dword [ebp - 0xfc], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0xf8], 0xffffff9c
test eax, eax
jne 0x100295f2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1003c24a
mov edi, eax
test edi, edi
je 0x10029623
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10029623
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0xfc]
push 0x4e
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esi + 0x590]
call fcn.1002c7c0
test byte [ebp + 8], 8
je 0x100296a6
mov ecx, dword [esi + 0x580]
mov eax, ecx
neg eax
sbb eax, eax
mov dword [ebp - 0x104], eax
test ecx, ecx
je 0x100296a6
nop word [eax + eax]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xffffffff
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0xc], 0xffffffff
push eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [esi + 0x574]
call fcn.1002c820
push dword [ebp - 0x108]
lea ecx, [esi + 0x590]
call fcn.1002cba0
cmp dword [ebp - 0x104], 0
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
jne 0x10029650
lea ebx, [esi + 0x53c]
mov eax, dword [ebx]
mov ecx, esi
push ebx
cmp eax, dword [esi + 0x2c8]
jge 0x100296bd
mov eax, dword [esi]
call dword [eax + 0x19c]
jmp 0x10029731
mov eax, dword [esi + 0x540]
cmp eax, dword [esi + 0x2d0]
jge 0x100296d5
mov eax, dword [esi]
call dword [eax + 0x198]
jmp 0x10029731
mov eax, dword [esi + 0x274]
neg eax
sbb eax, eax
add eax, 4
mov dword [esi + 0x520], eax
call fcn.10022330
cmp dword [esi + 0xbc], 0
je 0x10029714
push 0
push dword [esi + 0x560]
push 0x201
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x55c], eax
jmp 0x10029731
push dword [esi + 0x540]
lea eax, [ebp - 0x10]
mov ecx, esi
push dword [ebx]
push eax
call fcn.10021a30
mov dword [esi + 0xbc], 1
mov eax, dword [ebp + 0xc]
push 0
push 0
push dword [esi + 0x20]
mov dword [esi + 0x534], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x538], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10174d8d
mov esp, ebp
pop ebp
ret 0xc
call fcn.100393ac
int3