Function at 0x4aaf50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5937d5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5f0a00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], vtable.SOUI::TObjRefImpl_struct_SOUI::IObjRef_.0
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 1
mov dword [ebp - 0x64], vtable.SOUI::EventArgs.0
mov dword [ebp - 0x5c], vtable.SOUI::EventArgs.1.0
mov byte [ebp - 0x58], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], esi
test esi, esi
je 0x4aafc3
mov eax, dword [esi]
call dword [eax + 0x20]
mov dword [ebp - 0x50], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x24]
mov dword [ebp - 0x4c], eax
jmp 0x4aafd1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], 0x5aaa00
mov dword [ebp - 0x5c], 0x5aaa14
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], ebx
call dword [eax + 0xa8]
cmp dword [ebp - 0x3c], 0
jne 0x4ab1fb
cmp dword [ebp + 0x10], 0
je 0x4ab03c
cmp ebx, 0xffffffff
je 0x4ab190
mov eax, dword [esi + 0x404]
lea ecx, [ebx + ebx*2]
lea ecx, [eax + ecx*4]
xor eax, eax
cmp dword [ecx + 8], eax
sete al
mov dword [ecx + 8], eax
jmp 0x4ab182
cmp dword [esi + 0x3fc], 0
lea edi, [esi + 0x3f8]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x4ab055
cmp dword [edi], 0
je 0x4ab063
push 0x11
call eax
test ax, ax
js 0x4ab017
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [esi + 0x3fc], 0
jne 0x4ab075
cmp dword [edi], 0
je 0x4ab110
push 0x10
call eax
test ax, ax
jns 0x4ab110
cmp ebx, 0xffffffff
je 0x4ab190
xor eax, eax
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
mov edx, eax
mov eax, ebx
cmp edx, ebx
mov dword [ebp + 8], edx
mov ecx, edx
cmovg eax, edx
cmp eax, edx
mov dword [ebp - 0x10], eax
cmove ecx, ebx
xor edi, edi
mov dword [ebp + 0x10], ecx
xor ecx, ecx
mov eax, dword [esi + 0x400]
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x4ab0d0
cmp dword [eax + 0x2bc], 0
jle 0x4ab0d0
mov eax, dword [esi + 0x408]
jmp 0x4ab0d2
xor eax, eax
cmp edi, eax
jge 0x4ab190
mov eax, dword [esi + 0x404]
add eax, ecx
mov edx, dword [eax + 8]
cmp edi, dword [ebp + 0x10]
jl 0x4ab0f6
cmp edi, dword [ebp - 0x10]
jg 0x4ab0f6
mov ecx, 1
jmp 0x4ab0f8
xor ecx, ecx
mov dword [eax + 8], ecx
cmp edx, ecx
je 0x4ab107
push edi
mov ecx, esi
call fcn.004abbd0
mov ecx, dword [ebp + 0xc]
inc edi
add ecx, 0xc
jmp 0x4ab0b2
xor edi, edi
mov dword [esi + 0x3a0], 0xffffffff
xor ebx, ebx
nop
mov eax, dword [esi + 0x400]
test eax, eax
je 0x4ab13b
cmp dword [eax + 0x2bc], 0
jle 0x4ab13b
mov eax, dword [esi + 0x408]
jmp 0x4ab13d
xor eax, eax
cmp edi, eax
jge 0x4ab169
mov eax, dword [esi + 0x404]
cmp edi, dword [ebp + 0xc]
je 0x4ab163
cmp dword [eax + ebx + 8], 0
je 0x4ab163
push edi
mov ecx, esi
mov dword [eax + ebx + 8], 0
call fcn.004abbd0
inc edi
add ebx, 0xc
jmp 0x4ab120
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffffffff
je 0x4ab190
mov eax, dword [esi + 0x404]
lea ecx, [ebx + ebx*2]
mov dword [eax + ecx*4 + 8], 1
push ebx
mov ecx, esi
mov dword [esi + 0x3a0], ebx
call fcn.004abbd0
mov dword [ebp - 0x38], vtable.SOUI::TObjRefImpl_struct_SOUI::IObjRef_.0
mov dword [ebp - 0x34], 1
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x38], vtable.SOUI::EventArgs.0
mov dword [ebp - 0x30], vtable.SOUI::EventArgs.1.0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], esi
call dword [eax + 0x20]
mov dword [ebp - 0x24], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], 0x5aaa84
mov dword [ebp - 0x30], 0x5aaa98
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], ebx
call dword [eax + 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc