Function at 0x47b0e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
cmp dword [esp + 0x10], 0x201
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
jne 0x47b16e
cmp dword [0x6bce3c], 0
jne 0x47b10b
push 0x12
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jns 0x47b16e
mov edi, dword [0x6bd984]
test edi, edi
je 0x47b16e
test edi, edi
mov eax, edi
je 0x47b25f
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x20]
mov edi, dword [edi]
push eax
call fcn.005680eb
test eax, eax
je 0x47b16a
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.user32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x1d0]
push eax
push ecx
mov ecx, esi
call edx
test eax, eax
jge 0x47b264
test edi, edi
jne 0x47b115
cmp dword [0x6bce3c], 0
jne case.0x47b319.0
mov eax, dword [0x6bce88]
test eax, eax
je case.0x47b319.0
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je case.0x47b319.0
mov eax, dword [esp + 0x28]
mov edi, dword [0x6bce88]
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
call fcn.0047ffa0
cmp eax, 4
jne 0x47b3ab
mov ecx, dword [0x6bce88]
mov ebx, dword [ecx + 0xec]
test ebx, ebx
je 0x47b351
mov edi, dword [ebx + 0x8c]
test edi, edi
je 0x47b351
push edi
push 0x6ab340
call fcn.0056ef6f
mov ecx, dword [esp + 0x30]
add esp, 8
lea edx, [esp + 0x10]
mov esi, eax
mov eax, dword [edi + 0x20]
push edx
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.user32.dll_ScreenToClient]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [ebx + 0x30]
call fcn.00413f50
test eax, eax
je 0x47b2db
test esi, esi
jne 0x47b250
mov ecx, dword [0x6bce88]
mov eax, dword [ecx]
mov edx, dword [eax + 0x180]
call edx
test eax, eax
jne 0x47b250
push eax
push eax
mov eax, dword [0x6bce88]
mov ecx, dword [eax + 0x20]
push 0x10
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
call fcn.0056c8bd
mov ecx, esi
call fcn.00461d30
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
test eax, eax
je 0x47b16e
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
cmp eax, dword [esp + 0x24]
jne 0x47b16e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [edi + 0x30]
call fcn.00413f50
test eax, eax
je 0x47b16e
movzx edx, word [esp + 0x14]
movzx eax, word [esp + 0x10]
mov ecx, dword [esi + 0x20]
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x201
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
test esi, esi
je case.0x47b319.4
call fcn.0049d6a0
mov ecx, esi
call fcn.00430b30
push eax
push 0x6aab88
call fcn.0056ef6f
mov edi, eax
add esp, 8
test edi, edi
je case.0x47b319.4
mov edx, dword [esp + 0x28]
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebp
call fcn.0047ffa0
cmp eax, 5
ja case.0x47b319.4
jmp dword [eax*4 + 0x47b3e8]
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x50]
call fcn.0056ccaa
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [0x6bce88]
mov edx, dword [ecx]
mov eax, dword [edx + 0x180]
call eax
test eax, eax
jne case.0x47b319.0
mov ecx, dword [0x6bce88]
mov edx, dword [ecx + 0x20]
push eax
push eax
push 0x10
push edx
call dword [sym.imp.user32.dll_SendMessageA]
call dword [sym.imp.user32.dll_GetFocus]
push eax
call fcn.005680c4
test eax, eax
je case.0x47b319.0
push 0x6aa910
mov ecx, eax
call fcn.0056ef57
test eax, eax
je case.0x47b319.0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x50]
call fcn.0056ccaa
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
cmp eax, 1
je 0x47b3b5
cmp eax, 2
jne case.0x47b319.0
mov ecx, dword [0x6bce88]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x50]
call fcn.0056ccaa
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x14