Function at 0x458890
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x56b44c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x898]
mov byte [ebp - 4], 2
cmp eax, 1
jge 0x458910
push 0xffffffffffffffff
push 0
push 0xef78
call fcn.0041b900
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004e1e27
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
cmp edi, 0x7800
jb 0x458933
lea eax, [edi - 0x7800]
mov dword [0x576158], 3
mov dword [ebp - 0x1c], eax
jmp 0x4589bd
mov eax, dword [0x576158]
lea ecx, [edi - 0x7600]
cmp eax, 2
mov dword [ebp - 0x1c], ecx
jne 0x4589b8
mov eax, dword [esi + 0x1048]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov edx, dword [eax + 0x1c]
push 0x407
push edx
call ebx
push eax
call fcn.004ddf17
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.004de8d8
lea ecx, [ebp - 0x14]
call fcn.004d761e
lea ecx, [ebp - 0x14]
call fcn.004d752d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x458a33
mov eax, dword [esi + 0x104c]
push 0
push 0
push 0x407
mov eax, dword [eax + 0x1c]
push eax
call ebx
push eax
call fcn.004ddf17
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.004e1329
jmp 0x458a33
cmp eax, 3
jne 0x4589ff
push 0x5754c4
lea ecx, [ebp - 0x14]
call fcn.004e1f6e
lea ecx, [ebp - 0x14]
call fcn.004d761e
lea ecx, [ebp - 0x14]
call fcn.004d752d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x458a2d
mov eax, dword [esi + 0x104c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov eax, dword [eax + 0x1c]
push 0x407
push eax
jmp 0x4589a3
mov eax, dword [esi + 0x104c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov edx, dword [eax + 0x1c]
push 0x407
push edx
call ebx
push eax
call fcn.004ddf17
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.004de8d8
jmp 0x458a33
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x14]
mov dword [0x576158], 1
call fcn.004d761e
lea ecx, [ebp - 0x14]
call fcn.004d752d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x458ab1
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x458ab1
lea edi, [esi + 0x274]
push 0
push eax
mov ecx, edi
call fcn.004dbde4
test eax, eax
jne 0x458aae
lea edx, [ebp - 0x14]
mov ecx, edi
push edx
call fcn.004dba8a
mov eax, 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [esi + 0x104c]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
call fcn.004d8b00
mov edi, dword [ebp + 8]
cmp edi, 0x7600
jae 0x458b18
xor edi, edi
mov edx, dword [esi + 0x898]
dec edx
cmp edi, edx
jg 0x458bfb
mov eax, dword [esi + 0x894]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x458b15
cmp dword [eax], 0
je 0x458b15
add eax, 8
lea ecx, [ebp - 0x18]
push eax
call fcn.004e1f6e
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.004e1b94
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 3
call fcn.004e1b94
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00458c60
inc edi
jmp 0x458abb
mov ecx, dword [esi + 0x894]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x458bfb
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x458b6b
mov ecx, dword [edi]
mov eax, 1
sub eax, ecx
push 0
mov dword [edi], eax
mov eax, dword [esi + 0x104c]
push 0
push 0x407
mov ecx, dword [eax + 0x1c]
push ecx
call ebx
push eax
call fcn.004ddf17
mov ecx, eax
call fcn.004e14d7
jmp 0x458bfb
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x458bc2
xor eax, eax
mov edx, dword [esi + 0x898]
dec edx
cmp eax, edx
jg 0x458b98
mov ecx, dword [esi + 0x894]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx], 0
jmp 0x458b7a
mov dword [edi], 1
mov eax, dword [esi + 0x104c]
push 0
push 0
mov eax, dword [eax + 0x1c]
push 0x407
push eax
call ebx
push eax
call fcn.004ddf17
mov ecx, eax
call fcn.004e14d7
jmp 0x458bfb
add edi, 8
lea ecx, [ebp - 0x18]
push edi
call fcn.004e1f6e
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.004e1b94
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 4
call fcn.004e1b94
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00458c60
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004ddf17
mov edi, eax
mov eax, dword [esi + 0x104c]
push 0
push 0
mov ecx, dword [eax + 0x1c]
push 0x407
push ecx
call ebx
push eax
call fcn.004ddf17
cmp edi, eax
jne 0x4588e5
push 0
mov ecx, esi
call fcn.004f4e86
test eax, eax
je 0x4588e5
mov eax, dword [eax + 0xf8]
test eax, eax
je 0x4588e5
mov ecx, eax
call fcn.004e14d7
jmp 0x4588e5