Function at 0x547270
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 + 0x5a0]
cmp eax, ebp
jge 0x547295
xor ecx, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
jmp 0x5472be
push eax
lea ecx, [edi + 0x5ac]
call fcn.00592dba
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x5472b1
mov ecx, eax
mov dword [esp + 0x18], ebp
jmp 0x5472be
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 + 0x5a0]
lea eax, [esi - 0xd]
cmp eax, 0x1b
ja case.0x5472dc.18
xor edx, edx
mov dl, byte [eax + 0x547650]
jmp dword [edx*4 + 0x547638]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 1
push eax
push 0x635698
call fcn.00598737
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x54742e
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0xa8]
test eax, eax
jne 0x54742e
mov eax, dword [edi + 0x20]
cmp eax, ebp
jne 0x54732b
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005939c0
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 + 0x5b8]
mov dword [esp + 0x14], 1
cmp eax, ebp
je 0x54742e
cmp ecx, ebp
je 0x547385
mov esi, dword [ecx]
cmp esi, ebp
jne 0x54738f
mov esi, dword [edi + 0x5b0]
xor ebx, ebx
jmp 0x547390
inc ebx
cmp esi, ecx
je 0x54742e
mov eax, esi
mov ebp, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test byte [eax + 0xc], 1
jne 0x5473b9
add eax, 0x30
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x5473ca
mov ecx, dword [esp + 0x10]
inc ebx
test esi, esi
jne 0x5473c6
mov esi, dword [edi + 0x5b0]
xor ebx, ebx
cmp esi, ecx
jne 0x547398
test ebp, ebp
je 0x54742e
mov ebp, dword [ebp + 8]
mov eax, dword [esp + 0x18]
cmp ebp, eax
je 0x54742e
mov ecx, dword [0x64b1fc]
test ecx, ecx
je 0x5473e9
mov dword [edi + 0x5a4], ebx
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [edi + 0x5a0], ebx
test eax, eax
je 0x547405
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 0x54742e
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 + 0x5b8]
mov dword [esp + 0x14], 1
cmp eax, ebp
je 0x54742e
cmp ecx, ebp
je 0x54745f
mov esi, dword [ecx + 4]
cmp esi, ebp
jne 0x54746a
mov esi, dword [edi + 0x5b4]
lea ebx, [eax - 1]
jmp 0x54746b
dec ebx
cmp esi, ecx
je 0x54742e
mov eax, esi
mov ebp, esi
mov esi, dword [esi + 4]
mov eax, dword [eax + 8]
test byte [eax + 0xc], 1
jne 0x547495
add eax, 0x30
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x5473ca
mov ecx, dword [esp + 0x10]
dec ebx
test esi, esi
jne 0x5474a7
mov ebx, dword [edi + 0x5b8]
mov esi, dword [edi + 0x5b4]
dec ebx
cmp esi, ecx
jne 0x54746f
jmp 0x5473ca
cmp dword [0x64b1fc], ebp
jne 0x54742e
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
jne 0x54742e
push esi
call fcn.005073d0
mov esi, dword [edi + 0x68c]
add esp, 4
cmp esi, ebp
mov ecx, eax
je 0x5474ff
shr eax, 4
xor edx, edx
div dword [edi + 0x690]
mov edx, dword [esi + edx*4]
cmp edx, ebp
je 0x5474ff
cmp dword [edx + 8], ecx
je 0x54755a
mov edx, dword [edx]
cmp edx, ebp
jne 0x5474f4
cmp dword [0x635198], ebp
je 0x54742e
cmp dword [edi + 0x6d0], ebp
jne 0x54742e
mov esi, dword [edi + 0x6f0]
cmp esi, ebp
je 0x54742e
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [edi + 0x6f4]
mov edx, dword [esi + edx*4]
cmp edx, ebp
je 0x54742e
cmp dword [edx + 8], ecx
je 0x547614
mov edx, dword [edx]
cmp edx, ebp
jne 0x54753d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
cmp edx, ebp
je 0x5474ff
mov ebp, dword [edx + 0xc]
mov eax, dword [edi + 0x5b0]
xor edx, edx
test eax, eax
je 0x54757f
mov ecx, eax
mov eax, dword [eax]
cmp dword [ecx + 8], ebp
je 0x54757d
inc edx
test eax, eax
jne 0x54756d
jmp 0x54757f
mov ebx, edx
push ebp
push 0x635698
call fcn.00598737
mov esi, eax
add esp, 8
test esi, esi
je 0x5473d1
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0xa8]
test eax, eax
je 0x5475cd
mov esi, dword [esi + 0x88]
test esi, esi
je 0x5473d1
mov ecx, dword [esi + 0x1c]
push 0
push 0x24
push 0x100
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x5473d1
test dword [ebp + 0xc], 0x40000
je 0x5475ee
push 0
mov ecx, edi
call fcn.00545ed0
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 0x5473d1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
cmp edx, ebp
je 0x54742e
mov edx, dword [edx + 0xc]
mov ecx, edi
push edx
call fcn.00545ed0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4