Function at 0x46798b
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 + 0x18], ebp
mov byte [esp + 0x15], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call fcn.00414bb0
inc eax
push eax
call fcn.00412288
push edi
mov dword [esp + 0x30], eax
call fcn.00414bb0
lea eax, [eax + eax + 1]
push eax
call fcn.00412288
mov edx, dword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
mov ebx, 1
push 0x20
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
call fcn.004393a5
test eax, eax
jne 0x467af0
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + edi]
cmp al, 0x20
je 0x467a0c
cmp al, 9
jne 0x467a0f
inc ecx
jmp 0x467a01
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
push ecx
push edi
push 0
call fcn.004393a5
mov edi, dword [esp + 0x1c]
push 0x4804f8
push edi
call fcn.00426af0
add esp, 8
test eax, eax
jne 0x467a44
mov byte [esp + 0x11], bl
jmp 0x467afb
push str.down
push edi
call fcn.00426af0
add esp, 8
test eax, eax
jne 0x467a5f
mov byte [esp + 0x10], bl
jmp 0x467afb
push 0x480504
push edi
call fcn.00426af0
add esp, 8
test eax, eax
jne 0x467a7a
mov byte [esp + 0x12], bl
jmp 0x467afb
push 0x480508
push edi
call fcn.00426af0
add esp, 8
test eax, eax
jne 0x467a92
mov byte [esp + 0x13], bl
jmp 0x467afb
cmp byte [edi], 0x30
jne 0x467ada
mov al, byte [edi + 1]
cmp al, 0x78
je 0x467aa2
cmp al, 0x58
jne 0x467ada
lea edx, [esp + 0x18]
push edx
lea ebx, [edi + 2]
push ebx
call fcn.00439262
cmp byte [ebx], 0x30
mov ebx, dword [esp + 0x18]
push ebx
jne 0x467aca
push 0x48050c
push edi
call fcn.004153a8
add esp, 0xc
jmp 0x467afb
push 0x480510
push edi
call fcn.004153a8
add esp, 0xc
jmp 0x467afb
push edi
call fcn.0041543b
mov ebx, eax
add esp, 4
test ebx, ebx
jg 0x467afb
mov ebx, 1
jmp 0x467afb
mov edi, dword [esp + 0x1c]
lea esp, [esp]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp*4 + 0x48d6d0]
push eax
push ecx
call fcn.00426af0
add esp, 8
test eax, eax
je 0x467b1a
inc ebp
cmp ebp, 0x62
jl 0x467afb
cmp ebp, 0x62
jne 0x467b7e
cmp byte [esp + 0x10], 0
je 0x467b47
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
push esi
call fcn.00445783
jmp case.default.0x467c19
cmp byte [esp + 0x11], 0
je 0x467b69
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx]
push 0
push edx
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
push eax
jmp 0x467df0
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax]
push ebx
push ecx
mov ecx, esi
call fcn.0044d492
jmp case.default.0x467c19
cmp byte [ebp + 0x48d858], 0
jne 0x467c09
cmp byte [esp + 0x10], 0
je 0x467ba7
mov edx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push edx
push esi
call fcn.00445783
jmp case.default.0x467c19
cmp byte [esp + 0x11], 0
je 0x467bbd
mov eax, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push eax
jmp 0x467df0
cmp byte [esp + 0x12], 0
je 0x467bd9
mov ecx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 1
push ecx
push esi
call fcn.00445f00
jmp case.default.0x467c19
cmp byte [esp + 0x13], 0
je 0x467bf5
mov edx, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push 0
push edx
push esi
call fcn.00445f00
jmp case.default.0x467c19
mov eax, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push ebx
push eax
push esi
call fcn.00445ebf
jmp case.default.0x467c19
mov ebp, dword [ebp*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp ebp, 0xc
ja case.default.0x467c19
jmp dword [ebp*4 + 0x467e13]
cmp byte [esp + 0x10], 0
jne case.0x467c19.2
cmp byte [esp + 0x11], 0
je 0x467c49
mov eax, dword [esi + 0x40]
test eax, 0x100
je case.default.0x467c19
xor eax, 0x100
mov dword [esi + 0x40], eax
jmp 0x467dec
push 0
push 0x12
push esi
call fcn.004458ae
jmp case.default.0x467c19
cmp byte [esp + 0x10], 0
je 0x467c6e
push 0
push 0xd
push esi
call fcn.00445783
jmp case.default.0x467c19
cmp byte [esp + 0x11], 0
je 0x467c7e
push 0
push 0xd
jmp 0x467df0
push 1
push 0xd
push esi
call fcn.004458ae
jmp case.default.0x467c19
mov eax, dword [esi + 0x40]
test eax, 0x100
jne case.default.0x467c19
push 0
push 0x12
or eax, 0x100
push esi
mov dword [esi + 0x40], eax
call fcn.00445783
jmp case.default.0x467c19
mov eax, dword [esi + 0x40]
test eax, 0x200
jne case.default.0x467c19
push 0
push 0x10
or eax, 0x200
push esi
mov dword [esi + 0x40], eax
call fcn.00445783
jmp case.default.0x467c19
mov eax, dword [esi + 0x40]
test eax, 0x200
je case.default.0x467c19
xor eax, 0x200
push 0
mov dword [esi + 0x40], eax
push 0x10
jmp 0x467df0
mov eax, dword [esi + 0x40]
test eax, 0x800
jne case.default.0x467c19
push 0
push 0x11
or eax, 0x800
push esi
mov dword [esi + 0x40], eax
call fcn.00445783
jmp case.default.0x467c19
mov eax, dword [esi + 0x40]
test eax, 0x800
je case.default.0x467c19
xor eax, 0x800
push 0
mov dword [esi + 0x40], eax
push 0x11
jmp 0x467df0
mov eax, dword [esi + 0x40]
test eax, 0x1000
jne case.default.0x467c19
push 0
push 0x5b
or eax, 0x1000
push esi
mov dword [esi + 0x40], eax
call fcn.00445783
jmp case.default.0x467c19
mov eax, dword [esi + 0x40]
test eax, 0x1000
je case.default.0x467c19
xor eax, 0x1000
push 0
mov dword [esi + 0x40], eax
push 0x5b
jmp 0x467df0
mov eax, dword [esi + 0x40]
test eax, 0x2000
jne case.default.0x467c19
push 0
push 0x5c
or eax, 0x2000
push esi
mov dword [esi + 0x40], eax
call fcn.00445783
jmp case.default.0x467c19
mov eax, dword [esi + 0x40]
test eax, 0x2000
je case.default.0x467c19
xor eax, 0x2000
push 0
mov dword [esi + 0x40], eax
push 0x5c
jmp 0x467df0
test dword [esi + 0x40], 0x100
jne 0x467dc4
push 0
push 0x12
push esi
call fcn.00445783
mov al, byte [edi]
test al, al
je 0x467de3
mov ebx, edi
movsx ecx, al
push 0
add ecx, 0x30
push ecx
push esi
call fcn.004458ae
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x467dcc
test dword [esi + 0x40], 0x100
jne case.default.0x467c19
push 0
push 0x12
push esi
call fcn.00445668
mov edx, dword [esp + 0x24]
push edx
call fcn.00412949
push edi
call fcn.00412949
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4