Function at 0x46ba03
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
xor ebp, ebp
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x15], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call fcn.00414cf0
inc eax
push eax
call fcn.00412c3a
push edi
mov dword [esp + 0x30], eax
call fcn.00414cf0
lea eax, [eax + eax + 1]
push eax
call fcn.00412c3a
mov edx, dword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
mov ebx, 1
push 0x20
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
call fcn.0043934a
test eax, eax
jne 0x46bb6c
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + edi]
cmp al, 0x20
je 0x46ba84
cmp al, 9
jne 0x46ba87
inc ecx
jmp 0x46ba79
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
push ecx
push edi
push 0
call fcn.0043934a
mov edx, dword [esp + 0x14]
push 0x4865fc
push edx
call fcn.004278b3
mov edi, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x46bac0
mov byte [esp + 0x11], bl
jmp 0x46bb73
push str.down
push edi
call fcn.004278b3
add esp, 8
test eax, eax
jne 0x46badb
mov byte [esp + 0x10], bl
jmp 0x46bb73
push 0x486608
push edi
call fcn.004278b3
add esp, 8
test eax, eax
jne 0x46baf6
mov byte [esp + 0x12], bl
jmp 0x46bb73
push 0x48660c
push edi
call fcn.004278b3
add esp, 8
test eax, eax
jne 0x46bb0e
mov byte [esp + 0x13], bl
jmp 0x46bb73
cmp byte [edi], 0x30
jne 0x46bb56
mov al, byte [edi + 1]
cmp al, 0x78
je 0x46bb1e
cmp al, 0x58
jne 0x46bb56
lea eax, [esp + 0x1c]
push eax
lea ebx, [edi + 2]
push ebx
call fcn.00439219
cmp byte [ebx], 0x30
mov ebx, dword [esp + 0x1c]
push ebx
jne 0x46bb46
push 0x486610
push edi
call fcn.00415608
add esp, 0xc
jmp 0x46bb73
push 0x486614
push edi
call fcn.00415608
add esp, 0xc
jmp 0x46bb73
push edi
call fcn.0041569b
mov ebx, eax
add esp, 4
test ebx, ebx
jg 0x46bb73
mov ebx, 1
jmp 0x46bb73
mov edi, dword [esp + 0x14]
lea ecx, [ecx]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp*4 + 0x493b10]
push ecx
push edx
call fcn.004278b3
add esp, 8
test eax, eax
je 0x46bb92
inc ebp
cmp ebp, 0x62
jl 0x46bb73
cmp ebp, 0x62
jne 0x46bbf6
cmp byte [esp + 0x10], 0
je 0x46bbbf
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax]
push 0
push ecx
call dword [0x4835c4]
and eax, 0xff
push eax
push esi
call fcn.004469fb
jmp case.default.0x46bc91
cmp byte [esp + 0x11], 0
je 0x46bbe1
mov edx, dword [esp + 0x24]
movzx eax, byte [edx]
push 0
push eax
call dword [0x4835c4]
and eax, 0xff
push eax
jmp 0x46bf3c
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx]
push ebx
push edx
mov ecx, esi
call fcn.0044e56d
jmp case.default.0x46bc91
cmp byte [ebp + 0x493c98], 0
jne 0x46bc81
cmp byte [esp + 0x10], 0
je 0x46bc1f
mov eax, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push eax
push esi
call fcn.004469fb
jmp case.default.0x46bc91
cmp byte [esp + 0x11], 0
je 0x46bc35
mov ecx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push ecx
jmp 0x46bf3c
cmp byte [esp + 0x12], 0
je 0x46bc51
mov edx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 1
push edx
push esi
call fcn.00447178
jmp case.default.0x46bc91
cmp byte [esp + 0x13], 0
je 0x46bc6d
mov eax, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push eax
push esi
call fcn.00447178
jmp case.default.0x46bc91
mov ecx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push ebx
push ecx
push esi
call fcn.00447137
jmp case.default.0x46bc91
mov ebp, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp ebp, 0xe
ja case.default.0x46bc91
jmp dword [ebp*4 + 0x46bf5f]
cmp byte [esp + 0x10], 0
jne case.0x46bc91.2
cmp byte [esp + 0x11], 0
je 0x46bcc1
mov eax, dword [esi + 0x10]
test eax, 0x100
je case.default.0x46bc91
xor eax, 0x100
mov dword [esi + 0x10], eax
jmp 0x46bf38
push 0
push 0x12
push esi
call fcn.00446b26
jmp case.default.0x46bc91
cmp byte [esp + 0x10], 0
je 0x46bce6
push 0
push 0xd
push esi
call fcn.004469fb
jmp case.default.0x46bc91
cmp byte [esp + 0x11], 0
je 0x46bcf6
push 0
push 0xd
jmp 0x46bf3c
push 1
push 0xd
push esi
call fcn.00446b26
jmp case.default.0x46bc91
mov eax, dword [esi + 0x10]
test eax, 0x100
jne case.default.0x46bc91
push 0
push 0x12
or eax, 0x100
push esi
mov dword [esi + 0x10], eax
call fcn.004469fb
jmp case.default.0x46bc91
cmp byte [esp + 0x10], 0
je 0x46bd59
mov eax, dword [esi + 0x10]
test eax, 0x200
jne case.default.0x46bc91
push 0
push 0xa0
or eax, 0x200
push esi
mov dword [esi + 0x10], eax
call fcn.004469fb
jmp case.default.0x46bc91
cmp byte [esp + 0x11], 0
je 0x46bd82
mov eax, dword [esi + 0x10]
test eax, 0x200
je case.default.0x46bc91
xor eax, 0x200
push 0
mov dword [esi + 0x10], eax
push 0xa0
jmp 0x46bf3c
push 0
push 0xa0
push esi
call fcn.00446b26
jmp case.default.0x46bc91
cmp byte [esp + 0x10], 0
je 0x46bdc3
mov eax, dword [esi + 0x10]
test eax, 0x400
jne case.default.0x46bc91
push 0
push 0xa1
or eax, 0x400
push esi
mov dword [esi + 0x10], eax
call fcn.004469fb
jmp case.default.0x46bc91
cmp byte [esp + 0x11], 0
je 0x46bdec
mov eax, dword [esi + 0x10]
test eax, 0x400
je case.default.0x46bc91
xor eax, 0x400
push 0
mov dword [esi + 0x10], eax
push 0xa1
jmp 0x46bf3c
push 0
push 0xa1
push esi
call fcn.00446b26
jmp case.default.0x46bc91
mov eax, dword [esi + 0x10]
test eax, 0x200
jne case.default.0x46bc91
push 0
push 0x10
or eax, 0x200
push esi
mov dword [esi + 0x10], eax
call fcn.004469fb
jmp case.default.0x46bc91
mov eax, dword [esi + 0x10]
test eax, 0x200
je case.default.0x46bc91
xor eax, 0x200
push 0
mov dword [esi + 0x10], eax
push 0x10
jmp 0x46bf3c
mov eax, dword [esi + 0x10]
test eax, 0x800
jne case.default.0x46bc91
push 0
push 0x11
or eax, 0x800
push esi
mov dword [esi + 0x10], eax
call fcn.004469fb
jmp case.default.0x46bc91
mov eax, dword [esi + 0x10]
test eax, 0x800
je case.default.0x46bc91
xor eax, 0x800
push 0
mov dword [esi + 0x10], eax
push 0x11
jmp 0x46bf3c
mov eax, dword [esi + 0x10]
test eax, 0x1000
jne case.default.0x46bc91
push 0
push 0x5b
or eax, 0x1000
push esi
mov dword [esi + 0x10], eax
call fcn.004469fb
jmp case.default.0x46bc91
mov eax, dword [esi + 0x10]
test eax, 0x1000
je case.default.0x46bc91
xor eax, 0x1000
push 0
mov dword [esi + 0x10], eax
push 0x5b
jmp 0x46bf3c
mov eax, dword [esi + 0x10]
test eax, 0x2000
jne case.default.0x46bc91
push 0
push 0x5c
or eax, 0x2000
push esi
mov dword [esi + 0x10], eax
call fcn.004469fb
jmp case.default.0x46bc91
mov eax, dword [esi + 0x10]
test eax, 0x2000
je case.default.0x46bc91
xor eax, 0x2000
push 0
mov dword [esi + 0x10], eax
push 0x5c
jmp 0x46bf3c
test dword [esi + 0x10], 0x100
jne 0x46bf10
push 0
push 0x12
push esi
call fcn.004469fb
mov al, byte [edi]
test al, al
je 0x46bf2f
mov ebx, edi
movsx edx, al
push 0
add edx, 0x30
push edx
push esi
call fcn.00446b26
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x46bf18
test dword [esi + 0x10], 0x100
jne case.default.0x46bc91
push 0
push 0x12
push esi
call fcn.004468e0
mov eax, dword [esp + 0x24]
push eax
call fcn.0041294d
push edi
call fcn.0041294d
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4