Function at 0x435cd0
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x44
push ebx
xor eax, eax
cmp dword [0x5ab1a8], eax
push esi
mov esi, ecx
mov ebx, dword [esi + 0xc8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
jne 0x43603f
push ebp
mov ebp, dword [esp + 0x58]
push edi
mov edi, ebp
imul edi, edi, 0x2a
mov eax, dword [edi + ebx + 0xe]
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + ebx + 0x1a]
mov dword [esp + 0x20], ecx
mov ecx, esi
call fcn.004335d0
test ebp, ebp
mov dword [esi + 0x142], ebp
jl 0x435d57
cmp dword [esi + 0x146], ebp
je 0x435d42
mov edx, dword [esi + 0xc8]
mov ecx, dword [esi + 0x10]
push 0
lea eax, [edi + edx + 0xe]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x58]
mov ebp, dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebp
mov ecx, dword [esi + 0xb8]
mov eax, dword [esi + 0x142]
mov edx, dword [esi]
mov dword [esi + 0xb0], eax
mov eax, dword [edx + 0x138]
mov dword [esi + 0x1a6], ecx
push 0
mov ecx, esi
mov dword [esi + 0xb8], 1
call eax
mov ecx, dword [esi + 0xc8]
mov edx, dword [edi + ecx + 0xa]
lea eax, [edi + ecx + 0xa]
mov dword [esi + 0xe0], edx
mov eax, dword [eax]
lea ecx, [esi + 0xa8]
push ecx
mov dword [esi + 0x15a], eax
mov dword [esi + 0x14a], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004977c0
push eax
push 0x435920
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esp + 0x24], 0x14
mov edx, dword [edi + ebx + 0x1a]
mov ecx, dword [edi + ebx + 0x12]
mov dword [0x5ab1a0], eax
mov eax, dword [edi + ebx + 0x16]
add edx, 2
push edx
mov edx, dword [edi + ebx + 0xe]
add eax, 2
push eax
sub ecx, 2
push ecx
sub edx, 2
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [esp + 0x58]
lea ecx, [esp + 0x28]
push ecx
push ebx
call ebp
lea edx, [esp + 0x30]
push edx
push ebx
call ebp
mov ebp, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x101a
mov dword [0x5ab1a8], 1
call ebp
cmp dword [esp + 0x10], 0
jle 0x435e66
push 0
push 0
push 0
push 0x101b
call ebp
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x1024
call ebp
cmp dword [esp + 0x14], 0
jbe 0x435e8a
push 0
push 0
push 0
push 0x1025
call ebp
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0x1014
call ebp
cmp dword [esp + 0x18], 0
jle 0x435eae
push 0
push 0
push 0
push 0x1015
call ebp
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esi + 0x16a]
mov eax, dword [esi + 0xc8]
mov eax, dword [edi + eax + 0xa]
mov dword [0x5ab1ac], esi
jne 0x435eda
mov ecx, esi
call fcn.0048c110
push eax
call fcn.004985d0
add esp, 4
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push 0x140
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov edi, eax
test edi, edi
jne 0x435f07
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x435f29
mov ecx, esi
call fcn.0048c110
movzx edx, di
push 0
push edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
push 0x111
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
cmp dword [esp + 0x10], edi
mov dword [0x5ab1ac], edi
je 0x435f45
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x101b
call ebp
cmp dword [esp + 0x14], edi
jbe 0x435f59
push edi
lea edx, [esp + 0x18]
push edx
push edi
push 0x1025
call ebp
cmp dword [esp + 0x18], edi
jle 0x435f6d
push edi
lea eax, [esp + 0x1c]
push eax
push edi
push 0x1015
call ebp
mov eax, dword [0x5ab1a0]
cmp eax, edi
je 0x435f7d
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push 1
push 0x201
push 0x201
push ebx
lea ecx, [esp + 0x48]
push ecx
mov dword [0x5ab1a0], edi
mov dword [esi + 0x15a], edi
mov dword [0x5ab1a8], edi
mov dword [esi + 0x162], edi
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [esi + 0xb8], 1
jne 0x435fcf
mov edx, dword [esi + 0x1a6]
mov eax, dword [esi]
mov dword [esi + 0xb8], edx
mov edx, dword [eax + 0x138]
push edi
mov ecx, esi
call edx
cmp dword [esi + 0x14a], edi
jne 0x435ffd
cmp dword [esi + 0xb0], edi
jl 0x435ffd
mov eax, dword [esi]
mov edx, dword [eax + 0x138]
or ebp, 0xffffffff
push edi
mov ecx, esi
mov dword [esi + 0x146], ebp
mov dword [esi + 0x142], ebp
call edx
jmp 0x436000
or ebp, 0xffffffff
mov edi, dword [esi + 0xb4]
test edi, edi
mov dword [esi + 0xb0], ebp
jl 0x43603d
push 1
push 0x200
push 0x200
push ebx
lea eax, [esp + 0x48]
push eax
mov dword [esi + 0xb4], ebp
call dword [sym.imp.USER32.dll_PeekMessageW]
push 0
push edi
push 0x4c9
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x44
ret 8