Function at 0x435ee0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd3e0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
push dword [esi + 8]
push 0x52dfe0
push dword [esi + 0x18]
call fcn.00405ec0
mov dword [ebp - 4], 0
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp byte [esi + 0xd], 0
jne 0x4360fc
cmp byte [esi + 0x14], 0
je 0x435f7f
mov eax, dword [0x558f6c]
test eax, eax
jne 0x435f84
push eax
call ebx
push 0
push eax
push 0x435d90
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
mov dword [0x558f6c], eax
test eax, eax
setne cl
push ecx
push str.setKeyboardFilterHook_result___d
push dword [esi + 0x18]
call fcn.00405ec0
add esp, 0xc
mov eax, dword [0x558f6c]
cmp byte [esi + 0x14], 0
jne 0x435fa4
test eax, eax
je 0x435fa4
push eax
call edi
mov ecx, dword [0x558f6c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x558f6c], ecx
cmp byte [esi + 0x15], 0
je 0x435fe3
mov eax, dword [0x558f70]
test eax, eax
jne 0x435fe8
push eax
call ebx
push 0
push eax
push 0x435dd0
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
mov dword [0x558f70], eax
test eax, eax
setne cl
push ecx
push str.setMouseFilterHook_result___d
push dword [esi + 0x18]
call fcn.00405ec0
add esp, 0xc
mov eax, dword [0x558f70]
cmp byte [esi + 0x15], 0
jne 0x436008
test eax, eax
je 0x436008
push eax
call edi
mov ecx, dword [0x558f70]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x558f70], ecx
cmp byte [esi + 0x16], 0
je 0x436047
mov eax, dword [0x558f74]
test eax, eax
jne 0x43604c
push eax
call ebx
push 0
push eax
push 0x435e10
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
mov dword [0x558f74], eax
test eax, eax
setne cl
push ecx
push str.setSoftKeyboardFilterHook_result___b
push dword [esi + 0x18]
call fcn.00405ec0
add esp, 0xc
mov eax, dword [0x558f74]
cmp byte [esi + 0x16], 0
jne 0x43606c
test eax, eax
je 0x43606c
push eax
call edi
mov ecx, dword [0x558f74]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x558f74], ecx
mov al, byte [esi + 0x17]
mov ecx, dword [0x558f78]
test al, al
je 0x4360ba
test ecx, ecx
jne 0x4360b6
push ecx
call ebx
push 0
push eax
push 0x435e60
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
mov dword [0x558f78], eax
test eax, eax
setne cl
push ecx
push str.setSoftMouseFilterHook_result___b
push dword [esi + 0x18]
call fcn.00405ec0
mov al, byte [esi + 0x17]
add esp, 0xc
mov ecx, dword [0x558f78]
test al, al
jne 0x4360d4
test ecx, ecx
je 0x4360d4
push ecx
call edi
mov ecx, dword [0x558f78]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x558f78], ecx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4361b4
call dword [sym.imp.USER32.dll_WaitMessage]
test eax, eax
jne 0x435f36
mov eax, dword [0x558f6c]
test eax, eax
je 0x43611b
push eax
call edi
mov ecx, dword [0x558f6c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x558f6c], ecx
mov eax, dword [0x558f70]
test eax, eax
je 0x43613a
push eax
call edi
mov ecx, dword [0x558f70]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x558f70], ecx
mov eax, dword [0x558f74]
test eax, eax
je 0x436159
push eax
call edi
mov ecx, dword [0x558f74]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x558f74], ecx
mov eax, dword [0x558f78]
test eax, eax
je 0x436178
push eax
call edi
mov ecx, dword [0x558f78]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x558f78], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x30], 0x12
je 0x4360fc
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x435f36