Function at 0x4173bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
pushal
push 0x1c
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowLongW]
test eax, eax
je 0x4174e6
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x86
je 0x4174fc
cmp eax, 6
je 0x4174fc
cmp eax, 0x1c
je 0x4174fc
cmp eax, 0x20a
je 0x417520
cmp eax, 0x47
je 0x417585
cmp eax, 0x104
je 0x41760b
cmp eax, 0x105
je 0x41760b
cmp eax, 0x100
je 0x41760b
cmp eax, 0x101
je 0x41760b
cmp eax, 7
je 0x41777d
cmp eax, 8
je 0x4177a2
cmp eax, 0x200
je 0x4177d6
cmp eax, 0xf
je 0x417846
cmp eax, 0x10
je 0x4178a3
cmp eax, 2
je 0x4178b3
cmp eax, 0x202
je 0x4178bf
cmp eax, 0x205
je 0x4178bf
cmp eax, 0x208
je 0x4178bf
cmp eax, 0x201
je 0x417904
cmp eax, 0x204
je 0x417904
cmp eax, 0x207
je 0x417904
cmp eax, 0x203
je 0x417991
cmp eax, 0x206
je 0x417991
cmp eax, 0x209
je 0x417991
popal
stc
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov dword [esp + 0x1c], eax
popal
clc
mov esp, ebp
pop ebp
ret 0x10
movzx eax, word [ebp + 0x10]
test eax, eax
je 0x4174ee
push ecx
mov ecx, esi
test ecx, ecx
mov ecx, dword [ecx]
jecxz 0x417515
cmp ecx, 0x40ee7d
jne 0x417509
pop ecx
jne 0x41751e
mov dword [0x4613ac], esi
jmp 0x4174ee
movsx ecx, word [ebp + 0x14]
movsx edx, word [ebp + 0x16]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_ScreenToClient]
mov ecx, dword [ebp - 4]
shl ecx, 0x10
mov cx, word [ebp - 8]
mov dword [ebp + 0x14], ecx
movsx ecx, word [ebp + 0x14]
movsx edx, word [ebp + 0x16]
call fcn.004179db
mov eax, dword [ebp + 0x10]
sar eax, 0x10
mov ecx, 4
test eax, eax
jns 0x41756b
mov ecx, 5
neg eax
mov ebx, 0x78
cdq
div ebx
push eax
push ecx
push 1
push edi
mov eax, dword [edi]
call dword [eax + 0xc8]
jmp 0x4174ee
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowLongW]
xor ecx, ecx
and eax, 0x21000000
je 0x4175b0
mov ecx, 3
or ecx, dword [esi + 0x74]
test eax, 0x1000000
jne 0x4175b0
mov ecx, 4
or ecx, dword [esi + 0x74]
mov dword [esi + 0x74], ecx
mov ebx, dword [ebp + 0x14]
test dword [ebx + 0x18], 2
jne 0x4175e0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_ClientToScreen]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
mov eax, dword [esi]
call dword [eax + 0x48]
test dword [ebx + 0x18], 1
jne 0x4174ee
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x48]
call dword [sym.imp.user32.dll_GetClientRect]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
mov eax, dword [esi]
call dword [eax + 0x4c]
jmp 0x4174ee
lea ebx, [ebp - 0x134]
push ebx
call dword [sym.imp.user32.dll_GetKeyboardState]
mov eax, dword [ebp + 0x14]
mov ecx, eax
shr eax, 0x10
and ecx, 0x80000000
and eax, 0xff
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
or eax, ecx
lea edx, [ebp - 0x34]
push 0
push 0x10
push edx
push ebx
push eax
push dword [ebp + 0x10]
call dword [sym.imp.user32.dll_ToUnicode]
xor ecx, ecx
test eax, eax
je 0x417675
js 0x417675
lea edx, [ebp - 0x14]
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x34]
push 0
push 0
push 8
push edx
push eax
push ecx
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
xor ebx, ebx
test byte [ebp - 0x123], 0x80
je 0x417683
or ebx, 4
test byte [ebp - 0x124], 0x80
je 0x41768f
or ebx, 1
test byte [ebp - 0x122], 0x80
je 0x41769b
or ebx, 8
test byte [ebp - 0xa3], 1
je 0x4176a7
or ebx, 0x20
test byte [ebp - 0x120], 1
je 0x4176b3
or ebx, 2
test byte [ebp - 0x133], 0x80
je 0x4176c2
or ebx, 0x100
test byte [ebp - 0x132], 0x80
je 0x4176d1
or ebx, 0x400
test byte [ebp - 0x130], 0x80
je 0x4176e0
or ebx, 0x200
cmp dword [ebp + 0xc], 0x101
je 0x41773b
cmp dword [ebp + 0xc], 0x105
je 0x41773b
mov edi, dword [0x4613b8]
test edi, edi
jne 0x417729
mov edi, dword [0x4613ac]
test edi, edi
je 0x41771f
mov edi, dword [edi + 0xec]
test edi, edi
je 0x41771f
push ebx
push dword [ebp - 4]
push dword [ebp - 0x14]
push edi
mov eax, dword [edi]
call dword [eax + 0x28]
jb 0x41775e
mov edi, dword [0x4613b0]
test edi, edi
je 0x41775e
push ebx
push dword [ebp - 4]
push dword [ebp - 0x14]
push edi
mov eax, dword [edi]
call dword [eax + 0xcc]
jmp 0x41775e
cmp dword [0x4613b0], 0
je 0x41775e
push ebx
push dword [ebp - 4]
push dword [ebp - 0x14]
push dword [0x4613b0]
mov eax, dword [0x4613b0]
mov eax, dword [eax]
call dword [eax + 0xd0]
cmp dword [ebp + 0xc], 0x104
je 0x4174e6
cmp dword [ebp + 0xc], 0x105
je 0x4174e6
jmp 0x4174ee
push ecx
mov ecx, esi
test ecx, ecx
mov ecx, dword [ecx]
jecxz 0x41778e
cmp ecx, 0x40ee7d
jne 0x417782
pop ecx
jne 0x417797
mov dword [0x4613ac], esi
push esi
call fcn.00417148
jmp 0x4174ee
push ecx
mov ecx, esi
test ecx, ecx
mov ecx, dword [ecx]
jecxz 0x4177b3
cmp ecx, 0x40ee7d
jne 0x4177a7
pop ecx
jne 0x4177c0
mov dword [0x4613ac], 0
cmp dword [ebp + 0x10], 0
jne 0x4174ee
push 0
call fcn.00417148
jmp 0x4174ee
movsx ecx, word [ebp + 0x14]
movsx edx, word [ebp + 0x16]
push 0
push edx
push ecx
push esi
call fcn.00416f08
jb 0x4174ee
call fcn.004179db
push edi
mov eax, dword [edi]
call dword [eax + 0x54]
test eax, eax
je 0x4174ee
cmp edi, dword [0x4613a8]
je 0x417834
cmp dword [0x4613a8], 0
je 0x417825
push dword [0x4613a8]
mov eax, dword [0x4613a8]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov dword [0x4613a8], edi
push edi
mov eax, dword [edi]
call dword [eax + 0xb0]
push 0
push edx
push ecx
push edi
mov eax, dword [edi]
call dword [eax + 0xb8]
jmp 0x4174ee
push eax
push esi
mov eax, dword [esi]
call dword [eax + pe_nt_image_headers32]
mov edi, eax
pop eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_BeginPaint]
mov dword [ebp - 4], eax
test edi, edi
je 0x417891
push edi
push esi
call fcn.0040c70f
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x38]
push edx
push ecx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push edi
push dword [ebp - 4]
call fcn.0040ad00
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_EndPaint]
jmp 0x4174ee
push 0
push esi
mov eax, dword [esi]
call dword [eax + 0xd4]
jmp 0x4174ee
mov dword [esi + 0x48], 0
jmp 0x4174e6
movsx ecx, word [ebp + 0x14]
movsx edx, word [ebp + 0x16]
call fcn.004179db
push edi
mov eax, dword [edi]
call dword [eax + 0x54]
test eax, eax
je 0x4174ee
mov ebx, dword [ebp + 0xc]
sub ebx, 0x201
movzx ebx, byte [ebx + 0x4179ff]
push dword [ebp + 0x10]
call fcn.00417a08
push edx
push ecx
push eax
push ebx
push edi
mov eax, dword [edi]
call dword [eax + 0xc0]
jmp 0x4174ee
movsx ecx, word [ebp + 0x14]
movsx edx, word [ebp + 0x16]
mov ebx, dword [ebp + 0xc]
sub ebx, 0x201
movzx ebx, byte [ebx + 0x4179ff]
push dword [ebp + 0x10]
call fcn.00417a08
mov dword [ebp - 4], eax
push edx
push ecx
push eax
push ebx
push esi
call fcn.00416f50
jb 0x4174ee
call fcn.004179db
push edi
mov eax, dword [edi]
call dword [eax + 0x54]
test eax, eax
je 0x4174ee
cmp edi, dword [0x4613b0]
je 0x41797d
push edi
mov eax, dword [edi]
call dword [eax + 0x7c]
test eax, eax
je 0x41797d
mov eax, dword [0x4613b0]
mov dword [0x4613b0], edi
test eax, eax
je 0x417974
push eax
mov eax, dword [eax]
call dword [eax + 0xac]
push edi
mov eax, dword [edi]
call dword [eax + 0xa8]
push edx
push ecx
push dword [ebp - 4]
push ebx
push edi
mov eax, dword [edi]
call dword [eax + 0xbc]
jmp 0x4174ee
movsx ecx, word [ebp + 0x14]
movsx edx, word [ebp + 0x16]
mov ebx, dword [ebp + 0xc]
sub ebx, 0x201
movzx ebx, byte [ebx + 0x4179ff]
push dword [ebp + 0x10]
call fcn.00417a08
mov dword [ebp - 4], eax
call fcn.004179db
push edi
mov eax, dword [edi]
call dword [eax + 0x54]
test eax, eax
je 0x4174ee
push edx
push ecx
push dword [ebp - 4]
push ebx
push edi
mov eax, dword [edi]
call dword [eax + 0xc4]
jmp 0x4174ee