Function at 0x1002fde3
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100ceb4c
call fcn.10030644
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.100bdc86
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x1002fe0e
and dword [ebp - 0x20], eax
jmp 0x1002fe14
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x1002fe20
and dword [ebp - 0x24], ecx
jmp 0x1002fe26
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 0x1002fe3f
cmp ebx, 0x108
jbe 0x1002fe57
cmp ebx, 0x200
jb 0x1002fefc
cmp ebx, 0x209
ja 0x1002fefc
test eax, eax
mov esi, eax
je 0x1002fead
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 0x38], 0
jne 0x1002fe8a
push dword [esi + 0x1c]
call edi
push eax
call fcn.100bdc86
cmp eax, dword [ebp + 8]
je 0x1002fe8a
push dword [esi + 0x1c]
call edi
push eax
call fcn.100bdc86
mov esi, eax
test esi, esi
jne 0x1002fe63
test esi, esi
je 0x1002fead
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1002fead
mov eax, dword [eax + 0x54]
test eax, eax
je 0x1002fead
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x1002ff81
cmp ebx, 0x101
je 0x1002fec5
cmp ebx, 0x100
je 0x1002fec5
cmp ebx, 0x102
jne 0x1002fefc
test esi, esi
je 0x1002fefc
mov esi, dword [esi + 0x38]
test esi, esi
je 0x1002fefc
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0xd
jne 0x1002fee6
test byte [esi + 0x80], 1
jne 0x1002fef5
cmp ax, 0x1b
jne 0x1002fefc
test byte [esi + 0x80], 2
je 0x1002fefc
xor eax, eax
jmp 0x10030063
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.100bdc86
mov edi, eax
mov eax, dword [ebp - 0x18]
xor esi, esi
push 2
sub eax, 0x100
mov dword [ebp - 0x1c], esi
pop ebx
je 0x1002ffab
sub eax, ebx
je 0x1002ff51
sub eax, 4
jne 0x1002ffe5
cmp dword [ebp - 0x14], esi
jne 0x1002ff41
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x1002ffe5
mov esi, dword [ebp + 0xc]
cmp word [esi + 8], 0x20
je 0x1002ffe5
jmp 0x1002ff54
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebp + 8]
je 0x1002ff81
push esi
push edi
call fcn.1002f802
cmp dword [ebp - 0x18], 0x102
jne 0x1002ff6d
test al, 0x84
jne 0x1002ffe5
mov cx, word [esi + 8]
cmp cx, 9
jne 0x1002ff7b
test bl, al
jne 0x1002ffe5
cmp cx, 0x20
jne 0x1002ff89
push 1
pop eax
jmp 0x10030063
push esi
push edi
push dword [ebp + 8]
call fcn.1002fa5d
test eax, eax
je 0x1002ffe5
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1002ffe5
push esi
mov ecx, eax
call fcn.1002b9a6
jmp 0x10030164
push dword [ebp + 0xc]
push edi
call fcn.1002f802
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 8]
cmp ecx, 0x1b
jg 0x100300c9
je 0x10030114
cmp ecx, 3
je 0x10030114
cmp ecx, 9
je 0x10030074
cmp ecx, 0xd
je 0x100300ed
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
test edi, edi
je 0x1003001c
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call fcn.100bdc86
cmp eax, dword [ebp - 0x14]
je 0x1003001c
call esi
push eax
call fcn.100bdc86
push eax
call fcn.1002fad2
pop ecx
push dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x10030061
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
call fcn.100bdc86
push eax
push dword [ebp - 0x14]
call fcn.1002fb2f
pop ecx
pop ecx
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x10030061
call ebx
push eax
call fcn.100bdc86
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.1002fcf6
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 0x1002ffe5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
mov eax, ecx
je 0x10030095
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.100bdc86
mov esi, eax
test esi, esi
je 0x10030164
push esi
call fcn.1002f830
push esi
push dword [ebp - 0x14]
call fcn.1002fb2f
pop ecx
pop ecx
jmp 0x10030164
cmp ecx, 0x25
jl 0x1002ffe5
cmp ecx, 0x26
jle 0x1003017a
cmp ecx, 0x28
jle 0x10030181
cmp ecx, 0x2b
jne 0x1002ffe5
push dword [ebp - 0x14]
call fcn.1002fc46
test al, 0x10
pop ecx
je 0x10030106
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.100c06cb
jmp 0x1003010e
push dword [ebp + 8]
call fcn.1002fcc9
test esi, esi
mov ebx, eax
jne 0x10030127
push ebx
push dword [ebp + 8]
call fcn.1002fba2
mov esi, eax
test esi, esi
je 0x1002ffe5
mov ecx, esi
call fcn.100c079d
test eax, eax
jne 0x1003013e
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x1002ffe5
cmp dword [esi + 0x38], 0
je 0x1002ffe5
xor eax, eax
push eax
push eax
push eax
push 1
push 0xfffffdd9
push esi
mov dword [ebp - 4], eax
call fcn.100c0800
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push 1
pop edi
jmp 0x1003001c
mov dword [ebp - 0x1c], 1
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.1002f802
test al, 1
jne 0x1002ffe5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1003019e
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.100bdc86
test eax, eax
je 0x1002ffe5
cmp dword [eax + 0x38], 0
je 0x1002ffe5
push eax
call fcn.1002f830
jmp 0x10030164