Function at 0x5f46c445
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
call sym.MFC42.DLL_Ordinal_3797
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
mov ebx, eax
push 0x20
mov dword [ebp - 8], ebx
call esi
cmp dword [0x5f4d224c], 0
mov dword [ebp - 0x18], eax
je 0x5f46c553
mov ecx, edi
call sym.MFC42.DLL_Ordinal_2379
cmp dword [0x5f4d2244], 0
push 2
mov esi, eax
pop edi
je 0x5f46c4bd
test byte [ebp - 3], 0x10
je 0x5f46c4bd
cmp esi, 3
jne 0x5f46c4ad
mov esi, edi
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x5f46c569
cmp esi, 0xa
jb 0x5f46c4c7
cmp esi, 0x11
jbe 0x5f46c4cc
cmp esi, 4
jne 0x5f46c50a
test byte [ebp - 3], 8
je 0x5f46c4db
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp - 0x18]
neg ebx
neg eax
push ebx
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test byte [ebp - 3], 2
je 0x5f46c50a
mov eax, esi
sub eax, 4
je 0x5f46c542
sub eax, 9
je 0x5f46c532
dec eax
je 0x5f46c522
sub eax, edi
je 0x5f46c50e
dec eax
je 0x5f46c542
mov eax, esi
jmp 0x5f46c4d4
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x1c]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x5f46c4d4
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x24]
setl al
add eax, 0xb
jmp 0x5f46c4d4
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x24]
setge al
dec eax
and eax, edi
jmp 0x5f46c51d
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x1c]
setle al
dec eax
and eax, 4
jmp 0x5f46c52d
push dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [ebp - 0x28]
push dword [ebp + 8]
push eax
call edi
test eax, eax
jne 0x5f46c570
xor eax, eax
jmp 0x5f46c4d4
push 6
call esi
mov ebx, eax
push 5
mov dword [ebp - 0x10], ebx
call esi
mov esi, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
push 0
call sym.MFC42.DLL_Ordinal_4797
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push dword [ebp + 8]
push eax
call edi
test eax, eax
je 0x5f46c5cb
push 1
pop eax
jmp 0x5f46c4d4
test dword [ebp - 4], 0x40600
je 0x5f46c70a
lea eax, [esi + esi*2]
mov esi, dword [ebp - 8]
mov ecx, eax
mov eax, dword [0x5f4d7380]
sub eax, ecx
lea ecx, [ebx + ebx]
add eax, dword [ebp - 0x18]
mov edx, ecx
mov ecx, esi
sub ecx, edx
mov edx, dword [ebp - 0x24]
add ecx, dword [0x5f4d7384]
add edx, esi
cmp dword [ebp + 0xc], edx
jge 0x5f46c63e
test byte [ebp - 3], 2
je 0x5f46c60e
push 0xc
pop eax
jmp 0x5f46c630
mov ecx, dword [ebp - 0x28]
add ecx, eax
cmp dword [ebp + 8], ecx
jg 0x5f46c61c
push 0xd
jmp 0x5f46c60b
mov ecx, dword [ebp - 0x20]
sub ecx, eax
xor eax, eax
cmp dword [ebp + 8], ecx
setl al
dec eax
and eax, 2
add eax, 0xc
test byte [ebp - 3], 8
je 0x5f46c4d4
push 2
jmp 0x5f46c5c5
mov edx, dword [ebp - 0x1c]
mov ebx, edx
sub ebx, esi
cmp dword [ebp + 0xc], ebx
jl 0x5f46c678
test byte [ebp - 3], 2
je 0x5f46c654
push 0xf
jmp 0x5f46c60b
mov ecx, dword [ebp - 0x28]
add ecx, eax
cmp dword [ebp + 8], ecx
jg 0x5f46c662
push 0x10
jmp 0x5f46c60b
mov ecx, dword [ebp - 0x20]
sub ecx, eax
xor eax, eax
cmp dword [ebp + 8], ecx
setl al
dec eax
and eax, 2
add eax, 0xf
jmp 0x5f46c630
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add esi, eax
cmp dword [ebp + 8], esi
jge 0x5f46c6b6
test byte [ebp - 3], 2
je 0x5f46c692
push 0xa
jmp 0x5f46c60b
mov eax, dword [ebp - 0x24]
add eax, ecx
cmp dword [ebp + 0xc], eax
jle 0x5f46c618
sub edx, ecx
xor eax, eax
cmp dword [ebp + 0xc], edx
setl al
dec eax
and eax, 6
add eax, 0xa
jmp 0x5f46c630
mov esi, dword [ebp - 0x20]
sub esi, eax
cmp dword [ebp + 8], esi
jl 0x5f46c6f4
test byte [ebp - 3], 2
je 0x5f46c6cd
push 0xb
jmp 0x5f46c60b
mov eax, dword [ebp - 0x24]
add eax, ecx
cmp dword [ebp + 0xc], eax
jg 0x5f46c6de
push 0xe
jmp 0x5f46c60b
sub edx, ecx
xor eax, eax
cmp dword [ebp + 0xc], edx
setl al
dec eax
and eax, 6
add eax, 0xb
jmp 0x5f46c630
mov ecx, dword [ebp - 8]
neg ecx
neg eax
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x5f4d7384]
push dword [ebp + 0xc]
add ebx, eax
lea eax, [ebp - 0x28]
push dword [ebp + 8]
add ebx, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x1c], ebx
call edi
test eax, eax
je 0x5f46c74d
mov eax, dword [0x5f4d7380]
mov ecx, dword [ebp - 0x28]
lea eax, [eax + ecx - 2]
cmp dword [ebp + 8], eax
jge 0x5f46c63a
test byte [ebp - 2], 8
je 0x5f46c63a
push 3
jmp 0x5f46c5c5
push 0xfffffffffffffffe
jmp 0x5f46c5c5