Function at 0x413d71
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x413f4a
cmp dword [esi + 0x60], 0
jne 0x413f4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
test eax, eax
je 0x413f4a
push str.PropChildState
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x413f4a
push dword [esi + 0x2c]
mov edi, dword [sym.imp.USER32.dll_IsWindowEnabled]
call edi
test eax, eax
je 0x413f4a
push dword [esi + 4]
call edi
test eax, eax
je 0x413f4a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov edi, eax
mov dword [ebp - 0x94], edi
test edi, edi
je 0x413ecd
cmp edi, dword [esi + 4]
je 0x413ecd
cmp edi, dword [esi + 0x2c]
je 0x413ecd
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x86]
push eax
call fcn.00596530
add esp, 0xc
push 0x40
lea eax, [ebp - 0x88]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.32770
lea eax, [ebp - 0x88]
push eax
call ebx
test eax, eax
je 0x413f4a
push 0x5de80c
lea eax, [ebp - 0x88]
push eax
call ebx
test eax, eax
je 0x413ecd
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x48000000
jne 0x413ecd
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x413ecd
and dword [ebp - 0xa4], 0
xor eax, eax
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa4]
cmp eax, 0x12c
jl 0x413ecd
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0xa0]
cmp eax, 0xc8
jge 0x413f4a
push str.PropChildFocus
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [ebp - 0x8c], eax
cmp eax, 4
je 0x413eef
test eax, eax
je 0x413eef
cmp eax, 5
jne 0x413f4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov edi, eax
test edi, edi
je 0x413f4a
push str.juzi:newtab
push edi
call ebx
test eax, eax
je 0x413f4a
push str.about:blank
push edi
call ebx
test eax, eax
je 0x413f4a
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x413f5a
cmp dword [ebp - 0x8c], 5
je 0x413f63
push eax
push 0xc8
push 0xfeeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0058f3cf
leave
ret
cmp dword [ebp - 0x8c], 5
jne 0x413f7d
lea edi, [esi + 0xa8]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x413f7d
mov eax, dword [edi]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x94]
cmp eax, dword [esi + 4]
je 0x413fea
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push dword [ebp - 0x94]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [ebp - 0x8c], eax
call edi
push dword [ebp - 0x90]
call dword [0x63d0f8]
push 0
push dword [ebp - 0x8c]
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
xor ebx, ebx
push ebx
push 1
push 0x86
push dword [esi + 0x2c]
call edi
push ebx
push ebx
push 0x5c28
push dword [esi + 4]
call edi
jmp 0x414004
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 0x90]
je 0x414004
push dword [ebp - 0x90]
call dword [0x63d0f8]
xor eax, eax
inc eax
jmp 0x413f4c