Function at 0x46bcc4
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.00414b70
inc eax
push eax
call fcn.00412aaa
push edi
mov dword [esp + 0x30], eax
call fcn.00414b70
lea eax, [eax + eax + 1]
push eax
call fcn.00412aaa
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.00439bc9
test eax, eax
jne 0x46be2d
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + edi]
cmp al, 0x20
je 0x46bd45
cmp al, 9
jne 0x46bd48
inc ecx
jmp 0x46bd3a
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
push ecx
push edi
push 0
call fcn.00439bc9
mov edx, dword [esp + 0x14]
push 0x486604
push edx
call fcn.004280ba
mov edi, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x46bd81
mov byte [esp + 0x11], bl
jmp 0x46be34
push str.down
push edi
call fcn.004280ba
add esp, 8
test eax, eax
jne 0x46bd9c
mov byte [esp + 0x10], bl
jmp 0x46be34
push 0x486610
push edi
call fcn.004280ba
add esp, 8
test eax, eax
jne 0x46bdb7
mov byte [esp + 0x12], bl
jmp 0x46be34
push 0x486614
push edi
call fcn.004280ba
add esp, 8
test eax, eax
jne 0x46bdcf
mov byte [esp + 0x13], bl
jmp 0x46be34
cmp byte [edi], 0x30
jne 0x46be17
mov al, byte [edi + 1]
cmp al, 0x78
je 0x46bddf
cmp al, 0x58
jne 0x46be17
lea eax, [esp + 0x1c]
push eax
lea ebx, [edi + 2]
push ebx
call fcn.00439a98
cmp byte [ebx], 0x30
mov ebx, dword [esp + 0x1c]
push ebx
jne 0x46be07
push 0x486618
push edi
call fcn.00415488
add esp, 0xc
jmp 0x46be34
push 0x48661c
push edi
call fcn.00415488
add esp, 0xc
jmp 0x46be34
push edi
call fcn.0041551b
mov ebx, eax
add esp, 4
test ebx, ebx
jg 0x46be34
mov ebx, 1
jmp 0x46be34
mov edi, dword [esp + 0x14]
lea ecx, [ecx]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp*4 + 0x493af0]
push ecx
push edx
call fcn.004280ba
add esp, 8
test eax, eax
je 0x46be53
inc ebp
cmp ebp, 0x62
jl 0x46be34
cmp ebp, 0x62
jne 0x46beb7
cmp byte [esp + 0x10], 0
je 0x46be80
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax]
push 0
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
push eax
push esi
call fcn.00447b07
jmp case.default.0x46bf52
cmp byte [esp + 0x11], 0
je 0x46bea2
mov edx, dword [esp + 0x24]
movzx eax, byte [edx]
push 0
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
push eax
jmp 0x46c1fd
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx]
push ebx
push edx
mov ecx, esi
call fcn.0044f042
jmp case.default.0x46bf52
cmp byte [ebp + 0x493c78], 0
jne 0x46bf42
cmp byte [esp + 0x10], 0
je 0x46bee0
mov eax, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push eax
push esi
call fcn.00447b07
jmp case.default.0x46bf52
cmp byte [esp + 0x11], 0
je 0x46bef6
mov ecx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push ecx
jmp 0x46c1fd
cmp byte [esp + 0x12], 0
je 0x46bf12
mov edx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 1
push edx
push esi
call fcn.00448284
jmp case.default.0x46bf52
cmp byte [esp + 0x13], 0
je 0x46bf2e
mov eax, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push eax
push esi
call fcn.00448284
jmp case.default.0x46bf52
mov ecx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push ebx
push ecx
push esi
call fcn.00448243
jmp case.default.0x46bf52
mov ebp, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp ebp, 0xe
ja case.default.0x46bf52
jmp dword [ebp*4 + 0x46c220]
cmp byte [esp + 0x10], 0
jne case.0x46bf52.2
cmp byte [esp + 0x11], 0
je 0x46bf82
mov eax, dword [esi + 0x10]
test eax, 0x100
je case.default.0x46bf52
xor eax, 0x100
mov dword [esi + 0x10], eax
jmp 0x46c1f9
push 0
push 0x12
push esi
call fcn.00447c32
jmp case.default.0x46bf52
cmp byte [esp + 0x10], 0
je 0x46bfa7
push 0
push 0xd
push esi
call fcn.00447b07
jmp case.default.0x46bf52
cmp byte [esp + 0x11], 0
je 0x46bfb7
push 0
push 0xd
jmp 0x46c1fd
push 1
push 0xd
push esi
call fcn.00447c32
jmp case.default.0x46bf52
mov eax, dword [esi + 0x10]
test eax, 0x100
jne case.default.0x46bf52
push 0
push 0x12
or eax, 0x100
push esi
mov dword [esi + 0x10], eax
call fcn.00447b07
jmp case.default.0x46bf52
cmp byte [esp + 0x10], 0
je 0x46c01a
mov eax, dword [esi + 0x10]
test eax, 0x200
jne case.default.0x46bf52
push 0
push 0xa0
or eax, 0x200
push esi
mov dword [esi + 0x10], eax
call fcn.00447b07
jmp case.default.0x46bf52
cmp byte [esp + 0x11], 0
je 0x46c043
mov eax, dword [esi + 0x10]
test eax, 0x200
je case.default.0x46bf52
xor eax, 0x200
push 0
mov dword [esi + 0x10], eax
push 0xa0
jmp 0x46c1fd
push 0
push 0xa0
push esi
call fcn.00447c32
jmp case.default.0x46bf52
cmp byte [esp + 0x10], 0
je 0x46c084
mov eax, dword [esi + 0x10]
test eax, 0x400
jne case.default.0x46bf52
push 0
push 0xa1
or eax, 0x400
push esi
mov dword [esi + 0x10], eax
call fcn.00447b07
jmp case.default.0x46bf52
cmp byte [esp + 0x11], 0
je 0x46c0ad
mov eax, dword [esi + 0x10]
test eax, 0x400
je case.default.0x46bf52
xor eax, 0x400
push 0
mov dword [esi + 0x10], eax
push 0xa1
jmp 0x46c1fd
push 0
push 0xa1
push esi
call fcn.00447c32
jmp case.default.0x46bf52
mov eax, dword [esi + 0x10]
test eax, 0x200
jne case.default.0x46bf52
push 0
push 0x10
or eax, 0x200
push esi
mov dword [esi + 0x10], eax
call fcn.00447b07
jmp case.default.0x46bf52
mov eax, dword [esi + 0x10]
test eax, 0x200
je case.default.0x46bf52
xor eax, 0x200
push 0
mov dword [esi + 0x10], eax
push 0x10
jmp 0x46c1fd
mov eax, dword [esi + 0x10]
test eax, 0x800
jne case.default.0x46bf52
push 0
push 0x11
or eax, 0x800
push esi
mov dword [esi + 0x10], eax
call fcn.00447b07
jmp case.default.0x46bf52
mov eax, dword [esi + 0x10]
test eax, 0x800
je case.default.0x46bf52
xor eax, 0x800
push 0
mov dword [esi + 0x10], eax
push 0x11
jmp 0x46c1fd
mov eax, dword [esi + 0x10]
test eax, 0x1000
jne case.default.0x46bf52
push 0
push 0x5b
or eax, 0x1000
push esi
mov dword [esi + 0x10], eax
call fcn.00447b07
jmp case.default.0x46bf52
mov eax, dword [esi + 0x10]
test eax, 0x1000
je case.default.0x46bf52
xor eax, 0x1000
push 0
mov dword [esi + 0x10], eax
push 0x5b
jmp 0x46c1fd
mov eax, dword [esi + 0x10]
test eax, 0x2000
jne case.default.0x46bf52
push 0
push 0x5c
or eax, 0x2000
push esi
mov dword [esi + 0x10], eax
call fcn.00447b07
jmp case.default.0x46bf52
mov eax, dword [esi + 0x10]
test eax, 0x2000
je case.default.0x46bf52
xor eax, 0x2000
push 0
mov dword [esi + 0x10], eax
push 0x5c
jmp 0x46c1fd
test dword [esi + 0x10], 0x100
jne 0x46c1d1
push 0
push 0x12
push esi
call fcn.00447b07
mov al, byte [edi]
test al, al
je 0x46c1f0
mov ebx, edi
movsx edx, al
push 0
add edx, 0x30
push edx
push esi
call fcn.00447c32
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x46c1d9
test dword [esi + 0x10], 0x100
jne case.default.0x46bf52
push 0
push 0x12
push esi
call fcn.004479ec
mov eax, dword [esp + 0x24]
push eax
call fcn.004127bd
push edi
call fcn.004127bd
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4