Function at 0x423850
Capabilities:
Get graphical window text
Hide graphical window
Log keystrokes via polling

Disassembly:
sub esp, 0x844
push ebx
mov ebx, dword [esp + 0x84c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 4]
push esi
cmp eax, 0x208
push edi
mov esi, ecx
jne 0x42398d
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x10]
push edx
push 0
push 0x445
push eax
call ebp
test eax, eax
jl 0x42398d
xor ecx, ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x24], ecx
push edx
mov dword [esp + 0x2c], ecx
push eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x34], ecx
push 0x417
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], ecx
call ebp
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x42398d
mov edx, dword [esp + 0x24]
cmp edx, 0x463
je 0x42398d
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x38]
cmp edx, 0x6f
rep stosd dword es:[edi], eax
mov dword [esp + 0x34], 0x20
mov dword [esp + 0x38], 0x10
mov dword [0x55e1e8], 1
jne 0x423950
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [esi + 0xf4]
push eax
mov eax, dword [esi + 0xdc]
push edx
push 0x4e0
push eax
jmp 0x423981
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push edx
push 0x43f
push eax
call ebp
test eax, eax
je 0x423983
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 0xdc]
push eax
mov eax, dword [esp + 0x4c]
push eax
push 0x4e0
push ecx
call ebp
mov dword [0x55e1e8], 0
cmp dword [ebx + 4], 0x100
jne 0x423c23
mov edi, dword [esi + 0xec]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
mov eax, dword [ebx + 8]
jne 0x423b00
cmp eax, 0xd
jne 0x423aa3
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x423c23
mov edx, dword [ebx + 0xc]
push edx
call fcn.005187c0
add esp, 4
cmp al, 1
jne 0x423c23
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x56]
mov word [esp + 0x54], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0xec]
push 0x400
stosw word es:[edi], ax
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x423a38
mov edx, dword [esi + 4]
lea ecx, [esp + 0x54]
push edx
push ecx
push 0xd22
push eax
call ebp
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
lea edx, [esp + 0x54]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.005106b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, esi
mov edx, dword [eax]
push edx
call fcn.0041ec10
mov eax, dword [esi + 0xec]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x2c]
push 5
push ecx
call edi
mov edx, dword [esi + 4]
push 0x3e8
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x10]
call fcn.0050fe40
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
cmp eax, 0x1b
jne 0x423c23
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x423c23
mov eax, dword [esi + 0xec]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x2c]
push 5
push ecx
call edi
mov edx, dword [esi + 4]
push 0x3e8
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
cmp eax, 0x73
jne 0x423c23
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x423c23
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x423c23
mov edi, dword [esi + 0xec]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x423c07
mov edx, dword [ebx + 0xc]
push edx
call fcn.005187c0
add esp, 4
cmp al, 1
jne 0x423c07
mov edi, dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetFocus]
test edi, edi
mov dword [esi + 0x34], eax
je 0x423b61
mov dword [esi + 0x34], edi
mov eax, dword [esi + 0xec]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call edi
lea eax, [esi + 0x50]
sub esp, 8
test eax, eax
mov edi, esp
je 0x423b8b
add eax, 4
jmp 0x423b8d
xor eax, eax
push eax
lea ecx, [edi + 4]
call fcn.00406280
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [edi], 0x5409d8
call fcn.00420aa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xec]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0xec]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0xec]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, dword [esi + 4]
push 0
push 0x64
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 0xec]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esp + 0x10]
call fcn.00405700
mov dword [esi + 0x104], 0x73
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x423cd7
mov eax, dword [ebx + 4]
cmp eax, 0x200
je 0x423cd7
cmp eax, 0x100
jne 0x423cd7
lea eax, [esi + 0x2c]
test eax, eax
je 0x423c53
lea eax, [esi + 0x30]
jmp 0x423c55
xor eax, eax
mov edi, dword [eax]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x423cd7
mov eax, dword [ebx + 8]
cmp eax, 0xd
jne 0x423ca8
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x423cd7
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.005187c0
add esp, 4
cmp al, 1
jne 0x423cd7
push 0
push 0x6f
push 0x111
lea ecx, [esi + 4]
call fcn.004113c0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
cmp eax, 0x1b
jne 0x423cd7
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x423cd7
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x844
ret 4