Function at 0x41f3e0
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 0x41f51d
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 0x41f51d
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 0x41f51d
mov edx, dword [esp + 0x24]
cmp edx, 0x463
je 0x41f51d
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 [0x4edee0], 1
jne 0x41f4e0
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 0x41f511
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push edx
push 0x43f
push eax
call ebp
test eax, eax
je 0x41f513
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 [0x4edee0], 0
cmp dword [ebx + 4], 0x100
jne 0x41f7b3
mov edi, dword [esi + 0xec]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
mov eax, dword [ebx + 8]
jne 0x41f690
cmp eax, 0xd
jne 0x41f633
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x41f7b3
mov edx, dword [ebx + 0xc]
push edx
call fcn.004b4c30
add esp, 4
cmp al, 1
jne 0x41f7b3
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 0x41f5c8
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.004ad550
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.0041a970
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.004acdf0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
cmp eax, 0x1b
jne 0x41f7b3
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x41f7b3
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 0x41f7b3
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x41f7b3
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41f7b3
mov edi, dword [esi + 0xec]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x41f797
mov edx, dword [ebx + 0xc]
push edx
call fcn.004b4c30
add esp, 4
cmp al, 1
jne 0x41f797
mov edi, dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetFocus]
test edi, edi
mov dword [esi + 0x34], eax
je 0x41f6f1
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 0x41f71b
add eax, 4
jmp 0x41f71d
xor eax, eax
push eax
lea ecx, [edi + 4]
call fcn.00402130
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [edi], 0x4d3914
call fcn.0041c7f0
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.004014c0
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 0x41f867
mov eax, dword [ebx + 4]
cmp eax, 0x200
je 0x41f867
cmp eax, 0x100
jne 0x41f867
lea eax, [esi + 0x2c]
test eax, eax
je 0x41f7e3
lea eax, [esi + 0x30]
jmp 0x41f7e5
xor eax, eax
mov edi, dword [eax]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x41f867
mov eax, dword [ebx + 8]
cmp eax, 0xd
jne 0x41f838
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x41f867
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.004b4c30
add esp, 4
cmp al, 1
jne 0x41f867
push 0
push 0x6f
push 0x111
lea ecx, [esi + 4]
call fcn.0040d6c0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x844
ret 4
cmp eax, 0x1b
jne 0x41f867
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x41f867
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