Function at 0x433520
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x64c00c]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [0x65cb1c]
mov dword [esp + 0x1c], 0
push edi
mov edi, ecx
mov dword [esp + 0x2c], edi
test esi, esi
je 0x433559
mov esi, dword [esi + 4]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x433569
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x43358f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x43358f
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43358f
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x20], 1
sub esp, 8
mov dword [edi + 0x42c], 0
mov ecx, edi
push esi
call fcn.00435ff0
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4335ca
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x65cb1c]
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x4335e6
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov dword [ecx + 4], eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [edi + 4]
and eax, 0x40000000
mov dword [esp + 0x18], eax
test esi, esi
jne 0x433754
test eax, eax
je 0x433739
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
mov edi, eax
lea eax, [esp + 0x50]
push eax
push edi
call esi
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x18]
call esi
push 2
lea eax, [esp + 0x34]
push eax
push edi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x30]
push 0x15
push 0xffffffffffffffff
cdq
sub eax, edx
push 0xffffffffffffffff
push ecx
mov ecx, eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [edi + 0x41c], 0
je 0x433807
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push 0
push 0x2001
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [esp + 0x1c]
push 0x43
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x4337df
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ecx
call esi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x14]
push 0
push eax
push dword [esp + 0x20]
call esi
jmp 0x4337e6
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x43376f
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
jne 0x433626
test esi, esi
je 0x4337a9
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x30000000
cmp eax, 0x10000000
je 0x4337a9
push 0
lea eax, [esp + 0x54]
push eax
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x30
call eax
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x30], xmm0
jmp 0x433660
push 0
lea eax, [esp + 0x54]
push eax
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x30
call eax
test esi, esi
jne 0x4337ce
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x30], xmm0
jmp 0x433660
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x433660
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x433807
push 0
push 0
push 0xf
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
push 0x97
push 0
push 0
push 0
push 0
push 0
push dword [edi + 4]
mov dword [edi + 0x42c], 0
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x20], 0
je 0x433861
mov esi, dword [esp + 0x24]
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x433861
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 4]
jne 0x433861
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x65cb1c]
test eax, eax
je 0x433871
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x430]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 8