Function at 0x47f94a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, 0x105
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov edx, dword [esi + 4]
cmp edx, eax
ja 0x47fbb4
je 0x47fada
cmp edx, 0xa8
ja 0x47f9c3
cmp edx, 0xa7
jae 0x47f9a6
cmp edx, 0x7b
je 0x47f9f2
cmp edx, 0xa0
jbe 0x47fcb4
cmp edx, 0xa2
jbe 0x47f9a6
lea eax, [edx - 0xa4]
cmp eax, 1
ja 0x47fcb4
push dword [esi]
movsx eax, word [esi + 0xe]
movsx ecx, word [esi + 0xc]
push eax
push ecx
push edx
lea ecx, [edi + 0x350]
call fcn.00471963
jmp 0x47fcac
sub edx, 0x100
je 0x47fa5a
sub edx, 4
jne 0x47fcb4
mov ecx, dword [edi + 0x44c]
test ecx, ecx
je 0x47f9f2
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.004ef9a5
test eax, eax
jne 0x47fa3e
call fcn.0044b0d5
xor ebx, ebx
cmp dword [eax + 0x1a4], ebx
jne 0x47fa22
call fcn.0044b0d5
cmp dword [eax + 0x1a0], ebx
jne 0x47fa22
call fcn.0044b0d5
mov dword [eax + 0x1a0], 1
call fcn.0046bbbc
call fcn.004cd32d
test eax, eax
je 0x47fa46
cmp dword [esi + 8], 0x12
jne 0x47fa46
push ebx
push ebx
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
jmp 0x47fcbc
push ebx
push dword [esi + 8]
lea ecx, [edi + 0x350]
call fcn.00471693
jmp 0x47fcac
push esi
call fcn.0046fc79
xor ebx, ebx
test eax, eax
jne 0x47fa79
push ebx
push dword [esi + 8]
lea ecx, [edi + 0x350]
call fcn.00471693
test eax, eax
jne 0x47fa3e
cmp dword [esi + 8], 0x1b
jne 0x47fcb4
cmp dword [edi + 0x420], ebx
je 0x47fa97
push edi
lea ecx, [edi + 0x408]
call fcn.004ea031
mov ecx, dword [edi + 0x318]
test ecx, ecx
je 0x47fab0
cmp dword [ecx + 8], ebx
je 0x47fab0
cmp dword [ecx + 4], ebx
je 0x47fab0
call fcn.00508ad3
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0043504b
push eax
push 0x5c8848
call fcn.0044929c
pop ecx
pop ecx
test eax, eax
je 0x47fcb4
push ebx
push ebx
push 0x1f
jmp 0x47fa35
mov ecx, dword [edi + 0x44c]
test ecx, ecx
je 0x47faf8
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.004efade
test eax, eax
jne 0x47fa3e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
push 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetKeyState]
push dword [edi + 0x20]
cwde
mov dword [ebp - 0x10], eax
call sub.IMM32.dll_ImmGetContext
xor ebx, ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x47fb37
push eax
call sub.IMM32.dll_ImmGetOpenStatus
test eax, eax
mov eax, dword [ebp - 4]
je 0x47fb37
mov dword [ebp - 8], 1
jmp 0x47fb40
mov ecx, ebx
mov dword [ebp - 8], ecx
test eax, eax
je 0x47fb4c
push eax
push dword [edi + 0x20]
call sub.IMM32.dll_ImmReleaseContext
mov ecx, dword [ebp - 8]
cmp dword [edi + 0x3fc], ebx
je 0x47fbaa
cmp dword [esi + 8], 0x12
je 0x47fb73
cmp dword [esi + 8], 0x79
jne 0x47fbaa
mov eax, 0x8000
test dword [ebp - 0xc], eax
jne 0x47fbaa
test dword [ebp - 0x10], eax
jne 0x47fbaa
test ecx, ecx
jne 0x47fbaa
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0043504b
mov ecx, dword [edi + 0x3fc]
cmp ecx, eax
jne 0x47fb8d
mov ecx, edi
jmp 0x47fba0
cmp dword [esi + 8], 0x12
je 0x47fba0
test dword [esi + 0xc], 0x20000000
jne 0x47fa3e
call fcn.0043da46
jmp 0x47fa3e
call fcn.004cd32d
jmp 0x47fcac
cmp edx, 0x200
je 0x47fc75
cmp edx, 0x201
je 0x47fc12
cmp edx, 0x203
jbe 0x47fcb4
cmp edx, 0x205
jbe 0x47fc12
cmp edx, 0x206
jbe 0x47fcb4
cmp edx, 0x208
jbe 0x47fc12
cmp edx, 0x20a
jne 0x47fcb4
push dword [esi + 0xc]
lea ecx, [edi + 0x350]
push dword [esi + 8]
call fcn.004720a3
jmp 0x47fcac
movsx eax, word [esi + 0xc]
push dword [esi]
mov dword [ebp - 0x14], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x10], eax
call fcn.0043504b
mov ebx, eax
test ebx, ebx
je 0x47fc46
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47fc46
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esi]
lea ecx, [edi + 0x350]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call fcn.00471963
test eax, eax
jne 0x47fa3e
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47fcb4
jmp 0x47fa3e
movsx eax, word [esi + 0xc]
push dword [esi]
mov dword [ebp - 0x14], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x10], eax
call fcn.0043504b
test eax, eax
je 0x47fc9b
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x10]
lea ecx, [edi + 0x350]
push dword [ebp - 0x14]
call fcn.00471fb2
test eax, eax
jne 0x47fa3e
push esi
mov ecx, edi
call fcn.004f2cb8
pop edi
pop esi
pop ebx
leave
ret 4