Function at 0x5f46964c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0x94]
call sym.MFC42D.DLL_Ordinal_3065
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_454
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x94]
call sym.MFC42D.DLL_Ordinal_3170
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea ecx, [ebp - 0x54]
call sym.MFC42D.DLL_Ordinal_470
cmp dword [0x5f4cfcf4], 0
je 0x5f4697e3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x94]
call sym.MFC42D.DLL_Ordinal_3918
mov dword [ebp - 0x6c], eax
cmp dword [0x5f4cfcec], 0
je 0x5f4696f5
mov eax, dword [ebp - 0x68]
and eax, 0x1000
test eax, eax
je 0x5f4696f5
cmp dword [ebp - 0x6c], 3
jne 0x5f4696df
mov dword [ebp - 0x6c], 2
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x5f4696f5
xor eax, eax
jmp 0x5f469ad1
cmp dword [ebp - 0x6c], 0xa
jb 0x5f469701
cmp dword [ebp - 0x6c], 0x11
jbe 0x5f46970f
cmp dword [ebp - 0x6c], 4
je 0x5f46970f
mov eax, dword [ebp - 0x6c]
jmp 0x5f469ad1
mov edx, dword [ebp - 0x68]
and edx, 0x800
test edx, edx
je 0x5f469726
mov eax, 2
jmp 0x5f469ad1
mov eax, dword [ebp - 0x50]
neg eax
push eax
mov ecx, dword [ebp - 0x54]
neg ecx
push ecx
lea ecx, [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_3226
mov edx, dword [ebp - 0x68]
and edx, 0x200
test edx, edx
je case.0x5f46977a.4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
sub ecx, 4
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0xd
ja case.0x5f46977a.4
mov eax, dword [ebp - 0x98]
xor edx, edx
mov dl, byte [eax + 0x5f469aeb]
jmp dword [edx*4 + 0x5f469ad7]
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0xc]
setge al
dec eax
and eax, 2
add eax, 0xa
jmp 0x5f469ad1
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp edx, dword [ebp - 0xc]
setl al
add eax, 0xb
jmp 0x5f469ad1
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, dword [ebp - 4]
setle cl
dec ecx
and ecx, 5
add ecx, 0xa
mov eax, ecx
jmp 0x5f469ad1
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp edx, dword [ebp - 4]
setle al
dec eax
and eax, 4
add eax, 0xb
jmp 0x5f469ad1
mov eax, dword [ebp - 0x6c]
jmp 0x5f469ad1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_4231
test eax, eax
jne 0x5f46980a
xor eax, eax
jmp 0x5f469ad1
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea ecx, [ebp - 0x18]
call sym.MFC42D.DLL_Ordinal_470
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x4c]
push edx
push 0
mov ecx, dword [ebp - 0x94]
call sym.MFC42D.DLL_Ordinal_3900
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_451
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_4231
test eax, eax
je 0x5f46988f
mov eax, 1
jmp 0x5f469ad1
mov edx, dword [ebp - 0x68]
and edx, 0x40600
test edx, edx
je 0x5f469a64
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x50]
add eax, dword [0x5f4cfacc]
mov ecx, dword [ebp - 0x14]
shl ecx, 1
sub eax, ecx
push eax
mov edx, dword [ebp - 0x54]
add edx, dword [0x5f4cfac8]
mov eax, dword [ebp - 0x18]
imul eax, eax, 3
sub edx, eax
push edx
lea ecx, [ebp - 0x74]
call sym.MFC42D.DLL_Ordinal_470
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x50]
cmp dword [ebp + 0xc], ecx
jge 0x5f469927
mov edx, dword [ebp - 0x68]
and edx, 0x200
test edx, edx
je 0x5f4698f3
mov dword [ebp - 0x78], 0xc
jmp 0x5f469922
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x74]
cmp dword [ebp + 8], eax
jg 0x5f469907
mov dword [ebp - 0x78], 0xd
jmp 0x5f469922
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x74]
cmp dword [ebp + 8], ecx
jl 0x5f46991b
mov dword [ebp - 0x78], 0xe
jmp 0x5f469922
mov dword [ebp - 0x78], 0xc
jmp 0x5f469a1d
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x50]
cmp dword [ebp + 0xc], edx
jl 0x5f46997b
mov eax, dword [ebp - 0x68]
and eax, 0x200
test eax, eax
je 0x5f469947
mov dword [ebp - 0x78], 0xf
jmp 0x5f469976
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x74]
cmp dword [ebp + 8], ecx
jg 0x5f46995b
mov dword [ebp - 0x78], 0x10
jmp 0x5f469976
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x74]
cmp dword [ebp + 8], edx
jl 0x5f46996f
mov dword [ebp - 0x78], 0x11
jmp 0x5f469976
mov dword [ebp - 0x78], 0xf
jmp 0x5f469a1d
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x54]
cmp dword [ebp + 8], eax
jge 0x5f4699cd
mov ecx, dword [ebp - 0x68]
and ecx, 0x200
test ecx, ecx
je 0x5f46999c
mov dword [ebp - 0x78], 0xa
jmp 0x5f4699cb
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x70]
cmp dword [ebp + 0xc], edx
jg 0x5f4699b0
mov dword [ebp - 0x78], 0xd
jmp 0x5f4699cb
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x70]
cmp dword [ebp + 0xc], eax
jl 0x5f4699c4
mov dword [ebp - 0x78], 0x10
jmp 0x5f4699cb
mov dword [ebp - 0x78], 0xa
jmp 0x5f469a1d
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x54]
cmp dword [ebp + 8], ecx
jl 0x5f469a1d
mov edx, dword [ebp - 0x68]
and edx, 0x200
test edx, edx
je 0x5f4699ee
mov dword [ebp - 0x78], 0xb
jmp 0x5f469a1d
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x70]
cmp dword [ebp + 0xc], eax
jg 0x5f469a02
mov dword [ebp - 0x78], 0xe
jmp 0x5f469a1d
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x70]
cmp dword [ebp + 0xc], ecx
jl 0x5f469a16
mov dword [ebp - 0x78], 0x11
jmp 0x5f469a1d
mov dword [ebp - 0x78], 0xb
cmp dword [ebp - 0x78], 0
je 0x5f469a50
mov edx, dword [ebp - 0x68]
and edx, 0x800
test edx, edx
je 0x5f469a3c
mov dword [ebp - 0x9c], 2
jmp 0x5f469a45
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
jmp 0x5f469ad1
mov ecx, dword [ebp - 0x50]
neg ecx
push ecx
mov edx, dword [ebp - 0x54]
neg edx
push edx
lea ecx, [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_3226
mov eax, dword [ebp - 0xc]
add eax, dword [0x5f4cfacc]
add eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_4231
test eax, eax
je 0x5f469acc
mov edx, dword [0x5f4cfac8]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx - 2]
cmp dword [ebp + 8], ecx
jge 0x5f469ac5
mov edx, dword [ebp - 0x68]
and edx, 0x80000
test edx, edx
je 0x5f469ac5
mov eax, 3
jmp 0x5f469ad1
mov eax, 2
jmp 0x5f469ad1
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret 8