Function at 0x450080
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov eax, dword [edi + 0x5c0]
cmp eax, ebp
jge 0x4500a5
xor ecx, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
jmp 0x4500ce
push eax
lea ecx, [edi + 0x5cc]
call fcn.004a4342
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x4500c1
mov ecx, eax
mov dword [esp + 0x18], ebp
jmp 0x4500ce
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, eax
mov esi, dword [esp + 0x20]
mov ebx, dword [edi + 0x5c0]
lea eax, [esi - 0xd]
cmp eax, 0x1b
ja case.0x4500ec.18
xor edx, edx
mov dl, byte [eax + 0x450460]
jmp dword [edx*4 + 0x450448]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 1
push eax
push 0x515170
call fcn.004ab717
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x45023e
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0xa8]
test eax, eax
jne 0x45023e
mov eax, dword [edi + 0x20]
cmp eax, ebp
jne 0x45013b
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004a57a5
mov ecx, dword [eax + 0x1c]
push ebp
push 0xe001
push 0x362
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x190]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov dword [esp + 0x10], ebp
mov ecx, ebp
mov eax, dword [edi + 0x5d8]
mov dword [esp + 0x14], 1
cmp eax, ebp
je 0x45023e
cmp ecx, ebp
je 0x450195
mov esi, dword [ecx]
cmp esi, ebp
jne 0x45019f
mov esi, dword [edi + 0x5d0]
xor ebx, ebx
jmp 0x4501a0
inc ebx
cmp esi, ecx
je 0x45023e
mov eax, esi
mov ebp, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test byte [eax + 0xc], 1
jne 0x4501c9
add eax, 0x30
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4501da
mov ecx, dword [esp + 0x10]
inc ebx
test esi, esi
jne 0x4501d6
mov esi, dword [edi + 0x5d0]
xor ebx, ebx
cmp esi, ecx
jne 0x4501a8
test ebp, ebp
je 0x45023e
mov ebp, dword [ebp + 8]
mov eax, dword [esp + 0x18]
cmp ebp, eax
je 0x45023e
mov ecx, dword [0x518c54]
test ecx, ecx
je 0x4501f9
mov dword [edi + 0x5c4], ebx
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [edi + 0x5c0], ebx
test eax, eax
je 0x450215
add eax, 0x30
push 1
push eax
mov eax, dword [edi + 0x1c]
push eax
call esi
mov edx, dword [edi + 0x1c]
lea ecx, [ebp + 0x30]
push 1
push ecx
push edx
call esi
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, dword [ebp + 8]
cmp ebp, 0xffffffff
je 0x45023e
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0x1b4]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov dword [esp + 0x10], ebp
mov ecx, ebp
mov eax, dword [edi + 0x5d8]
mov dword [esp + 0x14], 1
cmp eax, ebp
je 0x45023e
cmp ecx, ebp
je 0x45026f
mov esi, dword [ecx + 4]
cmp esi, ebp
jne 0x45027a
mov esi, dword [edi + 0x5d4]
lea ebx, [eax - 1]
jmp 0x45027b
dec ebx
cmp esi, ecx
je 0x45023e
mov eax, esi
mov ebp, esi
mov esi, dword [esi + 4]
mov eax, dword [eax + 8]
test byte [eax + 0xc], 1
jne 0x4502a5
add eax, 0x30
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4501da
mov ecx, dword [esp + 0x10]
dec ebx
test esi, esi
jne 0x4502b7
mov ebx, dword [edi + 0x5d8]
mov esi, dword [edi + 0x5d4]
dec ebx
cmp esi, ecx
jne 0x45027f
jmp 0x4501da
cmp dword [0x518c54], ebp
jne 0x45023e
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
jne 0x45023e
push esi
call fcn.00470230
mov esi, dword [edi + 0x6ac]
add esp, 4
cmp esi, ebp
mov ecx, eax
je 0x45030f
shr eax, 4
xor edx, edx
div dword [edi + 0x6b0]
mov edx, dword [esi + edx*4]
cmp edx, ebp
je 0x45030f
cmp dword [edx + 8], ecx
je 0x45036a
mov edx, dword [edx]
cmp edx, ebp
jne 0x450304
cmp dword [0x515038], ebp
je 0x45023e
cmp dword [edi + 0x6f0], ebp
jne 0x45023e
mov esi, dword [edi + 0x710]
cmp esi, ebp
je 0x45023e
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [edi + 0x714]
mov edx, dword [esi + edx*4]
cmp edx, ebp
je 0x45023e
cmp dword [edx + 8], ecx
je 0x450424
mov edx, dword [edx]
cmp edx, ebp
jne 0x45034d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
cmp edx, ebp
je 0x45030f
mov ebp, dword [edx + 0xc]
mov eax, dword [edi + 0x5d0]
xor edx, edx
test eax, eax
je 0x45038f
mov ecx, eax
mov eax, dword [eax]
cmp dword [ecx + 8], ebp
je 0x45038d
inc edx
test eax, eax
jne 0x45037d
jmp 0x45038f
mov ebx, edx
push ebp
push 0x515170
call fcn.004ab717
mov esi, eax
add esp, 8
test esi, esi
je 0x4501e1
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0xa8]
test eax, eax
je 0x4503dd
mov esi, dword [esi + 0x88]
test esi, esi
je 0x4501e1
mov ecx, dword [esi + 0x1c]
push 0
push 0x24
push 0x100
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4501e1
test dword [ebp + 0xc], 0x40000
je 0x4503fe
push 0
mov ecx, edi
call fcn.0044ecf0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x190]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4501e1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
cmp edx, ebp
je 0x45023e
mov edx, dword [edx + 0xc]
mov ecx, edi
push edx
call fcn.0044ecf0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4