Function at 0x423720
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 0x42385d
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 0x42385d
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 0x42385d
mov edx, dword [esp + 0x24]
cmp edx, 0x463
je 0x42385d
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 [0x55f2a0], 1
jne 0x423820
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 0x423851
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push edx
push 0x43f
push eax
call ebp
test eax, eax
je 0x423853
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 [0x55f2a0], 0
cmp dword [ebx + 4], 0x100
jne 0x423af3
mov edi, dword [esi + 0xec]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
mov eax, dword [ebx + 8]
jne 0x4239d0
cmp eax, 0xd
jne 0x423973
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x423af3
mov edx, dword [ebx + 0xc]
push edx
call fcn.00519420
add esp, 4
cmp al, 1
jne 0x423af3
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 0x423908
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.00510fb0
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.0041eaf0
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.00510740
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
cmp eax, 0x1b
jne 0x423af3
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x423af3
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 0x423af3
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x423af3
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x423af3
mov edi, dword [esi + 0xec]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x423ad7
mov edx, dword [ebx + 0xc]
push edx
call fcn.00519420
add esp, 4
cmp al, 1
jne 0x423ad7
mov edi, dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetFocus]
test edi, edi
mov dword [esi + 0x34], eax
je 0x423a31
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 0x423a5b
add eax, 4
jmp 0x423a5d
xor eax, eax
push eax
lea ecx, [edi + 4]
call fcn.00406370
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [edi], 0x5419d8
call fcn.00420970
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 0x423ba7
mov eax, dword [ebx + 4]
cmp eax, 0x200
je 0x423ba7
cmp eax, 0x100
jne 0x423ba7
lea eax, [esi + 0x2c]
test eax, eax
je 0x423b23
lea eax, [esi + 0x30]
jmp 0x423b25
xor eax, eax
mov edi, dword [eax]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x423ba7
mov eax, dword [ebx + 8]
cmp eax, 0xd
jne 0x423b78
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x423ba7
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.00519420
add esp, 4
cmp al, 1
jne 0x423ba7
push 0
push 0x6f
push 0x111
lea ecx, [esi + 4]
call fcn.00411210
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
cmp eax, 0x1b
jne 0x423ba7
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x423ba7
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