Function at 0x481a40
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 0x481ace
cmp dword [0x6b4174], 0
jne 0x481a6b
push 0x12
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jns 0x481ace
mov edi, dword [0x6b4ba4]
test edi, edi
je 0x481ace
test edi, edi
mov eax, edi
je 0x481bbf
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x20]
mov edi, dword [edi]
push eax
call fcn.0056070b
test eax, eax
je 0x481aca
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 0x481bc4
test edi, edi
jne 0x481a75
cmp dword [0x6b4174], 0
jne case.0x481c79.0
mov eax, dword [0x6b41c0]
test eax, eax
je case.0x481c79.0
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je case.0x481c79.0
mov eax, dword [esp + 0x28]
mov edi, dword [0x6b41c0]
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
call fcn.0047b810
cmp eax, 4
jne 0x481d0b
mov ecx, dword [0x6b41c0]
mov ebx, dword [ecx + 0xec]
test ebx, ebx
je 0x481cb1
mov edi, dword [ebx + 0x8c]
test edi, edi
je 0x481cb1
push edi
push 0x6a335c
call fcn.005669af
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.00413710
test eax, eax
je 0x481c3b
test esi, esi
jne 0x481bb0
mov ecx, dword [0x6b41c0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x180]
call edx
test eax, eax
jne 0x481bb0
push eax
push eax
mov eax, dword [0x6b41c0]
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.00564f58
mov ecx, esi
call fcn.0045f850
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
test eax, eax
je 0x481ace
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
cmp eax, dword [esp + 0x24]
jne 0x481ace
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [edi + 0x30]
call fcn.00413710
test eax, eax
je 0x481ace
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.0x481c79.4
call fcn.0049b0e0
mov ecx, esi
call fcn.0042f6f0
push eax
push 0x6a2b4c
call fcn.005669af
mov edi, eax
add esp, 8
test edi, edi
je case.0x481c79.4
mov edx, dword [esp + 0x28]
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebp
call fcn.0047b810
cmp eax, 5
ja case.0x481c79.4
jmp dword [eax*4 + 0x481d48]
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.00565345
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [0x6b41c0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x180]
call eax
test eax, eax
jne case.0x481c79.0
mov ecx, dword [0x6b41c0]
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.005606e4
test eax, eax
je case.0x481c79.0
push 0x6a2928
mov ecx, eax
call fcn.00566997
test eax, eax
je case.0x481c79.0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x50]
call fcn.00565345
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
cmp eax, 1
je 0x481d15
cmp eax, 2
jne case.0x481c79.0
mov ecx, dword [0x6b41c0]
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.00565345
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x14