Function at 0x433d50
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, ecx
push edi
mov edi, dword [0x65cb1c]
mov dword [ebp - 0x44], 0
test edi, edi
je 0x433d86
mov edi, dword [edi + 4]
mov dword [ebp - 0x3c], edi
test edi, edi
jne 0x433d95
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x433db6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x433db6
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x433db6
push 0
push edi
call esi
mov dword [ebp - 0x44], 1
sub esp, 8
mov dword [ebx + 0x42c], 0
mov ecx, ebx
push edi
call fcn.00436530
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x433dec
push 1
push edi
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x65cb1c]
mov dword [ebp - 0x48], 0
test ecx, ecx
je 0x433e06
mov edx, dword [ecx + 4]
mov dword [ebp - 0x48], edx
mov dword [ecx + 4], eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx + 4]
and eax, 0x40000000
mov dword [ebp - 0x4c], eax
test edi, edi
jne 0x433f5a
test eax, eax
je 0x433f40
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
mov edi, eax
lea eax, [ebp - 0x34]
push eax
push edi
call esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x38]
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
push 0x15
push 0xffffffffffffffff
cdq
sub eax, edx
push 0xffffffffffffffff
push ecx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebx + 0x41c], 0
je 0x434005
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push 0
push 0x2001
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [ebp - 0x40]
push 0x43
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
je 0x433fdd
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ecx
call esi
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x3c]
push 0
push eax
push dword [ebp - 0x38]
call esi
jmp 0x433fe4
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x433f74
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x4c], 0
mov esi, edi
mov dword [ebp - 0x38], esi
jne 0x433e43
test esi, esi
je 0x433fab
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x30000000
cmp eax, 0x10000000
je 0x433fab
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x30
call eax
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x14], xmm0
jmp 0x433e77
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x30
call eax
test esi, esi
jne 0x433fcd
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x14], xmm0
jmp 0x433e77
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x433e77
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x434005
push 0
push 0
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
mov dword [ebx + 0x42c], 0
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 0x44], 0
je 0x43405a
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x43405a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43405a
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x65cb1c]
test eax, eax
je 0x434069
mov ecx, dword [ebp - 0x48]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x430]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 8