Function at 0x464c30
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4d3b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x3e0]
mov ecx, dword [ebx + 0x3c4]
cmp eax, ecx
push edi
mov dword [esp + 0x18], ebx
jge 0x464c76
xor ebp, ebp
cmp eax, ebp
jl 0x464c78
mov ecx, dword [ebx + 0x3c0]
mov edi, dword [ecx + eax*4]
jmp 0x464c7a
xor ebp, ebp
xor edi, edi
mov esi, dword [0x4d686c]
push 0x10
call esi
test ah, 0x80
je 0x464c92
push 0x79
call esi
test ah, 0x80
je 0x464c9f
push 0x11
call esi
test ah, 0x80
je 0x464e01
cmp edi, ebp
je 0x464e01
push 0x80
mov dword [esp + 0x20], vtable.Table_char_.0
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x1f
mov dword [esp + 0x30], 0x40
push ebp
push ebp
lea edx, [esp + 0x68]
push ebp
push edx
mov ecx, edi
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x3c], ebp
call fcn.00425910
lea eax, [esp + 0x60]
test eax, eax
je 0x464d72
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x464d5a
mov edx, dword [esp + 0x30]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004bd49b
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov ebp, eax
lea ecx, [ecx*4 + 4]
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
push eax
call fcn.004bd4c4
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add eax, ecx
add esp, 8
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
xor ebp, ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x60]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov edx, dword [ebx + 0x2f0]
mov ecx, dword [esp + 0x178]
push ecx
lea ecx, [esp + 0x20]
mov eax, dword [edx + 0x50]
mov edx, dword [esp + 0x178]
push edx
push ecx
push eax
call fcn.00402330
add esp, 0x10
test eax, eax
jne 0x464da5
push 0xffffffffffffffff
call dword [0x4d6734]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x16c], 0xffffffff
cmp eax, ebp
mov dword [esp + 0x1c], vtable.Table_char_.0
je 0x464def
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, ebp
jle 0x464def
cmp esi, eax
jge 0x464ddb
cmp esi, ebp
jl 0x464ddb
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
jmp 0x464ddd
xor eax, eax
push eax
call fcn.004bd4c4
mov eax, dword [esp + 0x28]
add esp, 4
inc esi
cmp esi, eax
jl 0x464dce
mov eax, dword [esp + 0x20]
push eax
call fcn.004bd4c4
add esp, 4
jmp 0x4652af
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x178]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x2f0]
mov dword [esp + 0x48], edx
lea eax, [esp + 0x44]
mov edx, dword [ecx + 0x50]
push eax
push edx
call dword [0x4d6688]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, dword [ebx + 0x2f0]
call fcn.004a1490
mov dword [esp + 0x4c], eax
mov edx, dword [ebx + 0xc0]
neg eax
sbb eax, eax
and eax, 0x4e52
add eax, 0x6d
and eax, 0xffff
push eax
push edx
call dword [0x4d674c]
push ebp
push eax
mov dword [esp + 0x64], eax
call dword [0x4d6738]
cmp edi, ebp
mov esi, eax
je 0x464ea1
push ebp
mov ecx, edi
call fcn.00425f70
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x464ea5
mov ecx, ebp
call fcn.0049e940
mov ecx, 1
cmp eax, ecx
jle 0x464ea5
mov dword [esp + 0x14], ecx
jmp 0x464fe3
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], 0
test eax, eax
je 0x464eea
test ebp, ebp
je 0x464eea
mov ecx, dword [ebx + 0x2f0]
push 0
mov ebp, dword [ecx + 0x6d0]
mov ecx, edi
call fcn.00425f70
mov ecx, eax
call fcn.0049e940
dec eax
mov dword [esp + 0x40], 1
cmp ebp, eax
jl 0x464ef2
mov dword [esp + 0x40], 0
mov edx, dword [ebx + 0x178]
mov ebp, dword [0x4d67a0]
push 0
push 0x4eb8
push 0x409
push edx
call ebp
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x178]
push 0
push 0x4eb9
push 0x409
push eax
call ebp
test edi, edi
mov dword [esp + 0x54], eax
je 0x464f48
mov ecx, edi
call fcn.00425ef0
mov ecx, edi
call fcn.00426460
test eax, eax
mov dword [esp + 0x38], 1
jne 0x464f50
mov dword [esp + 0x38], 0
mov ecx, 0x4f5738
call fcn.004509a0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x465000
push 0
mov ecx, edi
call fcn.00425f70
mov edi, dword [0x4d6760]
mov ebp, dword [0x4f83ec]
test eax, eax
je 0x464f97
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + ebp*4]
mov al, byte [edx + 0x2d7]
test al, al
je 0x464fab
push 0
push 0x4eee
push esi
call edi
push 0
push 0x4eed
push esi
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x464fc6
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ebp*4]
mov al, byte [ecx + 0x2d8]
test al, al
je 0x464fd0
push 0
push 0x4f22
push esi
call edi
push 0
push 0x4f78
push esi
call dword [0x4d6744]
jmp 0x465277
mov eax, dword [ebx + 0x2f0]
mov edx, dword [eax + 0x6d0]
test edx, edx
jle 0x464ead
mov dword [esp + 0x3c], ecx
jmp 0x464ebd
mov eax, dword [esp + 0x10]
mov edi, dword [0x4d6760]
mov ebp, dword [0x4f83ec]
mov ebx, dword fs:[0x2c]
test eax, eax
je 0x465028
mov edx, dword [ebx + ebp*4]
mov al, byte [edx + 0x2d7]
test al, al
je 0x465032
push 0x400
push 0x1a
push esi
call edi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x465050
push 0x400
push 0x19
push esi
call edi
push 0x400
push 0x18
push esi
call edi
jmp 0x46505d
mov eax, dword [ebx + ebp*4]
mov cl, byte [eax + 0x2d6]
test cl, cl
je 0x465071
push 0
push 0x4f73
push esi
call edi
push 0
push 0x4f1a
push esi
call edi
mov ebp, dword [ebx + ebp*4]
mov al, byte [ebp + 0x2d4]
test al, al
je 0x465088
push 0
push 0x4eba
push esi
call edi
mov al, byte [ebp + 0x2d9]
test al, al
je 0x46509c
push 0
push 0x4e90
push esi
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4650ae
mov al, byte [ebp + 0x2d8]
test al, al
je 0x4650b8
push 0
push 0x4f22
push esi
call edi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4650ca
push 0
push 0x4eb7
push esi
call edi
mov al, byte [ebp + 0x2d5]
test al, al
je 0x4650de
push 0
push 0x4f21
push esi
call edi
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4650f0
push 0
push 0x500c
push esi
call edi
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x465102
push 0
push 0x5013
push esi
call edi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46513c
push 0
push 0x4eb8
push esi
call edi
push 0
push 0x4eb9
push esi
call edi
push 0
push 0x4f0a
push esi
call edi
push 0
push 0x4f09
push esi
call edi
push 0
push 0x4fa3
push esi
call edi
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x3c4], 2
jge 0x465167
push 0
push 0x4eb4
push esi
call edi
push 0
push 0x4eb3
push esi
call edi
push 0
push 0x4eb6
push esi
call edi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x465183
push 0
push 0x4eff
push esi
call edi
push 0
push 0x4f00
push esi
call edi
mov eax, dword [ebx + 0x3e0]
mov edi, dword [0x4d673c]
test eax, eax
jne 0x46519d
push 1
push 0x4eb3
push esi
call edi
mov ecx, dword [ebx + 0x3c4]
mov eax, dword [ebx + 0x3e0]
dec ecx
cmp eax, ecx
jne 0x4651b8
push 1
push 0x4eb4
push esi
call edi
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4651ca
push 1
push 0x4eb8
push esi
call edi
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4651dc
push 1
push 0x4eb9
push esi
call edi
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4651ee
push 1
push 0x4f00
push esi
call edi
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x465200
push 1
push 0x4eff
push esi
call edi
mov edx, dword [ebx + 0x3b8]
mov edi, dword [0x4d6740]
neg edx
sbb edx, edx
and edx, 8
push edx
push 0x4eb6
push esi
call edi
mov eax, dword [ebx + 0xc4]
push 0xfffffffffffffff0
push eax
call dword [0x4d6804]
and eax, 0xc00000
neg eax
sbb eax, eax
inc eax
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x4eb5
push esi
call edi
mov ecx, dword [ebx + 0x42c]
neg ecx
sbb ecx, ecx
and ecx, 8
push ecx
push 0x4f60
push esi
call edi
mov al, byte [ebp + 0x2d4]
test al, al
jne 0x465273
push 0
push 0x4eba
push esi
call dword [0x4d6744]
mov ebx, dword [esp + 0x18]
push esi
call fcn.00473b40
mov edx, dword [ebx + 0xc4]
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x178]
add esp, 4
push 0
push edx
push 0
push eax
push ecx
push 2
push esi
call dword [0x4d67c0]
mov edx, dword [esp + 0x5c]
push edx
call dword [0x4d67c8]
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x160
ret 8