Function at 0x49f3c0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004a0840
mov ebp, eax
test ebp, ebp
je 0x49f3e4
mov eax, dword [ebp + 0x58]
test eax, eax
je 0x49f3e4
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
mov ecx, esi
call fcn.0049f3a0
test eax, eax
je 0x49f3fb
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
mov eax, dword [esi + 0x114]
test eax, eax
jg 0x49f7b9
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, esi
call fcn.004a0750
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x14]
push esi
push ecx
push 0x285a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.0058b7fc
test eax, eax
je 0x49f7b9
mov eax, dword [esi + 0xb4]
mov ecx, esi
push eax
call fcn.0049fd60
mov edi, eax
test edi, edi
je 0x49f483
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x6c]
test eax, eax
je 0x49f483
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
push ecx
push edx
mov ecx, edi
call dword [eax + 0xd4]
cmp eax, 1
je 0x49f7be
cmp eax, 2
je 0x49f7be
test esi, esi
je 0x49f7b9
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x49f7b9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff7
cmp eax, 0x17
ja case.0x49f4ae.13
xor ecx, ecx
mov cl, byte [eax + 0x49f7dc]
jmp dword [ecx*4 + 0x49f7c8]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ax, ax
jge 0x49f505
test ebp, ebp
je 0x49f505
mov ecx, esi
call fcn.004a0810
mov ebx, eax
push ebx
push 0x5fa440
call fcn.005701f1
add esp, 8
test eax, eax
je 0x49f505
push 0x10
call edi
xor edx, edx
mov ecx, ebp
test ax, ax
setl dl
dec edx
and edx, 2
dec edx
push edx
push ebx
call fcn.00445a70
test eax, eax
jne 0x49f7b9
mov ebx, dword [esi]
push 0x10
call edi
xor ecx, ecx
test ax, ax
setl cl
push ecx
mov ecx, esi
call dword [ebx + 0x148]
mov edx, dword [esi + 0xb4]
mov ecx, esi
push edx
call fcn.0049fd60
mov esi, eax
test esi, esi
je 0x49f7b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
je 0x49f7b9
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x68]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi]
push 4
mov ecx, esi
call dword [edx + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi]
push 0xa
mov ecx, esi
call dword [eax + 0x148]
test eax, eax
jne 0x49f7b9
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
test eax, eax
je 0x49f5be
call edi
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x49f5be
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x49f5e4
cmp eax, 1
je 0x49f5e4
cmp eax, 4
je 0x49f5e4
cmp eax, 5
jne 0x49f5e0
cmp dword [esi + 0xe0], 1
je 0x49f5e4
xor edi, edi
jmp 0x49f5e9
mov edi, 1
mov ecx, esi
call fcn.004a16d0
mov edx, dword [esp + 0x14]
lea ecx, [edx - 0x23]
cmp ecx, 5
ja case.default.0x49f600
jmp dword [ecx*4 + 0x49f7f4]
test edi, edi
je 0x49f629
xor edx, edx
mov ecx, esi
test eax, eax
setne dl
add edx, 8
mov eax, edx
mov edx, dword [esi]
push eax
call dword [edx + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
xor ecx, ecx
mov edx, dword [esi]
test eax, eax
setne cl
add ecx, 2
mov eax, ecx
mov ecx, esi
push eax
call dword [edx + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
test edi, edi
je 0x49f664
mov edx, dword [esi]
mov ecx, esi
neg eax
sbb eax, eax
add eax, 9
push eax
call dword [edx + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi]
mov ecx, esi
neg eax
sbb eax, eax
add eax, 3
push eax
call dword [edx + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi]
xor ecx, ecx
test edi, edi
setne cl
inc ecx
push ecx
mov ecx, esi
call dword [eax + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi]
mov ecx, esi
neg edi
sbb edi, edi
and edi, 3
push edi
call dword [edx + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esi]
push 6
mov ecx, esi
call dword [eax + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi]
push 7
mov ecx, esi
call dword [edx + 0x148]
pop edi
pop esi
pop ebp
pop ebx
ret 8
test edx, edx
je 0x49f7b9
push 2
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x49f7b9
mov ecx, esi
call fcn.00442f90
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
je 0x49f721
push 0x11
call edi
test ax, ax
jl 0x49f721
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.0049f890
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
test ebp, ebp
je 0x49f747
push esi
push 0x5fa440
call fcn.005701f1
add esp, 8
test eax, eax
je 0x49f747
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.004440e0
test eax, eax
jne 0x49f7b9
push 0x11
mov dword [esp + 0x1c], 0
call edi
test ax, ax
jl 0x49f7a3
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.004a0570
mov edi, eax
cmp edi, 0xffffffff
je 0x49f7a3
mov edx, dword [esi]
push 2
push edi
mov ecx, esi
call dword [edx + 0xc4]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x49f7b9
push edi
mov ecx, esi
call fcn.0049fd60
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xa8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
mov eax, dword [esp + 0x14]
cmp eax, 0x10
je 0x49f7b9
cmp eax, 0x11
je 0x49f7b9
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 8