Function at 0x1003c8fe
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x10077f00
call fcn.1003fa24
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.10057e03
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x1003c929
and dword [ebp - 0x20], eax
jmp 0x1003c92f
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x1003c93b
and dword [ebp - 0x24], ecx
jmp 0x1003c941
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 4]
cmp ebx, 0x100
mov dword [ebp - 0x18], ebx
jb 0x1003c95a
cmp ebx, 0x108
jbe 0x1003c972
cmp ebx, 0x200
jb 0x1003ca17
cmp ebx, 0x209
ja 0x1003ca17
test eax, eax
mov esi, eax
je 0x1003c9c8
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 0x38], 0
jne 0x1003c9a5
push dword [esi + 0x1c]
call edi
push eax
call fcn.10057e03
cmp eax, dword [ebp + 8]
je 0x1003c9a5
push dword [esi + 0x1c]
call edi
push eax
call fcn.10057e03
mov esi, eax
test esi, esi
jne 0x1003c97e
test esi, esi
je 0x1003c9c8
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1003c9c8
mov eax, dword [eax + 0x54]
test eax, eax
je 0x1003c9c8
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x1003ca9c
cmp ebx, 0x101
je 0x1003c9e0
cmp ebx, 0x100
je 0x1003c9e0
cmp ebx, 0x102
jne 0x1003ca17
test esi, esi
je 0x1003ca17
mov esi, dword [esi + 0x38]
test esi, esi
je 0x1003ca17
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0xd
jne 0x1003ca01
test byte [esi + 0x80], 1
jne 0x1003ca10
cmp ax, 0x1b
jne 0x1003ca17
test byte [esi + 0x80], 2
je 0x1003ca17
xor eax, eax
jmp 0x1003cb7e
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.10057e03
mov edi, eax
mov eax, dword [ebp - 0x18]
xor esi, esi
push 2
sub eax, 0x100
mov dword [ebp - 0x1c], esi
pop ebx
je 0x1003cac6
sub eax, ebx
je 0x1003ca6c
sub eax, 4
jne 0x1003cb00
cmp dword [ebp - 0x14], esi
jne 0x1003ca5c
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x1003cb00
mov esi, dword [ebp + 0xc]
cmp word [esi + 8], 0x20
je 0x1003cb00
jmp 0x1003ca6f
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebp + 8]
je 0x1003ca9c
push esi
push edi
call fcn.1003c31d
cmp dword [ebp - 0x18], 0x102
jne 0x1003ca88
test al, 0x84
jne 0x1003cb00
mov cx, word [esi + 8]
cmp cx, 9
jne 0x1003ca96
test bl, al
jne 0x1003cb00
cmp cx, 0x20
jne 0x1003caa4
push 1
pop eax
jmp 0x1003cb7e
push esi
push edi
push dword [ebp + 8]
call fcn.1003c578
test eax, eax
je 0x1003cb00
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1003cb00
push esi
mov ecx, eax
call fcn.10037fcb
jmp 0x1003cc7f
push dword [ebp + 0xc]
push edi
call fcn.1003c31d
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 8]
cmp ecx, 0x1b
jg 0x1003cbe4
je 0x1003cc2f
cmp ecx, 3
je 0x1003cc2f
cmp ecx, 9
je 0x1003cb8f
cmp ecx, 0xd
je 0x1003cc08
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov edi, eax
test edi, edi
je 0x1003cb37
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call fcn.10057e03
cmp eax, dword [ebp - 0x14]
je 0x1003cb37
call esi
push eax
call fcn.10057e03
push eax
call fcn.1003c5ed
pop ecx
push dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x1003cb7c
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
call fcn.10057e03
push eax
push dword [ebp - 0x14]
call fcn.1003c64a
pop ecx
pop ecx
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x1003cb7c
call ebx
push eax
call fcn.10057e03
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.1003c811
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
test al, 2
jne 0x1003cb00
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
mov eax, ecx
je 0x1003cbb0
mov edi, dword [edi + 0x1c]
push eax
mov eax, dword [ebp + 8]
push edi
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.10057e03
mov esi, eax
test esi, esi
je 0x1003cc7f
push esi
call fcn.1003c34b
push esi
push dword [ebp - 0x14]
call fcn.1003c64a
pop ecx
pop ecx
jmp 0x1003cc7f
cmp ecx, 0x25
jl 0x1003cb00
cmp ecx, 0x26
jle 0x1003cc95
cmp ecx, 0x28
jle 0x1003cc9c
cmp ecx, 0x2b
jne 0x1003cb00
push dword [ebp - 0x14]
call fcn.1003c761
test al, 0x10
pop ecx
je 0x1003cc21
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.1005c67b
jmp 0x1003cc29
push dword [ebp + 8]
call fcn.1003c7e4
test esi, esi
mov ebx, eax
jne 0x1003cc42
push ebx
push dword [ebp + 8]
call fcn.1003c6bd
mov esi, eax
test esi, esi
je 0x1003cb00
mov ecx, esi
call fcn.1005c776
test eax, eax
jne 0x1003cc59
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x1003cb00
cmp dword [esi + 0x38], 0
je 0x1003cb00
xor eax, eax
push eax
push eax
push eax
push 1
push 0xfffffdd9
push esi
mov dword [ebp - 4], eax
call fcn.1005c7d9
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push 1
pop edi
jmp 0x1003cb37
mov dword [ebp - 0x1c], 1
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.1003c31d
test al, 1
jne 0x1003cb00
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1003ccb9
mov eax, dword [eax + 0x1c]
push dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push eax
call fcn.10057e03
test eax, eax
je 0x1003cb00
cmp dword [eax + 0x38], 0
je 0x1003cb00
push eax
call fcn.1003c34b
jmp 0x1003cc7f