Function at 0x433a40
Capabilities:
Check for foreground window switch
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d3ce
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x28]
cmp esi, eax
je 0x433ae9
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.CabinetWClass
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x433adc
test dx, dx
je 0x433ad8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x433adc
add eax, 4
add ecx, 4
test dx, dx
jne 0x433ab6
xor eax, eax
jmp 0x433ae1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x433df7
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
test eax, 0x8000
je 0x433b15
push 0x54
call esi
test eax, 0x8000
je 0x433b15
mov ecx, dword [edi + 0xc0]
call fcn.004277e0
jmp 0x433df7
push 0x11
call esi
test eax, 0x8000
je 0x433b5c
push 0x57
call esi
test eax, 0x8000
je 0x433b5c
mov esi, dword [edi + 0xc0]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x433df7
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 4]
push 3
lea ecx, [eax + 0x78]
push ecx
mov ecx, eax
call fcn.004677b0
jmp 0x433df7
push 0x11
call esi
test eax, 0x8000
je 0x433b99
push 0x52
call esi
test eax, 0x8000
je 0x433b99
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x74
call esi
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
push 0
push 0x74
call esi
jmp 0x433df7
push 0x11
call esi
test eax, 0x8000
je 0x433bbf
push 0x42
call esi
test eax, 0x8000
je 0x433bbf
mov ecx, dword [edi + 0xc0]
call fcn.00427910
jmp 0x433df7
push 0x11
call esi
test eax, 0x8000
je 0x433c08
push 0x51
call esi
test eax, 0x8000
je 0x433c08
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
js 0x433df7
mov esi, dword [edi + 0x84]
mov ecx, edi
push 1
push eax
call fcn.00465fa0
mov dword [edi + 8], esi
jmp 0x433df7
push 0x11
call esi
test eax, 0x8000
je 0x433c67
push 9
call esi
test eax, 0x8000
je 0x433c67
push 0x10
call esi
test eax, 0x8000
je 0x433c67
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
je 0x433df7
sub ecx, eax
mov eax, dword [esi + 0x84]
sar ecx, 2
dec eax
add eax, ecx
cdq
idiv ecx
push 1
push edx
mov ecx, esi
call fcn.00465fa0
jmp 0x433df7
push 0x11
call esi
test eax, 0x8000
je 0x433cbb
push 9
call esi
test eax, 0x8000
je 0x433cbb
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
je 0x433df7
sub ecx, eax
mov eax, dword [esi + 0x84]
sar ecx, 2
inc eax
add eax, ecx
cdq
idiv ecx
push 1
push edx
mov ecx, esi
call fcn.00465fa0
jmp 0x433df7
push 0x11
call esi
test eax, 0x8000
je 0x433ddf
push 0x77
call esi
test eax, 0x8000
je 0x433ddf
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x1c
mov dword [ebp - 4], eax
call fcn.00550175
mov esi, eax
add esp, 4
mov dword [ebp - 0x234], esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00405a50
mov dword [esi + 0x18], 0x441de0
mov dword [ebp - 0x234], esi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.0042f180
mov dword [ebp - 0x250], 0x5cc7a8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x240], esi
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x250]
call fcn.0042f230
mov esi, dword [ebp - 0x240]
test esi, esi
je 0x433d85
mov ecx, esi
call fcn.00405c10
push 0x1c
push esi
call fcn.0055053d
add esp, 8
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x248]
mov edi, dword [ebp - 0x24c]
push esi
call fcn.0054e5bc
add esp, 4
test eax, eax
je 0x433dab
push eax
call fcn.0054e1d5
add esp, 4
push esi
call fcn.0054e500
push edi
call fcn.0054e0cf
add esp, 8
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.0042f2b0
cmp dword [ebp - 0x238], 0
jne 0x433e14
lea ecx, [ebp - 0x230]
call fcn.00405c10
jmp 0x433df7
push 0x20
call esi
test eax, 0x8000
je 0x433df7
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov byte [0x61f290], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 4
call fcn.0057257e
int3