Function at 0x46bcfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff6ec
mov esi, eax
mov byte [esp], 0
cmp byte [esi + 0x442], 0
jne 0x46c033
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x5c], 0
jne 0x46c033
mov byte [esp + 0x10], 0
mov eax, dword [0x4bee68]
cmp byte [eax], 4
jae 0x46bd6f
mov eax, dword [0x4bebd4]
cmp byte [eax], 0
je 0x46bd4a
mov eax, dword [0x4be8ec]
cmp word [eax], 0x44c
jbe 0x46bd6f
mov ax, 0x312
call fcn.004aa600
mov edx, 0x46c040
mov ecx, 0x14
call fcn.004b12b8
test al, al
je 0x46c033
mov byte [esp + 0x10], 1
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x14]
call fcn.004b81b0
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x10]
test al, al
je 0x46c033
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push 0x200
lea ecx, [esp + 0x118]
lea edx, [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x1a0]
call dword [ebx + 0x18]
cmp eax, 0x200
jge 0x46bdd0
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x14]
jmp 0x46c033
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x14]
mov al, byte [esp + 0x114]
cmp al, 0x45
jne 0x46bdfd
mov al, byte [esp + 0x115]
cmp al, 0x56
jne 0x46bdfd
mov al, byte [esp + 0x116]
cmp al, 0x46
je 0x46be01
xor ebx, ebx
jmp 0x46be03
mov bl, 1
test bl, bl
jne 0x46be2c
mov al, byte [esp + 0x114]
cmp al, 0x58
jne 0x46be28
mov al, byte [esp + 0x115]
cmp al, 0x45
jne 0x46be28
mov al, byte [esp + 0x116]
cmp al, 0x46
je 0x46be2c
xor eax, eax
jmp 0x46be2e
mov al, 1
mov byte [esp + 0x13], al
mov al, byte [esp + 0x114]
cmp al, 0x57
jne 0x46be53
mov al, byte [esp + 0x115]
cmp al, 0x48
jne 0x46be53
mov al, byte [esp + 0x116]
cmp al, 0x58
je 0x46be57
xor eax, eax
jmp 0x46be59
mov al, 1
test al, al
je 0x46be73
mov eax, dword [0x4bef48]
mov eax, dword [eax]
mov edx, 3
call fcn.004b12a8
jmp 0x46c033
xor eax, eax
cmp byte [esp + 0x13], 0
je 0x46be94
lea edx, [esp + 0x114]
lea eax, [esp + 0x14]
call fcn.0046bc54
test al, al
je 0x46c033
cmp byte [esp + 0x13], 0
je 0x46bea9
test bl, bl
jne 0x46bea9
cmp al, 1
sete bl
jmp 0x46bfa3
xor ebx, ebx
cmp byte [esp + 0x312], 0x55
jne 0x46bebf
cmp byte [esp + 0x313], 0xaa
je 0x46bec5
cmp al, 2
jae 0x46bec5
mov bl, 1
mov al, byte [esp + 0x14a]
cmp al, 0x46
jne 0x46bee6
mov al, byte [esp + 0x14b]
cmp al, 0x41
jne 0x46bee6
mov al, byte [esp + 0x14c]
cmp al, 0x54
je 0x46beea
xor eax, eax
jmp 0x46beec
mov al, 1
mov byte [esp + 0x11], al
mov al, byte [esp + 0x117]
cmp al, 0x4e
jne 0x46bf1c
mov al, byte [esp + 0x118]
cmp al, 0x54
jne 0x46bf1c
mov al, byte [esp + 0x119]
cmp al, 0x46
jne 0x46bf1c
mov al, byte [esp + 0x11a]
cmp al, 0x53
je 0x46bf20
xor eax, eax
jmp 0x46bf22
mov al, 1
mov byte [esp + 0x12], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x46bf6b
test bl, bl
jne 0x46bf6b
mov al, byte [esp + 0x2d2]
cmp al, 0x80
je 0x46bf45
test al, al
jne 0x46bf63
mov dl, byte [esp + 0x2e2]
cmp dl, 0x80
je 0x46bf55
test dl, dl
jne 0x46bf63
cmp byte [esp + 0x11], 0
jne 0x46bf63
cmp byte [esp + 0x12], 0
je 0x46bf67
xor ebx, ebx
jmp 0x46bfa3
mov bl, 1
jmp 0x46bfa3
mov eax, dword [0x4be784]
cmp byte [eax + 0x188c], 0
je 0x46bf8f
mov eax, 0x46c04c
mov edx, 2
call fcn.004b12a8
cmp al, 1
sete bl
jmp 0x46bfa3
mov eax, 0x46c0bc
mov edx, 2
call fcn.004b12a8
cmp al, 1
sete bl
mov edi, dword [0x4be744]
mov edi, dword [edi]
push 0
push 0
push 0x10
mov eax, dword [esi]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x4be744]
cmp edi, dword [eax]
jle 0x46bff0
test bl, bl
jne 0x46bfd9
push 0
push 0
lea edx, [esp + 0x1c]
xor ecx, ecx
xor eax, eax
call fcn.004a92e8
jmp 0x46bfe2
lea eax, [esp + 0x14]
call fcn.004a91c4
test al, al
je 0x46bff0
xor edx, edx
call fcn.00450448
mov byte [esp], al
cmp byte [esp + 0x10], 0
je 0x46c033
mov eax, dword [0x4be874]
movsx eax, word [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov byte [eax + 0x439], 1
push 0
push 0x3a98
push 0xc
mov eax, dword [0x4be874]
movsx eax, word [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetTimer
mov al, byte [esp]
add esp, 0x914
pop edi
pop esi
pop ebx
ret