Function at 0x10014daf
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x10030f16
call fcn.100174cc
sub esp, 0x20
mov eax, dword [ebp + 8]
test eax, eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
jne 0x10014dce
and dword [ebp - 0x28], eax
jmp 0x10014dd4
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 4]
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x2c], eax
call fcn.10025b3c
mov ebx, 0x100
cmp esi, ebx
mov dword [ebp - 0x14], eax
jb 0x10014e00
cmp esi, 0x109
jbe 0x10014e18
cmp esi, 0x200
jb 0x10014ec5
cmp esi, 0x209
ja 0x10014ec5
test eax, eax
je 0x10014ec5
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 0x4c], 0
jne 0x10014e50
push dword [esi + 0x1c]
call edi
push eax
call fcn.10025b3c
cmp eax, dword [ebp + 8]
je 0x10014e50
push dword [esi + 0x1c]
call edi
push eax
call fcn.10025b3c
mov esi, eax
test esi, esi
jne 0x10014e29
test esi, esi
je 0x10014e77
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x10014e77
cmp dword [eax + 0x54], 0
je 0x10014e77
mov eax, dword [eax + 0x54]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x10014e77
inc eax
jmp 0x1001501e
cmp dword [ebp - 0x18], 0x101
je 0x10014e8e
cmp dword [ebp - 0x18], ebx
je 0x10014e8e
cmp dword [ebp - 0x18], 0x102
jne 0x10014ec2
test esi, esi
je 0x10014ec2
mov esi, dword [esi + 0x4c]
test esi, esi
je 0x10014ec2
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0xd
jne 0x10014eb3
test byte [esi + 0x80], 1
jne 0x10014f3e
cmp ax, 0x1b
jne 0x10014ec2
test byte [esi + 0x80], 2
jne 0x10014f3e
mov edi, dword [ebp + 0xc]
push dword [edi]
call fcn.10025b3c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
xor esi, esi
and dword [ebp - 0x24], esi
sub eax, ebx
mov dword [ebp - 0x20], 2
je 0x10014f69
dec eax
dec eax
je 0x10014f14
sub eax, 4
jne 0x10014fa0
cmp dword [ebp - 0x14], esi
jne 0x10014f09
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x10014fa0
cmp word [edi + 8], 0x20
je 0x10014fa0
push edi
push dword [ebp - 0x1c]
call fcn.10014635
cmp dword [ebp - 0x18], 0x102
jne 0x10014f2a
test al, 0x84
jne 0x10014fa0
mov cx, word [edi + 8]
cmp cx, 9
jne 0x10014f38
test al, 2
jne 0x10014fa0
cmp cx, 0x20
jne 0x10014f45
xor eax, eax
jmp 0x1001501e
push edi
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.100149d9
test eax, eax
je 0x10014fa0
mov eax, dword [eax + 4]
test eax, eax
je 0x10014fa0
push edi
mov ecx, eax
call fcn.1000f899
jmp 0x100151c8
push edi
push dword [ebp - 0x1c]
call fcn.10014635
movzx ecx, word [edi + 8]
cmp ecx, 0x1b
jg 0x100150b5
je 0x1001510d
cmp ecx, 3
je 0x1001510d
cmp ecx, 9
je 0x1001502f
cmp ecx, 0xd
je 0x100150d9
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 0x10014fd7
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call fcn.10025b3c
cmp eax, dword [ebp - 0x14]
je 0x10014fd7
call esi
push eax
call fcn.10025b3c
push eax
call fcn.10014ab4
pop ecx
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x1001501c
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
call fcn.10025b3c
push eax
push dword [ebp - 0x14]
call fcn.10014b21
pop ecx
pop ecx
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x1001501c
call ebx
push eax
call fcn.10025b3c
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.10014ccf
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 0x10014fa0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [ebp + 8]
xor ebx, ebx
test ax, ax
setl bl
mov ecx, esi
push ebx
push 0
call fcn.1002821d
test eax, eax
je 0x10014fa0
cmp dword [eax + 4], 0
je 0x10015075
mov eax, dword [eax + 4]
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0xac]
jmp 0x100151c8
mov eax, dword [eax]
test eax, eax
je 0x10015083
push eax
call fcn.10025b3c
jmp 0x1001508e
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.1000bcf7
mov edi, eax
test edi, edi
je 0x100151c8
mov eax, dword [esi + 0x48]
and dword [eax + 0x6c], 0
push edi
call fcn.1001471e
push edi
push dword [ebp - 0x14]
call fcn.10014b21
pop ecx
pop ecx
jmp 0x100151c8
cmp ecx, 0x25
jl 0x10014fa0
cmp ecx, 0x26
jle 0x1001516e
cmp ecx, 0x28
jle 0x10015175
cmp ecx, 0x2b
jne 0x10014fa0
test al, 4
jne 0x10014fa0
push dword [ebp - 0x14]
call fcn.100146c3
test al, 0x10
pop ecx
je 0x100150fa
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.10027ffb
jmp 0x10015102
push dword [ebp + 8]
call fcn.10014ca2
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x20], eax
jne 0x10015124
jmp 0x1001510f
xor edi, edi
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.10014b9c
mov esi, eax
cmp esi, edi
je 0x10014fa0
mov ecx, esi
call fcn.10028075
test eax, eax
jne 0x1001513b
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10014fa0
cmp dword [esi + 0x4c], edi
je 0x10014fa0
push edi
push edi
push edi
push 1
push 0xfffffdd9
push esi
mov dword [ebp - 4], edi
call fcn.100280d2
add esp, 0x18
or dword [ebp - 4], 0xffffffff
jmp 0x100151c8
mov dword [ebp - 0x24], 1
push edi
push dword [ebp - 0x14]
call fcn.10014635
test al, 1
jne 0x10014fa0
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp + 8]
push 0
je 0x10015198
call fcn.100282f9
jmp 0x1001519d
call fcn.100283f5
mov esi, eax
test esi, esi
je 0x10014fa0
cmp dword [esi + 8], 0
je 0x100151b6
mov ecx, dword [ebp + 8]
push esi
call fcn.100284f1
cmp dword [esi + 4], 0
je 0x100151d0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0xac]
xor edi, edi
inc edi
jmp 0x10014fd7
mov eax, dword [esi]
test eax, eax
je 0x100151de
push eax
call fcn.10025b3c
jmp 0x100151ec
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.100146e4
mov edi, eax
test edi, edi
je 0x10014fa0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
xor ebx, ebx
push edi
mov dword [eax + 0x6c], ebx
call fcn.1001471e
cmp dword [esi + 8], ebx
je 0x100151c8
push ebx
push 1
push 0xf1
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x100151c8