Function at 0x53bb80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
mov eax, dword [0x5bfdbc]
test eax, eax
push edi
mov edi, edx
mov dword [esp + 4], ecx
je 0x53bcd2
push ebx
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
push esi
mov esi, dword [0x5f92e4]
movzx eax, cx
mov edx, ecx
shr edx, 0x10
test esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
je 0x53bc2a
lea esp, [esp]
lea ecx, [esi + 0xa4c]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0xc]
inc eax
add ecx, 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0xa5c]
test eax, eax
je 0x53bc20
mov ecx, dword [esp + 0x10]
push edx
push ecx
lea edx, [esp + 0x20]
push edx
call ebx
test eax, eax
je 0x53bc1c
cmp edi, 0x201
je 0x53bcd7
cmp edi, 0x205
je 0x53bde1
mov edx, dword [esp + 0x14]
mov esi, dword [esi + 0xe08]
test esi, esi
jne 0x53bbc0
cmp edi, 0x205
jne 0x53bcd0
mov ecx, dword [0x5f6bf8]
lea edx, [esp + 0x10]
push edx
mov edx, dword [0x5bfdd8]
call fcn.004769c0
test eax, eax
jne 0x53bcc2
mov esi, dword [0x5f92e4]
test esi, esi
je 0x53bcc2
mov edi, 0x270f
nop
mov eax, dword [esi + 0xa5c]
test eax, eax
je 0x53bcb8
lea eax, [esi + 0xa4c]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], edi
call ebx
test eax, eax
je 0x53bcb8
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0xa54]
jl 0x53bcd0
mov esi, dword [esi + 0xe08]
test esi, esi
jne 0x53bc60
mov ecx, dword [esp + 0xc]
mov edx, 1
call fcn.004e6a40
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ah, ah
jns 0x53bcf3
mov ecx, esi
call fcn.0053bb20
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
mov eax, dword [0x5f92f8]
test eax, eax
push 0x10
je 0x53bd8e
call edi
test ah, ah
jns 0x53bd24
mov eax, dword [esi]
push 0
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
push 0x11
call edi
test ah, ah
jns 0x53bd59
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x53bcd0
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x53bcd0
mov ecx, dword [esi]
mov edx, 1
call fcn.0049a770
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
mov eax, dword [esi]
cmp eax, dword [0x5f92f8]
jne 0x53bdd1
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x53bdd1
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x53bdd1
mov ecx, dword [esi]
mov edx, 1
call fcn.0049a770
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
call edi
test ah, ah
jns 0x53bdb0
mov ecx, dword [esi]
push 0
push 0xf060
push 0x112
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
push 0x11
call edi
test ah, ah
jns 0x53bdd1
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x53bcd0
mov eax, dword [esi]
push eax
jmp 0x53bd3c
mov ecx, dword [esi]
xor edx, edx
call fcn.0049a4f0
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
test edi, edi
jne 0x53be00
xor ecx, ecx
call fcn.0041f0a0
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
mov eax, dword [0x5f6bf8]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x5f6bf8]
lea edx, [esp + 0x14]
mov dword [0x5f6c00], 1
call fcn.004f0a60
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push edx
push 0
push eax
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
jne 0x53be54
xor ecx, ecx
call fcn.0041f0a0
pop esi
pop ebx
mov dword [0x5f6c00], 0
pop edi
add esp, 0x1c
ret